Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-16 23:59:03.500099
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01082025
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
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15082025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16082025
  port_id : 26035038
  datou_current_id : 3548703
in upload_from_sqlite, uploading in 26035038
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250718 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250719 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250720 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250721 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250722 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250723 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250724 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250725 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250726 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250727 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250728 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250729 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250730 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250731 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250801 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250802 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250803 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250804 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250805 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250806 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250808 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250809 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250810 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250812 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250813 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250814 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250815 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250816 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/16082025/23/59/image_16082025_23_59_34_9639.jpg', 2), ('/home/nano/Desktop/images/16082025/23/59/image_16082025_23_59_25_10655.jpg', 2), ('/home/nano/Desktop/images/16082025/23/59/image_16082025_23_59_14_9664.jpg', 2), ('/home/nano/Desktop/images/16082025/23/58/image_16082025_23_59_04_10658.jpg', 2), ('/home/nano/Desktop/images/16082025/23/58/image_16082025_23_58_54_9637.jpg', 2), ('/home/nano/Desktop/images/16082025/23/58/image_16082025_23_58_44_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/16082025/23/59/image_16082025_23_59_34_9639.jpg', '/home/nano/Desktop/images/16082025/23/59/image_16082025_23_59_25_10655.jpg', '/home/nano/Desktop/images/16082025/23/59/image_16082025_23_59_14_9664.jpg', '/home/nano/Desktop/images/16082025/23/58/image_16082025_23_59_04_10658.jpg', '/home/nano/Desktop/images/16082025/23/58/image_16082025_23_58_54_9637.jpg', '/home/nano/Desktop/images/16082025/23/58/image_16082025_23_58_44_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3548703&datou=0
/home/nano/Desktop/images/16082025/23/59/image_16082025_23_59_34_9639.jpg
/home/nano/Desktop/images/16082025/23/59/image_16082025_23_59_25_10655.jpg
/home/nano/Desktop/images/16082025/23/59/image_16082025_23_59_14_9664.jpg
/home/nano/Desktop/images/16082025/23/58/image_16082025_23_59_04_10658.jpg
/home/nano/Desktop/images/16082025/23/58/image_16082025_23_58_54_9637.jpg
/home/nano/Desktop/images/16082025/23/58/image_16082025_23_58_44_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
'int' object is not iterable
time to upload: 131.47195959091187 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3548703&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b19fda0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 00:01:16.923500
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/00/01/image_17082025_00_01_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/00/01/image_17082025_00_01_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/00/01/image_17082025_00_01_24_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/00/00/image_17082025_00_01_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/00/00/image_17082025_00_00_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/00/00/image_17082025_00_00_44_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7c1a5518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c1a5518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c1a5518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:11:32.627642
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/06/11/image_17082025_06_11_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/06/11/image_17082025_06_11_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/06/10/image_17082025_06_11_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/06/10/image_17082025_06_10_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/06/10/image_17082025_06_10_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/06/10/image_17082025_06_10_14_10661.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9bdf8518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9bdf8518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9bdf8518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:13:46.895938
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/06/13/image_17082025_06_13_44_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/06/13/image_17082025_06_13_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/06/13/image_17082025_06_13_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/06/12/image_17082025_06_13_04_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/06/12/image_17082025_06_12_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/06/12/image_17082025_06_12_34_10645.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fab398550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab398550>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab398550>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:16:02.671653
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/06/15/image_17082025_06_15_44_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/06/15/image_17082025_06_15_34_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/06/15/image_17082025_06_15_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/06/14/image_17082025_06_14_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/06/14/image_17082025_06_14_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/06/14/image_17082025_06_14_34_10647.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7f1e2518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f1e2518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f1e2518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:18:17.449985
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/06/18/image_17082025_06_18_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/06/17/image_17082025_06_17_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/06/17/image_17082025_06_17_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/06/17/image_17082025_06_17_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/06/17/image_17082025_06_17_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/06/16/image_17082025_06_17_04_9667.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8ff6a518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ff6a518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ff6a518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:20:32.693750
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/06/20/image_17082025_06_20_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/06/20/image_17082025_06_20_24_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/06/19/image_17082025_06_19_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/06/19/image_17082025_06_19_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/06/19/image_17082025_06_19_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/06/19/image_17082025_06_19_14_9664.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f80f81518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80f81518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80f81518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:22:46.840581
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/06/22/image_17082025_06_22_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/06/22/image_17082025_06_22_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/06/22/image_17082025_06_22_24_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/06/22/image_17082025_06_22_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/06/21/image_17082025_06_22_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/06/21/image_17082025_06_21_44_10647.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8dca3518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8dca3518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8dca3518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:25:02.602124
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/06/24/image_17082025_06_24_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/06/24/image_17082025_06_24_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/06/24/image_17082025_06_24_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/06/23/image_17082025_06_24_04_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/06/23/image_17082025_06_23_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/06/23/image_17082025_06_23_44_9636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9352c518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9352c518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9352c518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:27:17.379709
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/06/27/image_17082025_06_27_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/06/27/image_17082025_06_27_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/06/27/image_17082025_06_27_24_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/06/27/image_17082025_06_27_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/06/26/image_17082025_06_27_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/06/26/image_17082025_06_26_54_10654.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb308c518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb308c518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb308c518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:29:32.590937
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/06/29/image_17082025_06_29_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/06/29/image_17082025_06_29_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/06/29/image_17082025_06_29_15_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/06/28/image_17082025_06_29_04_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/06/28/image_17082025_06_28_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/06/28/image_17082025_06_28_34_9636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f99691518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99691518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99691518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:31:46.792966
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/06/31/image_17082025_06_31_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/06/31/image_17082025_06_31_34_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/06/31/image_17082025_06_31_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/06/31/image_17082025_06_31_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/06/30/image_17082025_06_31_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/06/30/image_17082025_06_30_54_9654.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f874e0518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f874e0518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f874e0518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:34:02.713789
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/06/33/image_17082025_06_33_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/06/33/image_17082025_06_33_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/06/33/image_17082025_06_33_24_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/06/33/image_17082025_06_33_14_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/06/32/image_17082025_06_33_04_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/06/32/image_17082025_06_32_54_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f87bc9518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87bc9518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87bc9518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:36:17.311083
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/06/36/image_17082025_06_36_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/06/36/image_17082025_06_36_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/06/36/image_17082025_06_36_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/06/36/image_17082025_06_36_14_9669.jpg', 2), ('/home/nano/Desktop/images/17082025/06/35/image_17082025_06_36_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/06/35/image_17082025_06_35_54_10647.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb392c4a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb392c4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb392c4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:38:32.476757
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/06/38/image_17082025_06_38_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/06/38/image_17082025_06_38_24_10658.jpg', 2), ('/home/nano/Desktop/images/17082025/06/37/image_17082025_06_38_04_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/06/37/image_17082025_06_37_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/06/37/image_17082025_06_37_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/06/37/image_17082025_06_37_14_9657.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa5de7518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5de7518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5de7518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:40:46.751208
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/06/40/image_17082025_06_40_54_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/06/40/image_17082025_06_40_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/06/40/image_17082025_06_40_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/06/40/image_17082025_06_40_14_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/06/39/image_17082025_06_39_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/06/39/image_17082025_06_39_24_9644.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faf6d4518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf6d4518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf6d4518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:43:02.616859
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/06/42/image_17082025_06_42_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/06/42/image_17082025_06_42_14_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/06/41/image_17082025_06_42_04_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/06/41/image_17082025_06_41_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/06/41/image_17082025_06_41_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/06/41/image_17082025_06_41_24_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faae414a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faae414a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faae414a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:45:17.331193
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/06/45/image_17082025_06_45_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/06/45/image_17082025_06_45_14_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/06/44/image_17082025_06_45_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/06/44/image_17082025_06_44_54_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/06/44/image_17082025_06_44_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/06/44/image_17082025_06_44_34_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa700e518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa700e518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa700e518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:47:32.497439
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/06/47/image_17082025_06_47_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/06/47/image_17082025_06_47_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/06/47/image_17082025_06_47_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/06/47/image_17082025_06_47_15_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/06/46/image_17082025_06_47_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/06/46/image_17082025_06_46_54_10646.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb6003518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb6003518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb6003518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:49:47.801011
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/06/49/image_17082025_06_49_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/06/49/image_17082025_06_49_35_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/06/49/image_17082025_06_49_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/06/48/image_17082025_06_48_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/06/48/image_17082025_06_48_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/06/48/image_17082025_06_48_34_9636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f95e174a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95e174a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95e174a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:52:02.477486
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/06/51/image_17082025_06_51_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/06/51/image_17082025_06_51_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/06/51/image_17082025_06_51_24_9634.jpg', 2), ('/home/nano/Desktop/images/17082025/06/51/image_17082025_06_51_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/06/50/image_17082025_06_51_04_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/06/50/image_17082025_06_50_54_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f881ba518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f881ba518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f881ba518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:54:17.450828
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/06/54/image_17082025_06_54_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/06/54/image_17082025_06_54_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/06/54/image_17082025_06_54_24_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/06/54/image_17082025_06_54_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/06/53/image_17082025_06_54_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/06/53/image_17082025_06_53_54_10648.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa507d518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa507d518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa507d518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:56:32.601481
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 06:58:02.186393
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/06/57/image_17082025_06_57_44_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/06/56/image_17082025_06_57_04_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/06/56/image_17082025_06_56_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/06/56/image_17082025_06_56_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/06/56/image_17082025_06_56_15_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/06/55/image_17082025_06_56_04_9640.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f921d3518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f921d3518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f921d3518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:00:17.111734
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/00/image_17082025_07_00_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/07/00/image_17082025_07_00_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/07/00/image_17082025_07_00_24_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/06/59/image_17082025_07_00_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/06/59/image_17082025_06_59_54_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/06/59/image_17082025_06_59_44_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f95ed1518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95ed1518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95ed1518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:02:32.242675
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/02/image_17082025_07_02_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/07/02/image_17082025_07_02_34_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/07/02/image_17082025_07_02_24_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/07/02/image_17082025_07_02_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/07/01/image_17082025_07_02_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/07/01/image_17082025_07_01_54_10646.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb101e4a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb101e4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb101e4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:04:47.456449
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/04/image_17082025_07_04_45_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/07/04/image_17082025_07_04_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/07/04/image_17082025_07_04_24_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/07/03/image_17082025_07_04_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/07/03/image_17082025_07_03_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/07/03/image_17082025_07_03_34_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f93d0f518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93d0f518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93d0f518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:07:02.214966
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/06/image_17082025_07_06_24_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/07/06/image_17082025_07_06_14_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/07/05/image_17082025_07_05_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/07/05/image_17082025_07_05_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/07/05/image_17082025_07_05_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/07/05/image_17082025_07_05_24_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f86e974a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86e974a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86e974a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:09:16.971512
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/09/image_17082025_07_09_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/07/09/image_17082025_07_09_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/07/09/image_17082025_07_09_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/07/09/image_17082025_07_09_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/07/08/image_17082025_07_09_04_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/07/08/image_17082025_07_08_54_9636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f77bda4e0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77bda4e0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77bda4e0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:11:32.178557
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/11/image_17082025_07_11_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/07/11/image_17082025_07_11_34_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/07/11/image_17082025_07_11_24_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/07/10/image_17082025_07_11_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/07/10/image_17082025_07_10_55_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/07/10/image_17082025_07_10_44_9653.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faf42d518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf42d518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf42d518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:13:47.385163
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/13/image_17082025_07_13_45_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/07/13/image_17082025_07_13_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/07/12/image_17082025_07_12_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/07/12/image_17082025_07_12_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/07/12/image_17082025_07_12_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/07/12/image_17082025_07_12_24_10665.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f837914a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f837914a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f837914a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:16:03.070277
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/15/image_17082025_07_15_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/07/15/image_17082025_07_15_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/07/15/image_17082025_07_15_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/07/15/image_17082025_07_15_14_10688.jpg', 2), ('/home/nano/Desktop/images/17082025/07/14/image_17082025_07_14_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/07/14/image_17082025_07_14_34_9641.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faebde518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faebde518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faebde518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:18:16.912546
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/18/image_17082025_07_18_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/07/18/image_17082025_07_18_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/07/18/image_17082025_07_18_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/07/18/image_17082025_07_18_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/07/17/image_17082025_07_18_04_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/07/17/image_17082025_07_17_54_9636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa06b8518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa06b8518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa06b8518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:20:32.124821
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/20/image_17082025_07_20_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/07/20/image_17082025_07_20_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/07/20/image_17082025_07_20_25_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/07/20/image_17082025_07_20_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/07/19/image_17082025_07_20_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/07/19/image_17082025_07_19_34_10648.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f78229518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78229518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78229518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:22:47.362164
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/22/image_17082025_07_22_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/07/22/image_17082025_07_22_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/07/22/image_17082025_07_22_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/07/21/image_17082025_07_22_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/07/21/image_17082025_07_21_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/07/21/image_17082025_07_21_44_9636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f82ea0518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82ea0518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82ea0518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:25:03.230319
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/24/image_17082025_07_24_44_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/07/24/image_17082025_07_24_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/07/24/image_17082025_07_24_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/07/23/image_17082025_07_24_04_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/07/23/image_17082025_07_23_54_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/07/23/image_17082025_07_23_44_10650.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9973e518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9973e518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9973e518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:27:16.949258
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/27/image_17082025_07_27_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/07/27/image_17082025_07_27_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/07/27/image_17082025_07_27_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/07/26/image_17082025_07_27_04_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/07/26/image_17082025_07_26_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/07/26/image_17082025_07_26_44_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8c89d518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c89d518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c89d518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:29:32.238896
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/29/image_17082025_07_29_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/07/29/image_17082025_07_29_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/07/29/image_17082025_07_29_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/07/29/image_17082025_07_29_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/07/28/image_17082025_07_29_04_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/07/28/image_17082025_07_28_54_9654.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faaa99518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faaa99518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faaa99518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:31:47.385594
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/31/image_17082025_07_31_44_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/07/31/image_17082025_07_31_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/07/30/image_17082025_07_31_04_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/07/30/image_17082025_07_30_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/07/30/image_17082025_07_30_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/07/30/image_17082025_07_30_34_9635.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f95b17518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95b17518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95b17518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:34:03.491926
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/33/image_17082025_07_33_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/07/33/image_17082025_07_33_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/07/32/image_17082025_07_33_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/07/32/image_17082025_07_32_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/07/32/image_17082025_07_32_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/07/32/image_17082025_07_32_24_10652.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9b0ea550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b0ea550>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b0ea550>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:36:16.979309
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/36/image_17082025_07_36_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/07/36/image_17082025_07_36_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/07/36/image_17082025_07_36_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/07/35/image_17082025_07_36_04_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/07/35/image_17082025_07_35_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/07/35/image_17082025_07_35_44_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8d4bb518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d4bb518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d4bb518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:38:32.248818
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/38/image_17082025_07_38_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/07/38/image_17082025_07_38_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/07/38/image_17082025_07_38_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/07/38/image_17082025_07_38_14_9676.jpg', 2), ('/home/nano/Desktop/images/17082025/07/37/image_17082025_07_38_04_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/07/37/image_17082025_07_37_54_9636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb5c58518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5c58518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5c58518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:40:47.455522
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/40/image_17082025_07_40_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/07/40/image_17082025_07_40_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/07/40/image_17082025_07_40_24_10643.jpg', 2), ('/home/nano/Desktop/images/17082025/07/40/image_17082025_07_40_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/07/39/image_17082025_07_40_04_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/07/39/image_17082025_07_39_44_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb3f52518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3f52518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3f52518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:43:03.238287
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/42/image_17082025_07_42_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/07/42/image_17082025_07_42_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/07/42/image_17082025_07_42_24_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/07/42/image_17082025_07_42_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/07/41/image_17082025_07_42_04_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/07/41/image_17082025_07_41_54_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9ff92518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ff92518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ff92518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:45:17.013778
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/45/image_17082025_07_45_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/07/45/image_17082025_07_45_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/07/45/image_17082025_07_45_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/07/45/image_17082025_07_45_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/07/44/image_17082025_07_45_05_10655.jpg', 2), ('/home/nano/Desktop/images/17082025/07/44/image_17082025_07_44_54_9655.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fac47a518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac47a518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac47a518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:47:32.195242
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/47/image_17082025_07_47_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/07/47/image_17082025_07_47_34_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/07/47/image_17082025_07_47_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/07/47/image_17082025_07_47_14_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/07/46/image_17082025_07_47_04_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/07/46/image_17082025_07_46_54_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9cf36518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9cf36518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9cf36518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:49:47.398398
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/49/image_17082025_07_49_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/07/49/image_17082025_07_49_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/07/49/image_17082025_07_49_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/07/49/image_17082025_07_49_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/07/48/image_17082025_07_49_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/07/48/image_17082025_07_48_54_10649.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7a731518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a731518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a731518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:52:03.113787
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/51/image_17082025_07_51_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/07/51/image_17082025_07_51_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/07/51/image_17082025_07_51_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/07/51/image_17082025_07_51_14_10685.jpg', 2), ('/home/nano/Desktop/images/17082025/07/50/image_17082025_07_51_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/07/50/image_17082025_07_50_54_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f936ae518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f936ae518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f936ae518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:54:16.901898
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/54/image_17082025_07_54_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/07/54/image_17082025_07_54_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/07/54/image_17082025_07_54_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/07/54/image_17082025_07_54_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/07/53/image_17082025_07_54_05_10659.jpg', 2), ('/home/nano/Desktop/images/17082025/07/53/image_17082025_07_53_54_9636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa2a03518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2a03518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2a03518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:56:32.095506
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 07:58:02.612295
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/07/57/image_17082025_07_57_25_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/07/56/image_17082025_07_57_04_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/07/56/image_17082025_07_56_54_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/07/56/image_17082025_07_56_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/07/56/image_17082025_07_56_34_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/07/56/image_17082025_07_56_24_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa58fa518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa58fa518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa58fa518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:00:17.552015
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/00/image_17082025_08_00_45_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/08/00/image_17082025_08_00_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/08/00/image_17082025_08_00_24_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/08/00/image_17082025_08_00_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/07/59/image_17082025_08_00_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/07/59/image_17082025_07_59_34_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f871654a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f871654a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f871654a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:02:32.735744
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/02/image_17082025_08_02_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/08/02/image_17082025_08_02_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/08/02/image_17082025_08_02_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/08/02/image_17082025_08_02_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/08/01/image_17082025_08_02_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/08/01/image_17082025_08_01_44_10649.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f96b834a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96b834a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96b834a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:04:46.996355
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/04/image_17082025_08_04_34_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/08/04/image_17082025_08_04_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/08/04/image_17082025_08_04_14_9672.jpg', 2), ('/home/nano/Desktop/images/17082025/08/03/image_17082025_08_04_04_10660.jpg', 2), ('/home/nano/Desktop/images/17082025/08/03/image_17082025_08_03_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/08/03/image_17082025_08_03_24_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb529e518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb529e518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb529e518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:07:02.838287
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/06/image_17082025_08_06_44_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/08/06/image_17082025_08_06_34_10644.jpg', 2), ('/home/nano/Desktop/images/17082025/08/06/image_17082025_08_06_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/08/06/image_17082025_08_06_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/08/05/image_17082025_08_06_04_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/08/05/image_17082025_08_05_44_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f76a6b4a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76a6b4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76a6b4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:09:17.520664
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/09/image_17082025_08_09_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/08/09/image_17082025_08_09_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/08/09/image_17082025_08_09_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/08/08/image_17082025_08_08_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/08/08/image_17082025_08_08_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/08/08/image_17082025_08_08_34_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faefec518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faefec518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faefec518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:11:32.753440
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/11/image_17082025_08_11_44_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/08/11/image_17082025_08_11_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/08/11/image_17082025_08_11_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/08/11/image_17082025_08_11_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/08/10/image_17082025_08_11_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/08/10/image_17082025_08_10_54_9654.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f90f1f4a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90f1f4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90f1f4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:13:46.933934
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/13/image_17082025_08_13_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/08/13/image_17082025_08_13_34_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/08/13/image_17082025_08_13_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/08/12/image_17082025_08_12_54_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/08/12/image_17082025_08_12_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/08/12/image_17082025_08_12_34_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa5435518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5435518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5435518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:16:02.684268
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/15/image_17082025_08_15_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/08/15/image_17082025_08_15_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/08/15/image_17082025_08_15_14_9680.jpg', 2), ('/home/nano/Desktop/images/17082025/08/14/image_17082025_08_15_04_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/08/14/image_17082025_08_14_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/08/14/image_17082025_08_14_14_9651.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fae464518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae464518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae464518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:18:17.451796
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/18/image_17082025_08_18_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/08/18/image_17082025_08_18_34_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/08/18/image_17082025_08_18_24_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/08/18/image_17082025_08_18_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/08/17/image_17082025_08_18_04_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/08/17/image_17082025_08_17_54_10646.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f786b4518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f786b4518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f786b4518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:20:32.632847
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/20/image_17082025_08_20_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/08/20/image_17082025_08_20_34_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/08/20/image_17082025_08_20_24_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/08/20/image_17082025_08_20_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/08/19/image_17082025_08_20_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/08/19/image_17082025_08_19_54_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f78f67518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78f67518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78f67518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:22:46.850346
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/22/image_17082025_08_22_35_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/08/22/image_17082025_08_22_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/08/21/image_17082025_08_22_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/08/21/image_17082025_08_21_54_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/08/21/image_17082025_08_21_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/08/21/image_17082025_08_21_24_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9a0d1518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a0d1518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a0d1518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:25:02.627939
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/24/image_17082025_08_24_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/08/24/image_17082025_08_24_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/08/24/image_17082025_08_24_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/08/24/image_17082025_08_24_14_9676.jpg', 2), ('/home/nano/Desktop/images/17082025/08/23/image_17082025_08_24_04_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/08/23/image_17082025_08_23_54_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9de734a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9de734a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9de734a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:27:17.441132
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/26/image_17082025_08_27_04_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/08/26/image_17082025_08_26_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/08/26/image_17082025_08_26_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/08/26/image_17082025_08_26_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/08/26/image_17082025_08_26_24_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/08/26/image_17082025_08_26_14_9657.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa9231550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9231550>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9231550>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:29:32.594099
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/29/image_17082025_08_29_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/08/29/image_17082025_08_29_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/08/29/image_17082025_08_29_14_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/08/28/image_17082025_08_28_54_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/08/28/image_17082025_08_28_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/08/28/image_17082025_08_28_34_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa1ea9518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1ea9518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1ea9518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:31:46.794386
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/31/image_17082025_08_31_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/08/30/image_17082025_08_31_04_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/08/30/image_17082025_08_30_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/08/30/image_17082025_08_30_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/08/30/image_17082025_08_30_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/08/30/image_17082025_08_30_24_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8a89f518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a89f518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a89f518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:34:02.637293
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/33/image_17082025_08_33_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/08/33/image_17082025_08_33_24_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/08/33/image_17082025_08_33_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/08/32/image_17082025_08_33_04_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/08/32/image_17082025_08_32_54_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/08/32/image_17082025_08_32_44_9655.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9d8e8518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d8e8518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d8e8518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:36:17.364589
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/36/image_17082025_08_36_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/08/36/image_17082025_08_36_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/08/36/image_17082025_08_36_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/08/36/image_17082025_08_36_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/08/35/image_17082025_08_36_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/08/35/image_17082025_08_35_54_10648.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f93982518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93982518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93982518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:38:32.644414
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/38/image_17082025_08_38_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/08/38/image_17082025_08_38_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/08/38/image_17082025_08_38_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/08/37/image_17082025_08_38_04_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/08/37/image_17082025_08_37_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/08/37/image_17082025_08_37_44_10666.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa811b518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa811b518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa811b518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:40:46.860487
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/40/image_17082025_08_40_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/08/40/image_17082025_08_40_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/08/40/image_17082025_08_40_14_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/08/39/image_17082025_08_40_04_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/08/39/image_17082025_08_39_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/08/39/image_17082025_08_39_44_10646.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9650b518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9650b518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9650b518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:43:02.792232
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/42/image_17082025_08_42_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/08/42/image_17082025_08_42_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/08/42/image_17082025_08_42_24_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/08/42/image_17082025_08_42_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/08/41/image_17082025_08_42_04_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/08/41/image_17082025_08_41_54_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8b7ef518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b7ef518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b7ef518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:45:17.501922
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/45/image_17082025_08_45_45_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/08/45/image_17082025_08_45_24_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/08/45/image_17082025_08_45_14_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/08/44/image_17082025_08_45_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/08/44/image_17082025_08_44_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/08/44/image_17082025_08_44_44_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9e49b4a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e49b4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e49b4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:47:32.713618
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/47/image_17082025_08_47_44_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/08/47/image_17082025_08_47_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/08/47/image_17082025_08_47_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/08/47/image_17082025_08_47_14_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/08/46/image_17082025_08_47_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/08/46/image_17082025_08_46_54_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa61a9518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa61a9518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa61a9518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:49:46.980095
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/49/image_17082025_08_49_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/08/49/image_17082025_08_49_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/08/49/image_17082025_08_49_14_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/08/48/image_17082025_08_49_04_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/08/48/image_17082025_08_48_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/08/48/image_17082025_08_48_44_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7dde0518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7dde0518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7dde0518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:52:02.571533
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/51/image_17082025_08_51_34_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/08/51/image_17082025_08_51_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/08/50/image_17082025_08_51_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/08/50/image_17082025_08_50_55_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/08/50/image_17082025_08_50_44_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/08/50/image_17082025_08_50_34_10646.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7f163518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f163518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f163518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:54:17.496761
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/54/image_17082025_08_54_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/08/54/image_17082025_08_54_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/08/54/image_17082025_08_54_15_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/08/53/image_17082025_08_54_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/08/53/image_17082025_08_53_54_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/08/53/image_17082025_08_53_44_9636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb2043518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2043518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2043518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:56:32.654686
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 08:58:02.303516
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/08/57/image_17082025_08_57_34_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/08/57/image_17082025_08_57_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/08/57/image_17082025_08_57_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/08/56/image_17082025_08_56_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/08/56/image_17082025_08_56_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/08/56/image_17082025_08_56_35_10645.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7a94f518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a94f518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a94f518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:00:17.127903
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/00/image_17082025_09_00_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/09/00/image_17082025_09_00_34_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/09/00/image_17082025_09_00_25_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/09/00/image_17082025_09_00_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/08/59/image_17082025_09_00_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/08/59/image_17082025_08_59_55_10650.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f92f1f518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92f1f518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92f1f518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:02:32.353247
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/02/image_17082025_09_02_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/09/02/image_17082025_09_02_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/09/02/image_17082025_09_02_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/09/01/image_17082025_09_02_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/09/01/image_17082025_09_01_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/09/01/image_17082025_09_01_34_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7f753518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f753518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f753518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:04:47.542531
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/04/image_17082025_09_04_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/09/04/image_17082025_09_04_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/09/04/image_17082025_09_04_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/09/04/image_17082025_09_04_14_10684.jpg', 2), ('/home/nano/Desktop/images/17082025/09/03/image_17082025_09_04_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/09/03/image_17082025_09_03_54_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb09144a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb09144a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb09144a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:07:02.317178
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/06/image_17082025_09_06_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/09/06/image_17082025_09_06_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/09/06/image_17082025_09_06_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/09/06/image_17082025_09_06_14_9665.jpg', 2), ('/home/nano/Desktop/images/17082025/09/05/image_17082025_09_06_05_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/09/05/image_17082025_09_05_54_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f886c7518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f886c7518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f886c7518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:09:17.066874
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/09/image_17082025_09_09_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/09/09/image_17082025_09_09_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/09/09/image_17082025_09_09_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/09/09/image_17082025_09_09_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/09/08/image_17082025_09_09_04_10660.jpg', 2), ('/home/nano/Desktop/images/17082025/09/08/image_17082025_09_08_54_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f83020518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83020518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83020518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:11:32.239675
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/11/image_17082025_09_11_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/09/11/image_17082025_09_11_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/09/11/image_17082025_09_11_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/09/10/image_17082025_09_11_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/09/10/image_17082025_09_10_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/09/10/image_17082025_09_10_34_9636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f89d9c518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89d9c518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89d9c518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:13:47.451562
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/13/image_17082025_09_13_44_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/09/13/image_17082025_09_13_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/09/13/image_17082025_09_13_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/09/13/image_17082025_09_13_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/09/12/image_17082025_09_13_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/09/12/image_17082025_09_12_54_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa08e24a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa08e24a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa08e24a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:16:02.240645
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/15/image_17082025_09_15_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/09/15/image_17082025_09_15_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/09/15/image_17082025_09_15_24_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/09/15/image_17082025_09_15_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/09/14/image_17082025_09_15_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/09/14/image_17082025_09_14_54_9655.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa58d8518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa58d8518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa58d8518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:18:17.060389
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/18/image_17082025_09_18_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/09/18/image_17082025_09_18_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/09/18/image_17082025_09_18_24_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/09/18/image_17082025_09_18_14_9668.jpg', 2), ('/home/nano/Desktop/images/17082025/09/17/image_17082025_09_18_04_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/09/17/image_17082025_09_17_54_9641.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f95b3f518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95b3f518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95b3f518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:20:32.294550
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/20/image_17082025_09_20_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/09/20/image_17082025_09_20_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/09/20/image_17082025_09_20_24_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/09/19/image_17082025_09_20_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/09/19/image_17082025_09_19_54_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/09/19/image_17082025_09_19_34_9643.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb62c4518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb62c4518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb62c4518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:22:47.513970
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/22/image_17082025_09_22_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/09/22/image_17082025_09_22_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/09/21/image_17082025_09_22_04_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/09/21/image_17082025_09_21_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/09/21/image_17082025_09_21_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/09/21/image_17082025_09_21_34_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9e258518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e258518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e258518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:25:02.328186
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/24/image_17082025_09_24_44_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/09/24/image_17082025_09_24_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/09/24/image_17082025_09_24_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/09/24/image_17082025_09_24_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/09/23/image_17082025_09_24_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/09/23/image_17082025_09_23_54_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f883ce518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f883ce518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f883ce518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:27:17.023934
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/27/image_17082025_09_27_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/09/27/image_17082025_09_27_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/09/27/image_17082025_09_27_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/09/26/image_17082025_09_27_04_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/09/26/image_17082025_09_26_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/09/26/image_17082025_09_26_44_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fad0e9518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad0e9518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad0e9518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:29:32.313869
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/29/image_17082025_09_29_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/09/29/image_17082025_09_29_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/09/29/image_17082025_09_29_14_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/09/28/image_17082025_09_29_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/09/28/image_17082025_09_28_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/09/28/image_17082025_09_28_34_9636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f77120518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77120518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77120518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:31:47.477563
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/31/image_17082025_09_31_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/09/31/image_17082025_09_31_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/09/31/image_17082025_09_31_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/09/31/image_17082025_09_31_15_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/09/30/image_17082025_09_30_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/09/30/image_17082025_09_30_44_9636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9ee714a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ee714a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ee714a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:34:02.392131
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/33/image_17082025_09_33_44_10644.jpg', 2), ('/home/nano/Desktop/images/17082025/09/33/image_17082025_09_33_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/09/33/image_17082025_09_33_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/09/33/image_17082025_09_33_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/09/32/image_17082025_09_33_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/09/32/image_17082025_09_32_54_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fad5e3518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad5e3518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad5e3518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:36:17.011553
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/36/image_17082025_09_36_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/09/36/image_17082025_09_36_34_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/09/36/image_17082025_09_36_24_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/09/36/image_17082025_09_36_14_9673.jpg', 2), ('/home/nano/Desktop/images/17082025/09/35/image_17082025_09_36_04_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/09/35/image_17082025_09_35_54_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa20414a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa20414a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa20414a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:38:32.183478
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/38/image_17082025_09_38_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/09/38/image_17082025_09_38_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/09/38/image_17082025_09_38_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/09/38/image_17082025_09_38_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/09/37/image_17082025_09_38_04_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/09/37/image_17082025_09_37_44_9654.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f799f2518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f799f2518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f799f2518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:40:47.470396
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/40/image_17082025_09_40_45_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/09/40/image_17082025_09_40_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/09/40/image_17082025_09_40_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/09/40/image_17082025_09_40_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/09/39/image_17082025_09_40_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/09/39/image_17082025_09_39_54_10666.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8405b518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8405b518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8405b518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:43:02.268316
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/42/image_17082025_09_42_44_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/09/42/image_17082025_09_42_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/09/42/image_17082025_09_42_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/09/42/image_17082025_09_42_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/09/41/image_17082025_09_42_04_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/09/41/image_17082025_09_41_54_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8255e518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8255e518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8255e518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:45:17.043838
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/45/image_17082025_09_45_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/09/45/image_17082025_09_45_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/09/45/image_17082025_09_45_24_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/09/45/image_17082025_09_45_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/09/44/image_17082025_09_44_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/09/44/image_17082025_09_44_44_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7bb37518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7bb37518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7bb37518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:47:32.192826
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/47/image_17082025_09_47_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/09/47/image_17082025_09_47_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/09/47/image_17082025_09_47_14_9677.jpg', 2), ('/home/nano/Desktop/images/17082025/09/46/image_17082025_09_47_04_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/09/46/image_17082025_09_46_55_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/09/46/image_17082025_09_46_44_9636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8ad27518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ad27518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ad27518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:49:47.400205
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/49/image_17082025_09_49_45_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/09/49/image_17082025_09_49_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/09/49/image_17082025_09_49_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/09/49/image_17082025_09_49_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/09/48/image_17082025_09_49_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/09/48/image_17082025_09_48_54_10664.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f91bd7518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91bd7518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91bd7518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:52:03.080605
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/51/image_17082025_09_51_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/09/51/image_17082025_09_51_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/09/51/image_17082025_09_51_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/09/51/image_17082025_09_51_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/09/50/image_17082025_09_51_04_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/09/50/image_17082025_09_50_54_9640.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faa2bf518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa2bf518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa2bf518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:54:16.881376
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/54/image_17082025_09_54_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/09/54/image_17082025_09_54_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/09/53/image_17082025_09_54_04_10654.jpg', 2), ('/home/nano/Desktop/images/17082025/09/53/image_17082025_09_53_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/09/53/image_17082025_09_53_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/09/53/image_17082025_09_53_34_10647.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f84378518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84378518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84378518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:56:32.070522
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 09:58:32.340403
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/09/58/image_17082025_09_58_44_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/09/58/image_17082025_09_58_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/09/58/image_17082025_09_58_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/09/58/image_17082025_09_58_14_9677.jpg', 2), ('/home/nano/Desktop/images/17082025/09/57/image_17082025_09_58_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/09/57/image_17082025_09_57_34_9641.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa90c9518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa90c9518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa90c9518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:00:47.562378
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/00/image_17082025_10_00_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/10/00/image_17082025_10_00_24_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/10/00/image_17082025_10_00_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/09/59/image_17082025_10_00_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/09/59/image_17082025_09_59_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/09/59/image_17082025_09_59_44_10646.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb0ca1518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0ca1518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0ca1518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:03:02.260482
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/02/image_17082025_10_02_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/10/02/image_17082025_10_02_34_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/10/02/image_17082025_10_02_24_9633.jpg', 2), ('/home/nano/Desktop/images/17082025/10/02/image_17082025_10_02_14_9680.jpg', 2), ('/home/nano/Desktop/images/17082025/10/01/image_17082025_10_02_05_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/10/01/image_17082025_10_01_54_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7c44d4a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c44d4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c44d4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:05:17.079460
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/05/image_17082025_10_05_44_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/10/05/image_17082025_10_05_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/10/05/image_17082025_10_05_24_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/10/05/image_17082025_10_05_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/10/04/image_17082025_10_05_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/10/04/image_17082025_10_04_44_9636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9a0b1518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a0b1518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a0b1518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:07:32.396542
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/07/image_17082025_10_07_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/10/07/image_17082025_10_07_34_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/10/07/image_17082025_10_07_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/10/07/image_17082025_10_07_14_9673.jpg', 2), ('/home/nano/Desktop/images/17082025/10/06/image_17082025_10_07_04_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/10/06/image_17082025_10_06_54_10646.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f85e814a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85e814a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85e814a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:09:47.582851
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/09/image_17082025_10_09_44_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/10/09/image_17082025_10_09_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/10/09/image_17082025_10_09_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/10/09/image_17082025_10_09_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/10/08/image_17082025_10_09_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/10/08/image_17082025_10_08_54_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7ca0e518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ca0e518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ca0e518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:12:02.199152
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/11/image_17082025_10_11_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/10/11/image_17082025_10_11_35_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/10/11/image_17082025_10_11_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/10/11/image_17082025_10_11_14_10687.jpg', 2), ('/home/nano/Desktop/images/17082025/10/10/image_17082025_10_10_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/10/10/image_17082025_10_10_44_10647.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb127c518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb127c518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb127c518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:14:17.152285
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/14/image_17082025_10_14_44_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/10/14/image_17082025_10_14_34_10660.jpg', 2), ('/home/nano/Desktop/images/17082025/10/14/image_17082025_10_14_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/10/14/image_17082025_10_14_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/10/13/image_17082025_10_14_04_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/10/13/image_17082025_10_13_54_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb069f518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb069f518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb069f518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:16:32.397325
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/16/image_17082025_10_16_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/10/16/image_17082025_10_16_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/10/16/image_17082025_10_16_14_9676.jpg', 2), ('/home/nano/Desktop/images/17082025/10/15/image_17082025_10_16_04_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/10/15/image_17082025_10_15_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/10/15/image_17082025_10_15_34_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa82fc518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa82fc518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa82fc518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:18:47.579551
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/18/image_17082025_10_18_45_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/10/18/image_17082025_10_18_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/10/18/image_17082025_10_18_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/10/18/image_17082025_10_18_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/10/17/image_17082025_10_18_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/10/17/image_17082025_10_17_54_10648.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9a7d6518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a7d6518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a7d6518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:21:02.354763
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/20/image_17082025_10_20_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/10/20/image_17082025_10_20_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/10/20/image_17082025_10_20_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/10/20/image_17082025_10_20_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/10/19/image_17082025_10_20_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/10/19/image_17082025_10_19_34_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa1ded518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1ded518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1ded518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:23:17.020499
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/23/image_17082025_10_23_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/10/23/image_17082025_10_23_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/10/23/image_17082025_10_23_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/10/23/image_17082025_10_23_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/10/22/image_17082025_10_23_04_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/10/22/image_17082025_10_22_54_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8d8be518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d8be518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d8be518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:25:32.272045
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/25/image_17082025_10_25_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/10/25/image_17082025_10_25_24_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/10/25/image_17082025_10_25_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/10/24/image_17082025_10_25_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/10/24/image_17082025_10_24_55_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/10/24/image_17082025_10_24_44_9640.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f952a34a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f952a34a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f952a34a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:27:47.533562
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/27/image_17082025_10_27_45_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/10/27/image_17082025_10_27_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/10/27/image_17082025_10_27_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/10/27/image_17082025_10_27_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/10/26/image_17082025_10_27_04_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/10/26/image_17082025_10_26_54_10646.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8acad518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8acad518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8acad518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:30:02.217060
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/29/image_17082025_10_29_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/10/29/image_17082025_10_29_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/10/29/image_17082025_10_29_24_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/10/29/image_17082025_10_29_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/10/28/image_17082025_10_29_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/10/28/image_17082025_10_28_54_9640.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f93bb34a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93bb34a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93bb34a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:32:17.042804
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/32/image_17082025_10_32_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/10/32/image_17082025_10_32_34_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/10/32/image_17082025_10_32_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/10/31/image_17082025_10_31_54_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/10/31/image_17082025_10_31_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/10/31/image_17082025_10_31_34_10645.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8a5bf518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a5bf518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a5bf518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:34:32.295876
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/34/image_17082025_10_34_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/10/34/image_17082025_10_34_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/10/34/image_17082025_10_34_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/10/33/image_17082025_10_34_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/10/33/image_17082025_10_33_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/10/33/image_17082025_10_33_44_9635.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8e1514a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e1514a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e1514a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:36:47.490773
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/36/image_17082025_10_36_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/10/36/image_17082025_10_36_15_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/10/35/image_17082025_10_36_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/10/35/image_17082025_10_35_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/10/35/image_17082025_10_35_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/10/35/image_17082025_10_35_24_10662.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
OSError: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa4a59518>: Failed to establish a new connection: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4a59518>: Failed to establish a new connection: [Errno 101] Network is unreachable',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4a59518>: Failed to establish a new connection: [Errno 101] Network is unreachable',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:37:03.094056
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/36/image_17082025_10_36_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/10/36/image_17082025_10_36_15_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/10/35/image_17082025_10_36_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/10/35/image_17082025_10_35_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/10/35/image_17082025_10_35_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/10/35/image_17082025_10_35_24_10662.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f79fc1518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79fc1518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79fc1518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:39:16.820338
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/39/image_17082025_10_39_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/10/39/image_17082025_10_39_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/10/38/image_17082025_10_38_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/10/38/image_17082025_10_38_44_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/10/38/image_17082025_10_38_34_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/10/38/image_17082025_10_38_24_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f90d8a518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90d8a518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90d8a518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:41:31.996451
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/41/image_17082025_10_41_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/10/41/image_17082025_10_41_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/10/41/image_17082025_10_41_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/10/40/image_17082025_10_41_04_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/10/40/image_17082025_10_40_54_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/10/40/image_17082025_10_40_44_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f84ff8518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84ff8518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84ff8518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:43:47.162110
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/43/image_17082025_10_43_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/10/42/image_17082025_10_43_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/10/42/image_17082025_10_42_44_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/10/42/image_17082025_10_42_34_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/10/42/image_17082025_10_42_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/10/41/image_17082025_10_42_04_9651.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f99947518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99947518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99947518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:46:02.922929
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/45/image_17082025_10_45_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/10/45/image_17082025_10_45_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/10/45/image_17082025_10_45_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/10/44/image_17082025_10_44_34_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/10/44/image_17082025_10_44_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/10/44/image_17082025_10_44_14_9661.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f78ee34a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78ee34a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78ee34a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:48:17.710585
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/48/image_17082025_10_48_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/10/48/image_17082025_10_48_24_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/10/48/image_17082025_10_48_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/10/47/image_17082025_10_47_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/10/47/image_17082025_10_47_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/10/47/image_17082025_10_47_14_10672.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7ff5f4a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ff5f4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ff5f4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:50:32.044017
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/50/image_17082025_10_50_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/10/50/image_17082025_10_50_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/10/50/image_17082025_10_50_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/10/50/image_17082025_10_50_14_9667.jpg', 2), ('/home/nano/Desktop/images/17082025/10/49/image_17082025_10_50_04_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/10/49/image_17082025_10_49_54_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7aaf2518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7aaf2518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7aaf2518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:52:47.183649
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/52/image_17082025_10_52_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/10/52/image_17082025_10_52_24_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/10/52/image_17082025_10_52_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/10/51/image_17082025_10_52_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/10/51/image_17082025_10_51_44_9634.jpg', 2), ('/home/nano/Desktop/images/17082025/10/51/image_17082025_10_51_34_9640.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f88c46518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88c46518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88c46518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:55:02.914925
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/54/image_17082025_10_54_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/10/54/image_17082025_10_54_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/10/53/image_17082025_10_54_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/10/53/image_17082025_10_53_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/10/53/image_17082025_10_53_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/10/53/image_17082025_10_53_34_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa8afb518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8afb518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8afb518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:57:17.712705
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 10:59:02.495292
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/10/58/image_17082025_10_58_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/10/58/image_17082025_10_58_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/10/58/image_17082025_10_58_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/10/57/image_17082025_10_57_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/10/57/image_17082025_10_57_35_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/10/57/image_17082025_10_57_24_9656.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f822ee518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f822ee518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f822ee518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:01:17.047762
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/01/image_17082025_11_01_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/11/01/image_17082025_11_01_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/11/01/image_17082025_11_01_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/11/00/image_17082025_11_01_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/11/00/image_17082025_11_00_54_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/11/00/image_17082025_11_00_44_9636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb4ab44e0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4ab44e0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4ab44e0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:03:32.295321
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/03/image_17082025_11_03_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/11/03/image_17082025_11_03_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/11/03/image_17082025_11_03_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/11/03/image_17082025_11_03_15_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/11/02/image_17082025_11_03_04_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/11/02/image_17082025_11_02_54_10647.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa4ffd4a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4ffd4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4ffd4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:05:47.505404
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/05/image_17082025_11_05_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/11/05/image_17082025_11_05_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/11/05/image_17082025_11_05_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/11/05/image_17082025_11_05_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/11/04/image_17082025_11_05_04_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/11/04/image_17082025_11_04_54_9654.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9f1c7518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f1c7518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f1c7518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:08:02.183468
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/07/image_17082025_11_07_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/11/07/image_17082025_11_07_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/11/07/image_17082025_11_07_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/11/07/image_17082025_11_07_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/11/06/image_17082025_11_07_04_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/11/06/image_17082025_11_06_54_9655.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fadae9518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadae9518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadae9518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:10:16.990532
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/10/image_17082025_11_10_44_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/11/10/image_17082025_11_10_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/11/10/image_17082025_11_10_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/11/10/image_17082025_11_10_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/11/09/image_17082025_11_10_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/11/09/image_17082025_11_09_54_10646.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f86924518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86924518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86924518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:12:32.191685
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/12/image_17082025_11_12_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/11/12/image_17082025_11_12_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/11/12/image_17082025_11_12_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/11/12/image_17082025_11_12_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/11/11/image_17082025_11_11_54_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/11/11/image_17082025_11_11_44_10648.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa0311518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0311518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0311518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:14:47.424810
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/14/image_17082025_11_14_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/11/14/image_17082025_11_14_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/11/14/image_17082025_11_14_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/11/13/image_17082025_11_14_05_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/11/13/image_17082025_11_13_54_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/11/13/image_17082025_11_13_34_9656.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa6f9e518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6f9e518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6f9e518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:17:03.282342
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/16/image_17082025_11_16_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/11/16/image_17082025_11_16_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/11/16/image_17082025_11_16_14_9688.jpg', 2), ('/home/nano/Desktop/images/17082025/11/15/image_17082025_11_16_04_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/11/15/image_17082025_11_15_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/11/15/image_17082025_11_15_34_10647.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f90208518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90208518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90208518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:19:16.957921
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/19/image_17082025_11_19_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/11/19/image_17082025_11_19_24_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/11/19/image_17082025_11_19_14_9676.jpg', 2), ('/home/nano/Desktop/images/17082025/11/18/image_17082025_11_19_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/11/18/image_17082025_11_18_54_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/11/18/image_17082025_11_18_34_9636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f848e6518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f848e6518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f848e6518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:21:32.219303
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/21/image_17082025_11_21_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/11/21/image_17082025_11_21_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/11/21/image_17082025_11_21_14_10685.jpg', 2), ('/home/nano/Desktop/images/17082025/11/20/image_17082025_11_21_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/11/20/image_17082025_11_20_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/11/20/image_17082025_11_20_45_10647.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9d5e64a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d5e64a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d5e64a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:23:47.490807
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/23/image_17082025_11_23_24_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/11/23/image_17082025_11_23_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/11/22/image_17082025_11_23_04_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/11/22/image_17082025_11_22_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/11/22/image_17082025_11_22_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/11/22/image_17082025_11_22_34_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7d28c518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d28c518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d28c518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:26:02.182626
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/25/image_17082025_11_25_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/11/25/image_17082025_11_25_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/11/24/image_17082025_11_24_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/11/24/image_17082025_11_24_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/11/24/image_17082025_11_24_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/11/24/image_17082025_11_24_14_9671.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faee5b518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faee5b518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faee5b518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:28:17.020464
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/28/image_17082025_11_28_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/11/28/image_17082025_11_28_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/11/28/image_17082025_11_28_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/11/28/image_17082025_11_28_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/11/27/image_17082025_11_28_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/11/27/image_17082025_11_27_54_10664.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f98e11518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98e11518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98e11518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:30:32.241589
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/30/image_17082025_11_30_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/11/30/image_17082025_11_30_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/11/30/image_17082025_11_30_24_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/11/30/image_17082025_11_30_14_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/11/29/image_17082025_11_30_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/11/29/image_17082025_11_29_54_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8c9fc518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c9fc518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c9fc518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:32:47.449883
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/32/image_17082025_11_32_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/11/32/image_17082025_11_32_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/11/32/image_17082025_11_32_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/11/32/image_17082025_11_32_14_9665.jpg', 2), ('/home/nano/Desktop/images/17082025/11/31/image_17082025_11_32_05_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/11/31/image_17082025_11_31_54_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f78dec4a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78dec4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78dec4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:35:02.407477
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/34/image_17082025_11_34_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/11/34/image_17082025_11_34_34_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/11/34/image_17082025_11_34_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/11/34/image_17082025_11_34_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/11/33/image_17082025_11_33_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/11/33/image_17082025_11_33_34_10647.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f76b254a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76b254a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76b254a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:37:17.002725
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/37/image_17082025_11_37_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/11/37/image_17082025_11_37_14_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/11/36/image_17082025_11_36_54_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/11/36/image_17082025_11_36_44_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/11/36/image_17082025_11_36_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/11/35/image_17082025_11_35_14_9656.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fab2fe518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab2fe518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab2fe518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:39:32.210104
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/39/image_17082025_11_39_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/11/39/image_17082025_11_39_24_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/11/39/image_17082025_11_39_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/11/38/image_17082025_11_39_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/11/38/image_17082025_11_38_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/11/38/image_17082025_11_38_44_10649.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f97e75518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97e75518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97e75518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:41:47.458504
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/41/image_17082025_11_41_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/11/41/image_17082025_11_41_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/11/41/image_17082025_11_41_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/11/41/image_17082025_11_41_14_10686.jpg', 2), ('/home/nano/Desktop/images/17082025/11/40/image_17082025_11_41_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/11/40/image_17082025_11_40_54_9640.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f89213518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89213518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89213518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:44:02.413031
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/43/image_17082025_11_43_44_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/11/43/image_17082025_11_43_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/11/43/image_17082025_11_43_24_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/11/43/image_17082025_11_43_14_9683.jpg', 2), ('/home/nano/Desktop/images/17082025/11/42/image_17082025_11_43_04_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/11/42/image_17082025_11_42_54_9640.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7c9e8518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c9e8518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c9e8518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:46:17.027788
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/46/image_17082025_11_46_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/11/45/image_17082025_11_46_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/11/45/image_17082025_11_45_55_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/11/45/image_17082025_11_45_34_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/11/45/image_17082025_11_45_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/11/45/image_17082025_11_45_14_9661.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa6dd0518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6dd0518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6dd0518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:48:32.239936
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/47/image_17082025_11_47_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/11/47/image_17082025_11_47_44_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/11/47/image_17082025_11_47_24_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/11/47/image_17082025_11_47_14_9665.jpg', 2), ('/home/nano/Desktop/images/17082025/11/46/image_17082025_11_46_25_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/11/46/image_17082025_11_46_14_9659.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f89838518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89838518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89838518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:50:47.419474
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/50/image_17082025_11_50_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/11/50/image_17082025_11_50_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/11/50/image_17082025_11_50_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/11/49/image_17082025_11_50_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/11/49/image_17082025_11_49_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/11/49/image_17082025_11_49_44_10648.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9acfc518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9acfc518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9acfc518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:53:02.344896
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/52/image_17082025_11_52_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/11/52/image_17082025_11_52_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/11/52/image_17082025_11_52_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/11/51/image_17082025_11_51_54_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/11/51/image_17082025_11_51_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/11/51/image_17082025_11_51_34_9640.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f87b46518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87b46518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87b46518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:55:17.089479
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/55/image_17082025_11_55_44_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/11/54/image_17082025_11_54_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/11/54/image_17082025_11_54_44_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/11/54/image_17082025_11_54_34_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/11/54/image_17082025_11_54_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/11/54/image_17082025_11_54_14_9662.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa42b5518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa42b5518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa42b5518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:57:32.316067
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 11:58:02.646733
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/11/57/image_17082025_11_57_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/11/57/image_17082025_11_57_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/11/57/image_17082025_11_57_24_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/11/57/image_17082025_11_57_14_9669.jpg', 2), ('/home/nano/Desktop/images/17082025/11/56/image_17082025_11_56_54_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/11/56/image_17082025_11_56_44_9656.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faaef8518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faaef8518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faaef8518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:00:17.354658
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/00/image_17082025_12_00_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/12/00/image_17082025_12_00_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/12/00/image_17082025_12_00_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/11/59/image_17082025_12_00_04_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/11/59/image_17082025_11_59_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/11/59/image_17082025_11_59_45_10649.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fadff0518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadff0518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadff0518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:02:32.693087
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/02/image_17082025_12_02_35_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/12/02/image_17082025_12_02_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/12/02/image_17082025_12_02_14_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/12/01/image_17082025_12_02_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/12/01/image_17082025_12_01_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/12/01/image_17082025_12_01_24_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa201d518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa201d518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa201d518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:04:46.867571
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/04/image_17082025_12_04_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/12/03/image_17082025_12_04_04_10661.jpg', 2), ('/home/nano/Desktop/images/17082025/12/03/image_17082025_12_03_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/12/03/image_17082025_12_03_24_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/12/03/image_17082025_12_03_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/12/02/image_17082025_12_03_04_10658.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa10a04a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa10a04a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa10a04a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:07:02.693394
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/06/image_17082025_12_06_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/12/06/image_17082025_12_06_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/12/06/image_17082025_12_06_25_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/12/06/image_17082025_12_06_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/12/05/image_17082025_12_05_55_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/12/05/image_17082025_12_05_34_10649.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7cba9518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7cba9518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7cba9518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:09:17.395617
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/09/image_17082025_12_09_45_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/12/09/image_17082025_12_09_24_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/12/09/image_17082025_12_09_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/12/08/image_17082025_12_09_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/12/08/image_17082025_12_08_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/12/08/image_17082025_12_08_44_9641.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7b202518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b202518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b202518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:11:32.592487
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/11/image_17082025_12_11_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/12/10/image_17082025_12_10_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/12/10/image_17082025_12_10_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/12/09/image_17082025_12_10_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/12/09/image_17082025_12_09_54_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/12/09/image_17082025_12_09_45_10651.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f84a41518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84a41518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84a41518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:13:46.821328
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/13/image_17082025_12_13_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/12/13/image_17082025_12_13_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/12/13/image_17082025_12_13_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/12/12/image_17082025_12_13_05_10658.jpg', 2), ('/home/nano/Desktop/images/17082025/12/12/image_17082025_12_12_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/12/12/image_17082025_12_12_34_9640.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fae9b1518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae9b1518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae9b1518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:16:02.490699
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/15/image_17082025_12_15_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/12/15/image_17082025_12_15_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/12/15/image_17082025_12_15_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/12/14/image_17082025_12_15_04_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/12/14/image_17082025_12_14_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/12/14/image_17082025_12_14_24_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb04f0518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb04f0518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb04f0518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:18:17.408665
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/18/image_17082025_12_18_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/12/18/image_17082025_12_18_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/12/18/image_17082025_12_18_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/12/17/image_17082025_12_18_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/12/17/image_17082025_12_17_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/12/17/image_17082025_12_17_34_9643.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8cbed4a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8cbed4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8cbed4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:20:32.608766
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/19/image_17082025_12_19_45_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/12/19/image_17082025_12_19_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/12/18/image_17082025_12_19_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/12/18/image_17082025_12_18_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/12/18/image_17082025_12_18_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/12/18/image_17082025_12_18_34_9642.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f958a6518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f958a6518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f958a6518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:22:46.816237
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/22/image_17082025_12_22_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/12/22/image_17082025_12_22_35_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/12/22/image_17082025_12_22_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/12/21/image_17082025_12_22_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/12/21/image_17082025_12_21_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/12/21/image_17082025_12_21_24_9643.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f78762518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78762518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78762518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:25:02.681480
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/24/image_17082025_12_24_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/12/24/image_17082025_12_24_34_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/12/24/image_17082025_12_24_14_9676.jpg', 2), ('/home/nano/Desktop/images/17082025/12/23/image_17082025_12_24_04_10659.jpg', 2), ('/home/nano/Desktop/images/17082025/12/23/image_17082025_12_23_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/12/23/image_17082025_12_23_44_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9d664518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d664518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d664518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:27:17.417480
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/27/image_17082025_12_27_14_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/12/26/image_17082025_12_27_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/12/26/image_17082025_12_26_55_10654.jpg', 2), ('/home/nano/Desktop/images/17082025/12/26/image_17082025_12_26_34_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/12/26/image_17082025_12_26_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/12/25/image_17082025_12_26_04_10656.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb233c4a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb233c4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb233c4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:29:32.545068
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/29/image_17082025_12_29_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/12/29/image_17082025_12_29_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/12/29/image_17082025_12_29_24_10655.jpg', 2), ('/home/nano/Desktop/images/17082025/12/29/image_17082025_12_29_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/12/28/image_17082025_12_29_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/12/28/image_17082025_12_28_54_10651.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f99da3518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99da3518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99da3518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:31:47.757933
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/31/image_17082025_12_31_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/12/31/image_17082025_12_31_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/12/31/image_17082025_12_31_15_10686.jpg', 2), ('/home/nano/Desktop/images/17082025/12/30/image_17082025_12_31_04_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/12/30/image_17082025_12_30_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/12/30/image_17082025_12_30_34_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7c3c7518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c3c7518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c3c7518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:34:02.605676
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/33/image_17082025_12_33_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/12/33/image_17082025_12_33_35_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/12/32/image_17082025_12_33_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/12/32/image_17082025_12_32_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/12/32/image_17082025_12_32_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/12/32/image_17082025_12_32_14_10663.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f83f68518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83f68518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83f68518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:36:17.275816
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/36/image_17082025_12_36_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/12/36/image_17082025_12_36_14_9667.jpg', 2), ('/home/nano/Desktop/images/17082025/12/35/image_17082025_12_35_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/12/35/image_17082025_12_35_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/12/35/image_17082025_12_35_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/12/35/image_17082025_12_35_24_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fadd8c518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadd8c518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadd8c518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:38:32.440796
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/38/image_17082025_12_38_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/12/38/image_17082025_12_38_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/12/38/image_17082025_12_38_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/12/37/image_17082025_12_38_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/12/37/image_17082025_12_37_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/12/37/image_17082025_12_37_44_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7fdc7518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7fdc7518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7fdc7518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:40:47.670593
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/40/image_17082025_12_40_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/12/40/image_17082025_12_40_24_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/12/40/image_17082025_12_40_15_10675.jpg', 2), ('/home/nano/Desktop/images/17082025/12/39/image_17082025_12_39_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/12/39/image_17082025_12_39_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/12/39/image_17082025_12_39_34_9657.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f95b64518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95b64518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95b64518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:43:02.432353
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/42/image_17082025_12_42_24_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/12/42/image_17082025_12_42_14_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/12/41/image_17082025_12_42_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/12/41/image_17082025_12_41_54_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/12/41/image_17082025_12_41_44_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/12/41/image_17082025_12_41_34_9641.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f79a12518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79a12518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79a12518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:45:17.202668
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/45/image_17082025_12_45_44_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/12/45/image_17082025_12_45_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/12/45/image_17082025_12_45_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/12/45/image_17082025_12_45_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/12/44/image_17082025_12_45_04_10678.jpg', 2), ('/home/nano/Desktop/images/17082025/12/44/image_17082025_12_44_54_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7911c518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7911c518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7911c518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:47:32.374168
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/47/image_17082025_12_47_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/12/47/image_17082025_12_47_24_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/12/47/image_17082025_12_47_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/12/46/image_17082025_12_47_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/12/46/image_17082025_12_46_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/12/46/image_17082025_12_46_44_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f85f08518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85f08518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85f08518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:49:47.527229
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/49/image_17082025_12_49_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/12/49/image_17082025_12_49_34_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/12/49/image_17082025_12_49_24_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/12/49/image_17082025_12_49_14_9677.jpg', 2), ('/home/nano/Desktop/images/17082025/12/48/image_17082025_12_48_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/12/48/image_17082025_12_48_34_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fac895550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac895550>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac895550>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:52:02.104790
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/51/image_17082025_12_51_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/12/51/image_17082025_12_51_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/12/51/image_17082025_12_51_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/12/51/image_17082025_12_51_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/12/50/image_17082025_12_50_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/12/50/image_17082025_12_50_34_9640.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f98c34518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98c34518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98c34518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:54:17.042322
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/54/image_17082025_12_54_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/12/54/image_17082025_12_54_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/12/54/image_17082025_12_54_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/12/54/image_17082025_12_54_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/12/53/image_17082025_12_54_04_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/12/53/image_17082025_12_53_54_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa0b42518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0b42518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0b42518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:56:32.301169
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 12:59:03.463616
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/12/57/image_17082025_12_57_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/12/57/image_17082025_12_57_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/12/57/image_17082025_12_57_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/12/57/image_17082025_12_57_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/12/56/image_17082025_12_57_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/12/56/image_17082025_12_56_54_10664.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9ae5c4a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ae5c4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ae5c4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:01:16.822806
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/01/image_17082025_13_01_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/13/01/image_17082025_13_01_34_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/13/01/image_17082025_13_01_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/01/image_17082025_13_01_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/13/00/image_17082025_13_01_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/13/00/image_17082025_13_00_54_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa4520518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4520518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4520518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:03:32.058776
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/03/image_17082025_13_03_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/13/03/image_17082025_13_03_14_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/13/02/image_17082025_13_03_04_10654.jpg', 2), ('/home/nano/Desktop/images/17082025/13/02/image_17082025_13_02_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/02/image_17082025_13_02_44_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/13/02/image_17082025_13_02_34_10648.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f900c8518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f900c8518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f900c8518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:05:47.355650
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/05/image_17082025_13_05_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/05/image_17082025_13_05_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/05/image_17082025_13_05_25_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/13/05/image_17082025_13_05_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/13/04/image_17082025_13_05_04_10661.jpg', 2), ('/home/nano/Desktop/images/17082025/13/04/image_17082025_13_04_54_9655.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f90c50518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90c50518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90c50518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:08:03.061173
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/07/image_17082025_13_07_45_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/13/07/image_17082025_13_07_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/13/07/image_17082025_13_07_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/13/07/image_17082025_13_07_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/13/06/image_17082025_13_07_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/13/06/image_17082025_13_06_54_10647.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8c9db518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c9db518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c9db518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:10:16.923274
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/10/image_17082025_13_10_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/13/10/image_17082025_13_10_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/13/10/image_17082025_13_10_24_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/13/10/image_17082025_13_10_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/13/09/image_17082025_13_10_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/13/09/image_17082025_13_09_54_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb1a4a518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1a4a518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1a4a518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:12:32.102102
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/12/image_17082025_13_12_44_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/13/12/image_17082025_13_12_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/13/12/image_17082025_13_12_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/13/12/image_17082025_13_12_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/13/11/image_17082025_13_11_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/11/image_17082025_13_11_44_9655.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f99fc3518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99fc3518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99fc3518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:14:47.326066
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/14/image_17082025_13_14_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/14/image_17082025_13_14_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/14/image_17082025_13_14_25_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/13/14/image_17082025_13_14_14_9671.jpg', 2), ('/home/nano/Desktop/images/17082025/13/13/image_17082025_13_14_04_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/13/13/image_17082025_13_13_54_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7ba08518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ba08518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ba08518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:17:03.145864
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/16/image_17082025_13_16_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/16/image_17082025_13_16_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/16/image_17082025_13_16_24_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/13/16/image_17082025_13_16_14_9673.jpg', 2), ('/home/nano/Desktop/images/17082025/13/15/image_17082025_13_16_04_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/13/15/image_17082025_13_15_54_10665.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb4811518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4811518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4811518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:19:16.870928
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/19/image_17082025_13_19_44_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/13/19/image_17082025_13_19_34_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/13/19/image_17082025_13_19_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/13/19/image_17082025_13_19_14_10661.jpg', 2), ('/home/nano/Desktop/images/17082025/13/18/image_17082025_13_19_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/13/18/image_17082025_13_18_54_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb1133518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1133518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1133518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:21:32.136425
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/21/image_17082025_13_21_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/21/image_17082025_13_21_34_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/13/21/image_17082025_13_21_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/21/image_17082025_13_21_14_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/13/20/image_17082025_13_21_04_10654.jpg', 2), ('/home/nano/Desktop/images/17082025/13/20/image_17082025_13_20_54_9657.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9d4b2518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d4b2518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d4b2518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:23:47.272415
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/23/image_17082025_13_23_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/23/image_17082025_13_23_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/13/23/image_17082025_13_23_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/23/image_17082025_13_23_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/13/22/image_17082025_13_23_04_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/13/22/image_17082025_13_22_54_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb092a518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb092a518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb092a518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:26:03.009135
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/25/image_17082025_13_25_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/13/25/image_17082025_13_25_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/13/25/image_17082025_13_25_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/13/24/image_17082025_13_25_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/13/24/image_17082025_13_24_54_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/13/24/image_17082025_13_24_44_9653.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8acbf518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8acbf518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8acbf518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:28:16.833990
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/28/image_17082025_13_28_34_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/13/28/image_17082025_13_28_14_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/13/27/image_17082025_13_28_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/27/image_17082025_13_27_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/27/image_17082025_13_27_44_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/13/27/image_17082025_13_27_34_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f84de5518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84de5518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84de5518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:30:32.052366
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/30/image_17082025_13_30_44_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/13/30/image_17082025_13_30_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/13/30/image_17082025_13_30_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/13/30/image_17082025_13_30_14_9669.jpg', 2), ('/home/nano/Desktop/images/17082025/13/29/image_17082025_13_30_04_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/13/29/image_17082025_13_29_54_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8eb92518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8eb92518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8eb92518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:32:47.306696
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/32/image_17082025_13_32_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/13/32/image_17082025_13_32_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/13/32/image_17082025_13_32_25_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/13/32/image_17082025_13_32_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/13/31/image_17082025_13_32_04_10658.jpg', 2), ('/home/nano/Desktop/images/17082025/13/31/image_17082025_13_31_54_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa273e4a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa273e4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa273e4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:35:03.005292
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/34/image_17082025_13_34_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/13/34/image_17082025_13_34_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/34/image_17082025_13_34_24_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/13/34/image_17082025_13_34_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/13/33/image_17082025_13_34_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_54_10646.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7695e518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7695e518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7695e518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:37:16.825743
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/37/image_17082025_13_37_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/37/image_17082025_13_37_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/13/37/image_17082025_13_37_14_10685.jpg', 2), ('/home/nano/Desktop/images/17082025/13/36/image_17082025_13_37_04_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/36/image_17082025_13_36_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/36/image_17082025_13_36_34_9636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7e47b518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e47b518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e47b518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:39:32.019117
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_14_9668.jpg', 2), ('/home/nano/Desktop/images/17082025/13/38/image_17082025_13_39_04_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/13/38/image_17082025_13_38_54_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb04764a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb04764a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb04764a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:41:47.218421
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_25_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/13/40/image_17082025_13_41_04_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/13/40/image_17082025_13_40_54_9655.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f98a05518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98a05518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98a05518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:44:03.109978
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/43/image_17082025_13_43_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/43/image_17082025_13_43_34_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/13/43/image_17082025_13_43_24_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/13/43/image_17082025_13_43_14_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/13/42/image_17082025_13_43_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/13/42/image_17082025_13_42_54_10648.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa8726518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8726518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8726518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:46:17.741834
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/46/image_17082025_13_46_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/46/image_17082025_13_46_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/13/46/image_17082025_13_46_14_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/13/45/image_17082025_13_46_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/13/45/image_17082025_13_45_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/45/image_17082025_13_45_44_10649.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f834f0518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f834f0518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f834f0518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:48:31.899999
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_14_9668.jpg', 2), ('/home/nano/Desktop/images/17082025/13/47/image_17082025_13_48_05_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/13/47/image_17082025_13_47_54_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f83982518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83982518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83982518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:50:47.091284
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/50/image_17082025_13_50_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/50/image_17082025_13_50_34_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/13/50/image_17082025_13_50_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/50/image_17082025_13_50_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/13/49/image_17082025_13_50_04_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_54_9653.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f78fd1518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78fd1518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78fd1518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:53:02.914340
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/52/image_17082025_13_52_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/52/image_17082025_13_52_24_10644.jpg', 2), ('/home/nano/Desktop/images/17082025/13/51/image_17082025_13_52_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/13/51/image_17082025_13_51_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/13/51/image_17082025_13_51_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/51/image_17082025_13_51_34_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7e8a3518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e8a3518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e8a3518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:55:17.649549
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/55/image_17082025_13_55_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/13/55/image_17082025_13_55_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/55/image_17082025_13_55_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/55/image_17082025_13_55_14_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/13/54/image_17082025_13_55_04_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/13/54/image_17082025_13_54_54_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9d5bb518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d5bb518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d5bb518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:57:31.867538
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 13:58:02.253341
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/57/image_17082025_13_57_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/13/57/image_17082025_13_57_35_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/13/57/image_17082025_13_57_24_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/13/57/image_17082025_13_57_14_9703.jpg', 2), ('/home/nano/Desktop/images/17082025/13/56/image_17082025_13_57_05_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/13/56/image_17082025_13_56_54_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa6087518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6087518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6087518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:00:17.101761
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/00/image_17082025_14_00_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/00/image_17082025_14_00_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/00/image_17082025_14_00_24_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/14/00/image_17082025_14_00_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/13/59/image_17082025_14_00_04_10661.jpg', 2), ('/home/nano/Desktop/images/17082025/13/59/image_17082025_13_59_54_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa1a494a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1a494a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1a494a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:02:32.360408
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/02/image_17082025_14_02_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/02/image_17082025_14_02_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/02/image_17082025_14_02_24_10655.jpg', 2), ('/home/nano/Desktop/images/17082025/14/02/image_17082025_14_02_14_9689.jpg', 2), ('/home/nano/Desktop/images/17082025/14/01/image_17082025_14_02_04_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/14/01/image_17082025_14_01_54_10649.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8d4d54a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d4d54a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d4d54a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:04:47.597041
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/04/image_17082025_14_04_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/14/04/image_17082025_14_04_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/14/04/image_17082025_14_04_15_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/14/03/image_17082025_14_04_04_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/03/image_17082025_14_03_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/03/image_17082025_14_03_44_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7d683518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d683518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d683518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:07:02.362869
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/06/image_17082025_14_06_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/06/image_17082025_14_06_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/14/06/image_17082025_14_06_14_10691.jpg', 2), ('/home/nano/Desktop/images/17082025/14/05/image_17082025_14_06_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/14/05/image_17082025_14_05_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/05/image_17082025_14_05_34_9636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9dc74518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9dc74518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9dc74518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:09:17.160505
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/09/image_17082025_14_09_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/14/09/image_17082025_14_09_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/14/09/image_17082025_14_09_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/14/09/image_17082025_14_09_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/14/08/image_17082025_14_09_04_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/14/08/image_17082025_14_08_44_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa75bc518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa75bc518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa75bc518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:11:32.405556
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/11/image_17082025_14_11_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/11/image_17082025_14_11_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/11/image_17082025_14_11_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/14/11/image_17082025_14_11_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/14/10/image_17082025_14_11_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/14/10/image_17082025_14_10_54_10648.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8dfdf518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8dfdf518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8dfdf518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:13:47.623453
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/13/image_17082025_14_13_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/13/image_17082025_14_13_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/13/image_17082025_14_13_15_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/14/12/image_17082025_14_13_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/12/image_17082025_14_12_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/12/image_17082025_14_12_44_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8c13b518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c13b518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c13b518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:16:02.357545
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/15/image_17082025_14_15_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/15/image_17082025_14_15_34_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/14/15/image_17082025_14_15_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/15/image_17082025_14_15_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/14/14/image_17082025_14_15_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/14/image_17082025_14_14_54_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fadf22518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadf22518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadf22518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:18:17.140422
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/18/image_17082025_14_18_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/14/18/image_17082025_14_18_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/18/image_17082025_14_18_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/14/17/image_17082025_14_18_04_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/14/17/image_17082025_14_17_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/17/image_17082025_14_17_44_9643.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa09ef518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa09ef518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa09ef518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:20:32.310948
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/20/image_17082025_14_20_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/14/20/image_17082025_14_20_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/20/image_17082025_14_20_24_10679.jpg', 2), ('/home/nano/Desktop/images/17082025/14/20/image_17082025_14_20_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/14/19/image_17082025_14_20_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/14/19/image_17082025_14_19_54_10664.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f85d81518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85d81518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85d81518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:22:47.526479
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/22/image_17082025_14_22_45_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/22/image_17082025_14_22_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/22/image_17082025_14_22_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/22/image_17082025_14_22_14_9669.jpg', 2), ('/home/nano/Desktop/images/17082025/14/21/image_17082025_14_22_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/14/21/image_17082025_14_21_54_10649.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f91b46518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91b46518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91b46518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:25:02.308580
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/24/image_17082025_14_24_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/24/image_17082025_14_24_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/24/image_17082025_14_24_24_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/14/24/image_17082025_14_24_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/14/23/image_17082025_14_24_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/23/image_17082025_14_23_54_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f78bb5518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78bb5518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78bb5518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:27:17.000356
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/27/image_17082025_14_27_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/27/image_17082025_14_27_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/14/27/image_17082025_14_27_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/27/image_17082025_14_27_14_9673.jpg', 2), ('/home/nano/Desktop/images/17082025/14/26/image_17082025_14_27_04_10658.jpg', 2), ('/home/nano/Desktop/images/17082025/14/26/image_17082025_14_26_54_9640.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8a051518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a051518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a051518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:29:32.259987
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/29/image_17082025_14_29_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/29/image_17082025_14_29_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/29/image_17082025_14_29_25_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/14/28/image_17082025_14_29_04_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/14/28/image_17082025_14_28_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/14/28/image_17082025_14_28_44_9640.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f81060518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81060518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81060518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:31:47.448640
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/14/30/image_17082025_14_31_04_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_54_10647.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fabfd8518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fabfd8518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fabfd8518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:34:02.500742
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_15_10686.jpg', 2), ('/home/nano/Desktop/images/17082025/14/32/image_17082025_14_33_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/14/32/image_17082025_14_32_54_9636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa49e3518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa49e3518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa49e3518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:36:17.007501
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/36/image_17082025_14_36_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/36/image_17082025_14_36_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/36/image_17082025_14_36_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/14/36/image_17082025_14_36_14_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/14/35/image_17082025_14_36_05_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/14/35/image_17082025_14_35_54_9641.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7d22f518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d22f518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d22f518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:38:32.205618
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/38/image_17082025_14_38_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/38/image_17082025_14_38_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/14/38/image_17082025_14_38_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/14/38/image_17082025_14_38_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/14/37/image_17082025_14_38_04_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/37/image_17082025_14_37_54_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7d8d3518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d8d3518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d8d3518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:40:47.417582
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/40/image_17082025_14_40_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/40/image_17082025_14_40_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/40/image_17082025_14_40_24_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/14/39/image_17082025_14_40_04_9676.jpg', 2), ('/home/nano/Desktop/images/17082025/14/39/image_17082025_14_39_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/39/image_17082025_14_39_44_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faea7e518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faea7e518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faea7e518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:43:03.247578
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/42/image_17082025_14_42_44_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/14/42/image_17082025_14_42_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/42/image_17082025_14_42_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/42/image_17082025_14_42_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/14/41/image_17082025_14_42_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/14/41/image_17082025_14_41_54_10646.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb6063518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb6063518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb6063518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:45:16.987620
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/45/image_17082025_14_45_44_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/14/45/image_17082025_14_45_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/45/image_17082025_14_45_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/45/image_17082025_14_45_14_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/14/44/image_17082025_14_45_05_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/14/44/image_17082025_14_44_54_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8c8914a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c8914a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c8914a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:47:32.154429
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_14_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/14/46/image_17082025_14_47_04_10660.jpg', 2), ('/home/nano/Desktop/images/17082025/14/46/image_17082025_14_46_54_9640.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7fe91518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7fe91518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7fe91518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:49:47.329608
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/49/image_17082025_14_49_44_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/14/49/image_17082025_14_49_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/49/image_17082025_14_49_24_10655.jpg', 2), ('/home/nano/Desktop/images/17082025/14/49/image_17082025_14_49_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/14/48/image_17082025_14_49_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/14/48/image_17082025_14_48_55_10645.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8b52b518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b52b518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b52b518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:52:03.037076
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/14/50/image_17082025_14_51_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/14/50/image_17082025_14_50_54_10664.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8269e518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8269e518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8269e518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:54:16.962226
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/54/image_17082025_14_54_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/14/54/image_17082025_14_54_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/14/54/image_17082025_14_54_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/14/54/image_17082025_14_54_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/14/53/image_17082025_14_54_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/14/53/image_17082025_14_53_54_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8bfbf4a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bfbf4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bfbf4a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:56:32.154395
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 14:58:02.576685
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_14_9683.jpg', 2), ('/home/nano/Desktop/images/17082025/14/56/image_17082025_14_57_04_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/14/56/image_17082025_14_56_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/56/image_17082025_14_56_44_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8d37f518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d37f518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d37f518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:00:17.654412
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/00/image_17082025_15_00_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/00/image_17082025_15_00_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/00/image_17082025_15_00_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/14/59/image_17082025_15_00_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_44_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9916e518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9916e518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9916e518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:02:31.858032
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/15/01/image_17082025_15_02_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_54_9637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7e489518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e489518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e489518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:04:47.083296
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/04/image_17082025_15_04_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/15/04/image_17082025_15_04_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/15/04/image_17082025_15_04_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/04/image_17082025_15_04_14_9668.jpg', 2), ('/home/nano/Desktop/images/17082025/15/03/image_17082025_15_03_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/15/03/image_17082025_15_03_44_10648.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f96ef8518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96ef8518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96ef8518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:07:02.865784
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/06/image_17082025_15_06_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/15/06/image_17082025_15_06_34_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/15/06/image_17082025_15_06_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/06/image_17082025_15_06_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/15/05/image_17082025_15_06_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/15/05/image_17082025_15_05_54_9655.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa749c518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa749c518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa749c518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:09:17.597968
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/09/image_17082025_15_09_44_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/15/09/image_17082025_15_09_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/09/image_17082025_15_09_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/09/image_17082025_15_09_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/15/08/image_17082025_15_09_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/15/08/image_17082025_15_08_44_9639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9f90d518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f90d518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f90d518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:11:31.832737
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/11/image_17082025_15_11_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/11/image_17082025_15_11_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/11/image_17082025_15_11_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/15/11/image_17082025_15_11_14_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/15/10/image_17082025_15_11_04_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/10/image_17082025_15_10_54_9638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f89a99518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89a99518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89a99518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:13:47.033732
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/13/image_17082025_15_13_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/15/13/image_17082025_15_13_34_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/15/13/image_17082025_15_13_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/15/13/image_17082025_15_13_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/15/12/image_17082025_15_13_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/15/12/image_17082025_15_12_54_9636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9ac68518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ac68518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ac68518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:16:02.978289
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/15/image_17082025_15_15_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/15/14/image_17082025_15_15_04_10654.jpg', 2), ('/home/nano/Desktop/images/17082025/15/14/image_17082025_15_14_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/14/image_17082025_15_14_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/14/image_17082025_15_14_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/14/image_17082025_15_14_24_9655.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa9cd44a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9cd44a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9cd44a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:18:17.552531
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_14_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/15/17/image_17082025_15_18_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/15/17/image_17082025_15_17_54_10648.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7d6cb518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d6cb518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d6cb518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:20:32.744652
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/20/image_17082025_15_20_44_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/15/20/image_17082025_15_20_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/20/image_17082025_15_20_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/20/image_17082025_15_20_15_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/15/19/image_17082025_15_20_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/15/19/image_17082025_15_19_54_10646.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb2e144a8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2e144a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2e144a8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:22:46.986602
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/22/image_17082025_15_22_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/15/22/image_17082025_15_22_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/22/image_17082025_15_22_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/15/21/image_17082025_15_22_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/15/21/image_17082025_15_21_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/21/image_17082025_15_21_44_10644.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f875e0518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f875e0518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f875e0518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:25:03.211095
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/24/image_17082025_15_24_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/24/image_17082025_15_24_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/15/24/image_17082025_15_24_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/24/image_17082025_15_24_14_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/15/23/image_17082025_15_23_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/23/image_17082025_15_23_44_9636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9c2c0518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c2c0518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c2c0518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:27:17.547186
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/27/image_17082025_15_27_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/27/image_17082025_15_27_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/27/image_17082025_15_27_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/15/27/image_17082025_15_27_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/15/26/image_17082025_15_26_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/15/26/image_17082025_15_26_44_9657.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa85e2518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa85e2518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa85e2518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:29:31.815639
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/29/image_17082025_15_29_45_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/15/29/image_17082025_15_29_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/29/image_17082025_15_29_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/15/29/image_17082025_15_29_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/15/28/image_17082025_15_29_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/15/28/image_17082025_15_28_54_10647.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7b696518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b696518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b696518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:31:46.977245
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/31/image_17082025_15_31_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/15/31/image_17082025_15_31_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/31/image_17082025_15_31_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/31/image_17082025_15_31_14_10688.jpg', 2), ('/home/nano/Desktop/images/17082025/15/30/image_17082025_15_31_04_9669.jpg', 2), ('/home/nano/Desktop/images/17082025/15/30/image_17082025_15_30_54_9656.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9373b518>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9373b518>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9373b518>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:34:02.935736
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
error with portfolio, creating one with hour/min
Maybe name is duplicate : Sevran_3025_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 DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_35_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/15/32/image_17082025_15_33_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/15/32/image_17082025_15_32_54_9638.jpg', 2)]
 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>8aef044ce</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>8aef05nhp</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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:35:17.485041
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/35/image_17082025_15_35_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/35/image_17082025_15_35_34_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/15/35/image_17082025_15_35_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/15/35/image_17082025_15_35_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/15/34/image_17082025_15_35_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/15/34/image_17082025_15_34_54_9645.jpg', 2)]
{'error': 'Invalid access_token'}
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17082025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 92, in create_portfolio
    portfolio_id = res_json['portfolio_id']
KeyError: 'portfolio_id'
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:35:32.536012
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_17082025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
4892
3551269
4892
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/35/image_17082025_15_35_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/35/image_17082025_15_35_34_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/15/35/image_17082025_15_35_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/15/35/image_17082025_15_35_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/15/34/image_17082025_15_35_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/15/34/image_17082025_15_34_54_9645.jpg', 2)]
{'portfolio_id': 26044662, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1755437793000}
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/35/image_17082025_15_35_44_9636.jpg', '/home/nano/Desktop/images/17082025/15/35/image_17082025_15_35_34_10665.jpg', '/home/nano/Desktop/images/17082025/15/35/image_17082025_15_35_24_9642.jpg', '/home/nano/Desktop/images/17082025/15/35/image_17082025_15_35_14_9659.jpg', '/home/nano/Desktop/images/17082025/15/34/image_17082025_15_35_04_10665.jpg', '/home/nano/Desktop/images/17082025/15/34/image_17082025_15_34_54_9645.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/35/image_17082025_15_35_44_9636.jpg
/home/nano/Desktop/images/17082025/15/35/image_17082025_15_35_34_10665.jpg
/home/nano/Desktop/images/17082025/15/35/image_17082025_15_35_24_9642.jpg
/home/nano/Desktop/images/17082025/15/35/image_17082025_15_35_14_9659.jpg
/home/nano/Desktop/images/17082025/15/34/image_17082025_15_35_04_10665.jpg
/home/nano/Desktop/images/17082025/15/34/image_17082025_15_34_54_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669749","1377669742","1377669745","1377669753","1377669752","1377669746"],"photo_ids_order":["1377669742","1377669745","1377669746","1377669749","1377669752","1377669753"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3e23f979354bbcc49a9c7d2cc2201534.jpg","text":"TemporaryFile(/tmp/multipartBody6267556952687162074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437797524,"filename":"image_17082025_15_35_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d04ae7cd0761cdcfb61f02dcf2ba9373.jpg","text":"TemporaryFile(/tmp/multipartBody4708616219728201060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437797524,"filename":"image_17082025_15_35_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6beebc087de0f2f6c299ea2bd4aaaecb.jpg","text":"TemporaryFile(/tmp/multipartBody2256473288840571507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437797524,"filename":"image_17082025_15_35_34_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6179087f239e4daf45efda634c759772.jpg","text":"TemporaryFile(/tmp/multipartBody9115736788275372307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437797524,"filename":"image_17082025_15_34_54_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2eb736c4f2221961a763944cc95cbd6b.jpg","text":"TemporaryFile(/tmp/multipartBody822905571132713258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437797524,"filename":"image_17082025_15_35_04_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b24774b19283acca3610d894d068309c.jpg","text":"TemporaryFile(/tmp/multipartBody8413225409656797948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437797524,"filename":"image_17082025_15_35_24_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669746","file1":"1377669745","file0":"1377669742","file4":"1377669752","file5":"1377669753","file3":"1377669749"},"map_files_photo_id_array":[{"photo_id":"1377669753","filename":"file5"},{"photo_id":"1377669746","filename":"file2"},{"photo_id":"1377669752","filename":"file4"},{"photo_id":"1377669745","filename":"file1"},{"photo_id":"1377669742","filename":"file0"},{"photo_id":"1377669749","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377669749":["hashtag1","hashtag2"]},{"1377669742":["hashtag1","hashtag2"]},{"1377669745":["hashtag1","hashtag2"]},{"1377669753":["hashtag1","hashtag2"]},{"1377669752":["hashtag1","hashtag2"]},{"1377669746":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377669749, 1377669742, 1377669745, 1377669753, 1377669752, 1377669746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.65651321411133 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:36:17.525932
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/36/image_17082025_15_36_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/36/image_17082025_15_36_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/36/image_17082025_15_36_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/36/image_17082025_15_36_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/15/35/image_17082025_15_36_04_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/15/35/image_17082025_15_35_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/36/image_17082025_15_36_44_9639.jpg', '/home/nano/Desktop/images/17082025/15/36/image_17082025_15_36_34_10647.jpg', '/home/nano/Desktop/images/17082025/15/36/image_17082025_15_36_24_9638.jpg', '/home/nano/Desktop/images/17082025/15/36/image_17082025_15_36_14_9655.jpg', '/home/nano/Desktop/images/17082025/15/35/image_17082025_15_36_04_10649.jpg', '/home/nano/Desktop/images/17082025/15/35/image_17082025_15_35_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/36/image_17082025_15_36_44_9639.jpg
/home/nano/Desktop/images/17082025/15/36/image_17082025_15_36_34_10647.jpg
/home/nano/Desktop/images/17082025/15/36/image_17082025_15_36_24_9638.jpg
/home/nano/Desktop/images/17082025/15/36/image_17082025_15_36_14_9655.jpg
/home/nano/Desktop/images/17082025/15/35/image_17082025_15_36_04_10649.jpg
/home/nano/Desktop/images/17082025/15/35/image_17082025_15_35_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669775","1377669760","1377669765","1377669768","1377669762","1377669770"],"photo_ids_order":["1377669760","1377669762","1377669765","1377669768","1377669770","1377669775"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/47583094214a57c85278b1a6e7cb34d4.jpg","text":"TemporaryFile(/tmp/multipartBody2881706731561203733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437839257,"filename":"image_17082025_15_35_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4f406fbca737cf82717c0b299984a72a.jpg","text":"TemporaryFile(/tmp/multipartBody4022065578403075098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437839257,"filename":"image_17082025_15_36_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bd04f11f8ed720062121a077d93ecabb.jpg","text":"TemporaryFile(/tmp/multipartBody8133659821166183936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437839257,"filename":"image_17082025_15_36_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d471378f4fa3a3edd913a9d8be8c0ef7.jpg","text":"TemporaryFile(/tmp/multipartBody6814487372226223102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437839257,"filename":"image_17082025_15_36_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c013a4259d96ffc3a36fc0006ae18428.jpg","text":"TemporaryFile(/tmp/multipartBody1041257769109821491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437839257,"filename":"image_17082025_15_36_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/084c28cc54e6e42339672d8108ea7996.jpg","text":"TemporaryFile(/tmp/multipartBody3962905261545010574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437839257,"filename":"image_17082025_15_36_04_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669765","file1":"1377669762","file0":"1377669760","file4":"1377669770","file5":"1377669775","file3":"1377669768"},"map_files_photo_id_array":[{"photo_id":"1377669775","filename":"file5"},{"photo_id":"1377669765","filename":"file2"},{"photo_id":"1377669770","filename":"file4"},{"photo_id":"1377669762","filename":"file1"},{"photo_id":"1377669760","filename":"file0"},{"photo_id":"1377669768","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377669775":["hashtag1","hashtag2"]},{"1377669760":["hashtag1","hashtag2"]},{"1377669765":["hashtag1","hashtag2"]},{"1377669768":["hashtag1","hashtag2"]},{"1377669762":["hashtag1","hashtag2"]},{"1377669770":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377669775, 1377669760, 1377669765, 1377669768, 1377669762, 1377669770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.53437519073486 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:37:03.280980
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/34/image_17082025_15_34_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/34/image_17082025_15_34_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/34/image_17082025_15_34_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/34/image_17082025_15_34_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/15/33/image_17082025_15_34_04_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/34/image_17082025_15_34_44_9638.jpg', '/home/nano/Desktop/images/17082025/15/34/image_17082025_15_34_34_10647.jpg', '/home/nano/Desktop/images/17082025/15/34/image_17082025_15_34_24_9638.jpg', '/home/nano/Desktop/images/17082025/15/34/image_17082025_15_34_14_9657.jpg', '/home/nano/Desktop/images/17082025/15/33/image_17082025_15_34_04_10666.jpg', '/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/34/image_17082025_15_34_44_9638.jpg
/home/nano/Desktop/images/17082025/15/34/image_17082025_15_34_34_10647.jpg
/home/nano/Desktop/images/17082025/15/34/image_17082025_15_34_24_9638.jpg
/home/nano/Desktop/images/17082025/15/34/image_17082025_15_34_14_9657.jpg
/home/nano/Desktop/images/17082025/15/33/image_17082025_15_34_04_10666.jpg
/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669796","1377669784","1377669792","1377669794","1377669782","1377669791"],"photo_ids_order":["1377669782","1377669784","1377669791","1377669792","1377669794","1377669796"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ac31810ab381852003996db2e9cfd83b.jpg","text":"TemporaryFile(/tmp/multipartBody4110534503729952801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437884922,"filename":"image_17082025_15_33_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/39b31121fd99c4eba938307ed1c26cda.jpg","text":"TemporaryFile(/tmp/multipartBody1992862605250211783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437884922,"filename":"image_17082025_15_34_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/131205ff2690929493277077d8cff148.jpg","text":"TemporaryFile(/tmp/multipartBody2416818141161247599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437884922,"filename":"image_17082025_15_34_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2b5d2f5298c803fa5f35409492cf10c9.jpg","text":"TemporaryFile(/tmp/multipartBody495528131883009958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437884922,"filename":"image_17082025_15_34_04_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5229935543c86e775474aa2f3342f144.jpg","text":"TemporaryFile(/tmp/multipartBody2773584554633998622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437884922,"filename":"image_17082025_15_34_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c62cfc69415d81670f1f5c71a71bdc87.jpg","text":"TemporaryFile(/tmp/multipartBody8528060725439416407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437884922,"filename":"image_17082025_15_34_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669791","file1":"1377669784","file0":"1377669782","file4":"1377669794","file5":"1377669796","file3":"1377669792"},"map_files_photo_id_array":[{"photo_id":"1377669796","filename":"file5"},{"photo_id":"1377669791","filename":"file2"},{"photo_id":"1377669794","filename":"file4"},{"photo_id":"1377669784","filename":"file1"},{"photo_id":"1377669782","filename":"file0"},{"photo_id":"1377669792","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377669796":["hashtag1","hashtag2"]},{"1377669784":["hashtag1","hashtag2"]},{"1377669792":["hashtag1","hashtag2"]},{"1377669794":["hashtag1","hashtag2"]},{"1377669782":["hashtag1","hashtag2"]},{"1377669791":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377669796, 1377669784, 1377669792, 1377669794, 1377669782, 1377669791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77627086639404 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:37:47.596284
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_24_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/15/36/image_17082025_15_36_55_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_44_9640.jpg', '/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_34_9639.jpg', '/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_24_10653.jpg', '/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_14_9660.jpg', '/home/nano/Desktop/images/17082025/15/36/image_17082025_15_36_55_10648.jpg', '/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_44_9640.jpg
/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_34_9639.jpg
/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_24_10653.jpg
/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_14_9660.jpg
/home/nano/Desktop/images/17082025/15/36/image_17082025_15_36_55_10648.jpg
/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_44_9638.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5721423625946045 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:38:03.101064
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_24_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/15/36/image_17082025_15_36_55_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_44_9640.jpg', '/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_34_9639.jpg', '/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_24_10653.jpg', '/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_14_9660.jpg', '/home/nano/Desktop/images/17082025/15/36/image_17082025_15_36_55_10648.jpg', '/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_44_9640.jpg
/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_34_9639.jpg
/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_24_10653.jpg
/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_14_9660.jpg
/home/nano/Desktop/images/17082025/15/36/image_17082025_15_36_55_10648.jpg
/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_44_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669827","1377669823","1377669811","1377669820","1377669830","1377669824"],"photo_ids_order":["1377669811","1377669820","1377669823","1377669824","1377669827","1377669830"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2f5375bb4db73c8130b44d3728bb6a54.jpg","text":"TemporaryFile(/tmp/multipartBody6130932633204949919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437945129,"filename":"image_17082025_15_36_55_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8842c2fd7e6f904c15983e4bff40986f.jpg","text":"TemporaryFile(/tmp/multipartBody8274516027622285274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437945129,"filename":"image_17082025_15_37_24_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fd35f4533da106b1731846a147202163.jpg","text":"TemporaryFile(/tmp/multipartBody6269389296268609998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437945129,"filename":"image_17082025_15_37_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a2028670651d661e0ca2c98454f90655.jpg","text":"TemporaryFile(/tmp/multipartBody4745052075936046217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437945129,"filename":"image_17082025_15_37_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/06b1874e4380a83903dd8897a67d4697.jpg","text":"TemporaryFile(/tmp/multipartBody5529336198752211934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437945129,"filename":"image_17082025_15_33_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/745e976fde827e9774d0122e15dd31cd.jpg","text":"TemporaryFile(/tmp/multipartBody6215267421228687359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437945129,"filename":"image_17082025_15_37_14_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669823","file1":"1377669820","file0":"1377669811","file4":"1377669827","file5":"1377669830","file3":"1377669824"},"map_files_photo_id_array":[{"photo_id":"1377669830","filename":"file5"},{"photo_id":"1377669823","filename":"file2"},{"photo_id":"1377669827","filename":"file4"},{"photo_id":"1377669820","filename":"file1"},{"photo_id":"1377669811","filename":"file0"},{"photo_id":"1377669824","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377669827":["hashtag1","hashtag2"]},{"1377669823":["hashtag1","hashtag2"]},{"1377669811":["hashtag1","hashtag2"]},{"1377669820":["hashtag1","hashtag2"]},{"1377669830":["hashtag1","hashtag2"]},{"1377669824":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377669827, 1377669823, 1377669811, 1377669820, 1377669830, 1377669824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38934278488159 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:38:47.728526
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/38/image_17082025_15_38_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/38/image_17082025_15_38_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/15/38/image_17082025_15_38_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/15/38/image_17082025_15_38_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/15/37/image_17082025_15_38_04_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/38/image_17082025_15_38_44_9638.jpg', '/home/nano/Desktop/images/17082025/15/38/image_17082025_15_38_34_9640.jpg', '/home/nano/Desktop/images/17082025/15/38/image_17082025_15_38_24_10650.jpg', '/home/nano/Desktop/images/17082025/15/38/image_17082025_15_38_14_9660.jpg', '/home/nano/Desktop/images/17082025/15/37/image_17082025_15_38_04_9662.jpg', '/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/38/image_17082025_15_38_44_9638.jpg
/home/nano/Desktop/images/17082025/15/38/image_17082025_15_38_34_9640.jpg
/home/nano/Desktop/images/17082025/15/38/image_17082025_15_38_24_10650.jpg
/home/nano/Desktop/images/17082025/15/38/image_17082025_15_38_14_9660.jpg
/home/nano/Desktop/images/17082025/15/37/image_17082025_15_38_04_9662.jpg
/home/nano/Desktop/images/17082025/15/37/image_17082025_15_37_54_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669848","1377669836","1377669850","1377669838","1377669840","1377669837"],"photo_ids_order":["1377669836","1377669837","1377669838","1377669840","1377669848","1377669850"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b14f9dc8f9805e9625fbfa53b42cc326.jpg","text":"TemporaryFile(/tmp/multipartBody1027966688072487205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437990879,"filename":"image_17082025_15_38_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0709203c01962715ea7ede4e77f07638.jpg","text":"TemporaryFile(/tmp/multipartBody7399632958669945605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437990879,"filename":"image_17082025_15_38_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b5bf2152128eb2ee6c44af54ad54c97d.jpg","text":"TemporaryFile(/tmp/multipartBody6531150432012601484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437990879,"filename":"image_17082025_15_37_54_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/83d307ab6604060e1bcc3b14da43fcb1.jpg","text":"TemporaryFile(/tmp/multipartBody4495229999752214706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437990879,"filename":"image_17082025_15_38_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/acce90102218cd37605b0bd3cfba5b79.jpg","text":"TemporaryFile(/tmp/multipartBody6446715511981195477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437990879,"filename":"image_17082025_15_38_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/01924e151d1923cf90047ad943fe00f0.jpg","text":"TemporaryFile(/tmp/multipartBody5197628027278578643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755437990879,"filename":"image_17082025_15_38_34_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669838","file1":"1377669837","file0":"1377669836","file4":"1377669848","file5":"1377669850","file3":"1377669840"},"map_files_photo_id_array":[{"photo_id":"1377669850","filename":"file5"},{"photo_id":"1377669838","filename":"file2"},{"photo_id":"1377669848","filename":"file4"},{"photo_id":"1377669837","filename":"file1"},{"photo_id":"1377669836","filename":"file0"},{"photo_id":"1377669840","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377669848":["hashtag1","hashtag2"]},{"1377669836":["hashtag1","hashtag2"]},{"1377669850":["hashtag1","hashtag2"]},{"1377669838":["hashtag1","hashtag2"]},{"1377669840":["hashtag1","hashtag2"]},{"1377669837":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377669848, 1377669836, 1377669850, 1377669838, 1377669840, 1377669837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90712881088257 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:39:31.887449
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/39/image_17082025_15_39_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/39/image_17082025_15_39_34_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/15/39/image_17082025_15_39_24_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/15/39/image_17082025_15_39_14_9687.jpg', 2), ('/home/nano/Desktop/images/17082025/15/38/image_17082025_15_39_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/38/image_17082025_15_38_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/39/image_17082025_15_39_44_9638.jpg', '/home/nano/Desktop/images/17082025/15/39/image_17082025_15_39_34_9657.jpg', '/home/nano/Desktop/images/17082025/15/39/image_17082025_15_39_24_10668.jpg', '/home/nano/Desktop/images/17082025/15/39/image_17082025_15_39_14_9687.jpg', '/home/nano/Desktop/images/17082025/15/38/image_17082025_15_39_04_9647.jpg', '/home/nano/Desktop/images/17082025/15/38/image_17082025_15_38_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/39/image_17082025_15_39_44_9638.jpg
/home/nano/Desktop/images/17082025/15/39/image_17082025_15_39_34_9657.jpg
/home/nano/Desktop/images/17082025/15/39/image_17082025_15_39_24_10668.jpg
/home/nano/Desktop/images/17082025/15/39/image_17082025_15_39_14_9687.jpg
/home/nano/Desktop/images/17082025/15/38/image_17082025_15_39_04_9647.jpg
/home/nano/Desktop/images/17082025/15/38/image_17082025_15_38_54_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669862","1377669856","1377669865","1377669864","1377669858","1377669860"],"photo_ids_order":["1377669856","1377669858","1377669860","1377669862","1377669864","1377669865"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f505119641e7d0fff6a0755db7e11c4d.jpg","text":"TemporaryFile(/tmp/multipartBody4462302656352941236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438033432,"filename":"image_17082025_15_39_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8636bb135a481fcf9e69bee46011f08a.jpg","text":"TemporaryFile(/tmp/multipartBody5399606258936007449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438033432,"filename":"image_17082025_15_39_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/912b916bedee753e897b20d2506a3fe8.jpg","text":"TemporaryFile(/tmp/multipartBody2619651504285134442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438033432,"filename":"image_17082025_15_38_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f0aee6a9060d9eccd597ba67336b7425.jpg","text":"TemporaryFile(/tmp/multipartBody2622296064301197601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438033432,"filename":"image_17082025_15_39_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/03755a7b1dc6d8221536a5c66d81f034.jpg","text":"TemporaryFile(/tmp/multipartBody761918494764152127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438033432,"filename":"image_17082025_15_39_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/212c07c3bb105e8710572d8155d286cc.jpg","text":"TemporaryFile(/tmp/multipartBody7804600163754318649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438033432,"filename":"image_17082025_15_39_24_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669860","file1":"1377669858","file0":"1377669856","file4":"1377669864","file5":"1377669865","file3":"1377669862"},"map_files_photo_id_array":[{"photo_id":"1377669865","filename":"file5"},{"photo_id":"1377669860","filename":"file2"},{"photo_id":"1377669864","filename":"file4"},{"photo_id":"1377669858","filename":"file1"},{"photo_id":"1377669856","filename":"file0"},{"photo_id":"1377669862","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377669862":["hashtag1","hashtag2"]},{"1377669856":["hashtag1","hashtag2"]},{"1377669865":["hashtag1","hashtag2"]},{"1377669864":["hashtag1","hashtag2"]},{"1377669858":["hashtag1","hashtag2"]},{"1377669860":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377669862, 1377669856, 1377669865, 1377669864, 1377669858, 1377669860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83686184883118 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:40:16.913609
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/40/image_17082025_15_40_45_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/15/40/image_17082025_15_40_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/40/image_17082025_15_40_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/15/39/image_17082025_15_40_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/15/39/image_17082025_15_39_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_35_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/40/image_17082025_15_40_45_10646.jpg', '/home/nano/Desktop/images/17082025/15/40/image_17082025_15_40_34_9638.jpg', '/home/nano/Desktop/images/17082025/15/40/image_17082025_15_40_14_9653.jpg', '/home/nano/Desktop/images/17082025/15/39/image_17082025_15_40_04_9656.jpg', '/home/nano/Desktop/images/17082025/15/39/image_17082025_15_39_54_10649.jpg', '/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_35_10646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/40/image_17082025_15_40_45_10646.jpg
/home/nano/Desktop/images/17082025/15/40/image_17082025_15_40_34_9638.jpg
/home/nano/Desktop/images/17082025/15/40/image_17082025_15_40_14_9653.jpg
/home/nano/Desktop/images/17082025/15/39/image_17082025_15_40_04_9656.jpg
/home/nano/Desktop/images/17082025/15/39/image_17082025_15_39_54_10649.jpg
/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_35_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669892","1377669885","1377669888","1377669881","1377669890","1377669878"],"photo_ids_order":["1377669878","1377669881","1377669885","1377669888","1377669890","1377669892"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9cc43165de78ccae83a8b87a52e7f096.jpg","text":"TemporaryFile(/tmp/multipartBody7152931875976005541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438078726,"filename":"image_17082025_15_33_35_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6e41f6a77e2c678ca23a67e2dfdf1024.jpg","text":"TemporaryFile(/tmp/multipartBody7127546652167373046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438078726,"filename":"image_17082025_15_40_14_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1b69b19b24563c087ce8dd2b6abc5278.jpg","text":"TemporaryFile(/tmp/multipartBody1184327030328656480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438078726,"filename":"image_17082025_15_40_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/28960cbbd211155c30aa163e14378607.jpg","text":"TemporaryFile(/tmp/multipartBody5137427119499063668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438078726,"filename":"image_17082025_15_40_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7126001b27d85b3e30a2488fea62da9d.jpg","text":"TemporaryFile(/tmp/multipartBody2887179007277386360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438078726,"filename":"image_17082025_15_39_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4fb0e26da32495cddfb54d1942c9ced0.jpg","text":"TemporaryFile(/tmp/multipartBody2603468095719095751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438078726,"filename":"image_17082025_15_40_45_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669885","file1":"1377669881","file0":"1377669878","file4":"1377669890","file5":"1377669892","file3":"1377669888"},"map_files_photo_id_array":[{"photo_id":"1377669892","filename":"file5"},{"photo_id":"1377669885","filename":"file2"},{"photo_id":"1377669890","filename":"file4"},{"photo_id":"1377669881","filename":"file1"},{"photo_id":"1377669878","filename":"file0"},{"photo_id":"1377669888","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377669892":["hashtag1","hashtag2"]},{"1377669885":["hashtag1","hashtag2"]},{"1377669888":["hashtag1","hashtag2"]},{"1377669881":["hashtag1","hashtag2"]},{"1377669890":["hashtag1","hashtag2"]},{"1377669878":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377669892, 1377669885, 1377669888, 1377669881, 1377669890, 1377669878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3897168636322 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:41:02.782366
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/15/32/image_17082025_15_33_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/15/32/image_17082025_15_32_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/32/image_17082025_15_32_44_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/15/32/image_17082025_15_32_34_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_24_9639.jpg', '/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_14_10664.jpg', '/home/nano/Desktop/images/17082025/15/32/image_17082025_15_33_04_9646.jpg', '/home/nano/Desktop/images/17082025/15/32/image_17082025_15_32_54_9638.jpg', '/home/nano/Desktop/images/17082025/15/32/image_17082025_15_32_44_10666.jpg', '/home/nano/Desktop/images/17082025/15/32/image_17082025_15_32_34_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_24_9639.jpg
/home/nano/Desktop/images/17082025/15/33/image_17082025_15_33_14_10664.jpg
/home/nano/Desktop/images/17082025/15/32/image_17082025_15_33_04_9646.jpg
/home/nano/Desktop/images/17082025/15/32/image_17082025_15_32_54_9638.jpg
/home/nano/Desktop/images/17082025/15/32/image_17082025_15_32_44_10666.jpg
/home/nano/Desktop/images/17082025/15/32/image_17082025_15_32_34_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669914","1377669910","1377669909","1377669903","1377669912","1377669899"],"photo_ids_order":["1377669899","1377669903","1377669909","1377669910","1377669912","1377669914"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/868a7c5144092f619764db88e9cbf53b.jpg","text":"TemporaryFile(/tmp/multipartBody2006446611951575615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438124771,"filename":"image_17082025_15_32_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2e7be81f22b8e7ae1603649da4313947.jpg","text":"TemporaryFile(/tmp/multipartBody3930811909958024040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438124771,"filename":"image_17082025_15_32_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4c344da310fb9f53ae9085a24e470215.jpg","text":"TemporaryFile(/tmp/multipartBody9132346880326834971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438124771,"filename":"image_17082025_15_33_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/76ad5ca6e0eb201eb2941bb5612b554b.jpg","text":"TemporaryFile(/tmp/multipartBody2116113003785707025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438124771,"filename":"image_17082025_15_33_14_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7b6c113745ca68ef3cff0da1a48114ed.jpg","text":"TemporaryFile(/tmp/multipartBody7554939639141313341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438124771,"filename":"image_17082025_15_32_44_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f4983bda8ae406dee283b679a23a6b4d.jpg","text":"TemporaryFile(/tmp/multipartBody5625127355925265784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438124771,"filename":"image_17082025_15_33_24_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669909","file1":"1377669903","file0":"1377669899","file4":"1377669912","file5":"1377669914","file3":"1377669910"},"map_files_photo_id_array":[{"photo_id":"1377669914","filename":"file5"},{"photo_id":"1377669909","filename":"file2"},{"photo_id":"1377669912","filename":"file4"},{"photo_id":"1377669903","filename":"file1"},{"photo_id":"1377669899","filename":"file0"},{"photo_id":"1377669910","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377669914":["hashtag1","hashtag2"]},{"1377669910":["hashtag1","hashtag2"]},{"1377669909":["hashtag1","hashtag2"]},{"1377669903":["hashtag1","hashtag2"]},{"1377669912":["hashtag1","hashtag2"]},{"1377669899":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377669914, 1377669910, 1377669909, 1377669903, 1377669912, 1377669899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.012099266052246 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:41:47.056752
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/41/image_17082025_15_41_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/15/41/image_17082025_15_41_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/41/image_17082025_15_41_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/41/image_17082025_15_41_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/15/40/image_17082025_15_41_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/40/image_17082025_15_40_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/41/image_17082025_15_41_44_10646.jpg', '/home/nano/Desktop/images/17082025/15/41/image_17082025_15_41_34_9639.jpg', '/home/nano/Desktop/images/17082025/15/41/image_17082025_15_41_24_9637.jpg', '/home/nano/Desktop/images/17082025/15/41/image_17082025_15_41_14_10669.jpg', '/home/nano/Desktop/images/17082025/15/40/image_17082025_15_41_04_9647.jpg', '/home/nano/Desktop/images/17082025/15/40/image_17082025_15_40_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/41/image_17082025_15_41_44_10646.jpg
/home/nano/Desktop/images/17082025/15/41/image_17082025_15_41_34_9639.jpg
/home/nano/Desktop/images/17082025/15/41/image_17082025_15_41_24_9637.jpg
/home/nano/Desktop/images/17082025/15/41/image_17082025_15_41_14_10669.jpg
/home/nano/Desktop/images/17082025/15/40/image_17082025_15_41_04_9647.jpg
/home/nano/Desktop/images/17082025/15/40/image_17082025_15_40_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669926","1377669929","1377669922","1377669919","1377669924","1377669938"],"photo_ids_order":["1377669919","1377669922","1377669924","1377669926","1377669929","1377669938"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/83ec371629dd68671445ef8904b1c4c5.jpg","text":"TemporaryFile(/tmp/multipartBody4601000601875787702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438169003,"filename":"image_17082025_15_41_14_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c4b5f9d0b7672a0d93261c04e2fe02fe.jpg","text":"TemporaryFile(/tmp/multipartBody3366144608965526101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438169003,"filename":"image_17082025_15_41_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2f9c61db648ea3f2a1471f3f4d9cd7ad.jpg","text":"TemporaryFile(/tmp/multipartBody7941482203172277660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438169003,"filename":"image_17082025_15_41_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/515d1b295723781d16a65c606261e885.jpg","text":"TemporaryFile(/tmp/multipartBody5881330492770723692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438169003,"filename":"image_17082025_15_41_44_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/75fd187741faf016f25a0bed6ea2fb9f.jpg","text":"TemporaryFile(/tmp/multipartBody8701416968645591531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438169003,"filename":"image_17082025_15_41_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c79ccfb35e27fc91417b9782fa026e21.jpg","text":"TemporaryFile(/tmp/multipartBody758555757165690691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438169003,"filename":"image_17082025_15_40_54_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669924","file1":"1377669922","file0":"1377669919","file4":"1377669929","file5":"1377669938","file3":"1377669926"},"map_files_photo_id_array":[{"photo_id":"1377669938","filename":"file5"},{"photo_id":"1377669924","filename":"file2"},{"photo_id":"1377669929","filename":"file4"},{"photo_id":"1377669922","filename":"file1"},{"photo_id":"1377669919","filename":"file0"},{"photo_id":"1377669926","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377669926":["hashtag1","hashtag2"]},{"1377669929":["hashtag1","hashtag2"]},{"1377669922":["hashtag1","hashtag2"]},{"1377669919":["hashtag1","hashtag2"]},{"1377669924":["hashtag1","hashtag2"]},{"1377669938":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377669926, 1377669929, 1377669922, 1377669919, 1377669924, 1377669938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.855209827423096 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:42:32.195775
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/42/image_17082025_15_42_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/15/42/image_17082025_15_42_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/42/image_17082025_15_42_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/42/image_17082025_15_42_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/15/41/image_17082025_15_42_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/15/41/image_17082025_15_41_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/42/image_17082025_15_42_44_10646.jpg', '/home/nano/Desktop/images/17082025/15/42/image_17082025_15_42_34_9639.jpg', '/home/nano/Desktop/images/17082025/15/42/image_17082025_15_42_24_9636.jpg', '/home/nano/Desktop/images/17082025/15/42/image_17082025_15_42_14_10667.jpg', '/home/nano/Desktop/images/17082025/15/41/image_17082025_15_42_04_9644.jpg', '/home/nano/Desktop/images/17082025/15/41/image_17082025_15_41_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/42/image_17082025_15_42_44_10646.jpg
/home/nano/Desktop/images/17082025/15/42/image_17082025_15_42_34_9639.jpg
/home/nano/Desktop/images/17082025/15/42/image_17082025_15_42_24_9636.jpg
/home/nano/Desktop/images/17082025/15/42/image_17082025_15_42_14_10667.jpg
/home/nano/Desktop/images/17082025/15/41/image_17082025_15_42_04_9644.jpg
/home/nano/Desktop/images/17082025/15/41/image_17082025_15_41_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669943","1377669946","1377669951","1377669948","1377669950","1377669944"],"photo_ids_order":["1377669943","1377669944","1377669946","1377669948","1377669950","1377669951"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/24c67dd2ba3c17f81c124c018a90fd76.jpg","text":"TemporaryFile(/tmp/multipartBody4104364719060359721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438214155,"filename":"image_17082025_15_42_44_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/68d4482828d3f45ee0380ed2258c36b3.jpg","text":"TemporaryFile(/tmp/multipartBody2821743443409589985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438214155,"filename":"image_17082025_15_42_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c40cf8d36030cb0e6b4486ed9fc8b5f8.jpg","text":"TemporaryFile(/tmp/multipartBody7637056186101413366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438214155,"filename":"image_17082025_15_41_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/537d30bb48e8505d828569bcbe1e3ce1.jpg","text":"TemporaryFile(/tmp/multipartBody3048850114282418332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438214155,"filename":"image_17082025_15_42_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f73bd20358a5448017f24da426447c96.jpg","text":"TemporaryFile(/tmp/multipartBody6766152675979473980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438214155,"filename":"image_17082025_15_42_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/93cb8532629285b0eb77625055d26256.jpg","text":"TemporaryFile(/tmp/multipartBody6961150005879376875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438214155,"filename":"image_17082025_15_42_34_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669946","file1":"1377669944","file0":"1377669943","file4":"1377669950","file5":"1377669951","file3":"1377669948"},"map_files_photo_id_array":[{"photo_id":"1377669951","filename":"file5"},{"photo_id":"1377669946","filename":"file2"},{"photo_id":"1377669950","filename":"file4"},{"photo_id":"1377669944","filename":"file1"},{"photo_id":"1377669943","filename":"file0"},{"photo_id":"1377669948","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377669943":["hashtag1","hashtag2"]},{"1377669946":["hashtag1","hashtag2"]},{"1377669951":["hashtag1","hashtag2"]},{"1377669948":["hashtag1","hashtag2"]},{"1377669950":["hashtag1","hashtag2"]},{"1377669944":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377669943, 1377669946, 1377669951, 1377669948, 1377669950, 1377669944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.602195501327515 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:43:17.257297
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/43/image_17082025_15_43_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/43/image_17082025_15_43_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/43/image_17082025_15_43_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/43/image_17082025_15_43_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/15/42/image_17082025_15_43_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/15/42/image_17082025_15_42_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/43/image_17082025_15_43_44_9637.jpg', '/home/nano/Desktop/images/17082025/15/43/image_17082025_15_43_34_10647.jpg', '/home/nano/Desktop/images/17082025/15/43/image_17082025_15_43_24_9638.jpg', '/home/nano/Desktop/images/17082025/15/43/image_17082025_15_43_14_10666.jpg', '/home/nano/Desktop/images/17082025/15/42/image_17082025_15_43_04_9652.jpg', '/home/nano/Desktop/images/17082025/15/42/image_17082025_15_42_54_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/43/image_17082025_15_43_44_9637.jpg
/home/nano/Desktop/images/17082025/15/43/image_17082025_15_43_34_10647.jpg
/home/nano/Desktop/images/17082025/15/43/image_17082025_15_43_24_9638.jpg
/home/nano/Desktop/images/17082025/15/43/image_17082025_15_43_14_10666.jpg
/home/nano/Desktop/images/17082025/15/42/image_17082025_15_43_04_9652.jpg
/home/nano/Desktop/images/17082025/15/42/image_17082025_15_42_54_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669967","1377669976","1377669964","1377669972","1377669969","1377669974"],"photo_ids_order":["1377669964","1377669967","1377669969","1377669972","1377669974","1377669976"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7c48554b97722c1476df0e5711494fe2.jpg","text":"TemporaryFile(/tmp/multipartBody2881480076237651391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438258867,"filename":"image_17082025_15_43_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a08c09a9b66a5f17009894ccd1e697e3.jpg","text":"TemporaryFile(/tmp/multipartBody1765961242612848953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438258867,"filename":"image_17082025_15_42_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/50dabb6626edb7299a0134e61168890e.jpg","text":"TemporaryFile(/tmp/multipartBody2388821644476122411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438258867,"filename":"image_17082025_15_43_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f70efccdaa2fd53cfcca9e2109c90321.jpg","text":"TemporaryFile(/tmp/multipartBody8323172007600930604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438258867,"filename":"image_17082025_15_43_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e32256dfed37d3354c54373be3557af4.jpg","text":"TemporaryFile(/tmp/multipartBody2630683641689401056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438258867,"filename":"image_17082025_15_43_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/66097bb374701b35bbb406d3941ada9b.jpg","text":"TemporaryFile(/tmp/multipartBody2794486295111996573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438258867,"filename":"image_17082025_15_43_04_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669969","file1":"1377669967","file0":"1377669964","file4":"1377669974","file5":"1377669976","file3":"1377669972"},"map_files_photo_id_array":[{"photo_id":"1377669976","filename":"file5"},{"photo_id":"1377669969","filename":"file2"},{"photo_id":"1377669974","filename":"file4"},{"photo_id":"1377669967","filename":"file1"},{"photo_id":"1377669964","filename":"file0"},{"photo_id":"1377669972","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377669967":["hashtag1","hashtag2"]},{"1377669976":["hashtag1","hashtag2"]},{"1377669964":["hashtag1","hashtag2"]},{"1377669972":["hashtag1","hashtag2"]},{"1377669969":["hashtag1","hashtag2"]},{"1377669974":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377669967, 1377669976, 1377669964, 1377669972, 1377669969, 1377669974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82798147201538 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:44:03.036488
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/32/image_17082025_15_32_24_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/15/32/image_17082025_15_32_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/15/31/image_17082025_15_32_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/15/31/image_17082025_15_31_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/31/image_17082025_15_31_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/15/31/image_17082025_15_31_34_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/32/image_17082025_15_32_24_9663.jpg', '/home/nano/Desktop/images/17082025/15/32/image_17082025_15_32_14_10668.jpg', '/home/nano/Desktop/images/17082025/15/31/image_17082025_15_32_04_9653.jpg', '/home/nano/Desktop/images/17082025/15/31/image_17082025_15_31_54_9638.jpg', '/home/nano/Desktop/images/17082025/15/31/image_17082025_15_31_44_10651.jpg', '/home/nano/Desktop/images/17082025/15/31/image_17082025_15_31_34_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/32/image_17082025_15_32_24_9663.jpg
/home/nano/Desktop/images/17082025/15/32/image_17082025_15_32_14_10668.jpg
/home/nano/Desktop/images/17082025/15/31/image_17082025_15_32_04_9653.jpg
/home/nano/Desktop/images/17082025/15/31/image_17082025_15_31_54_9638.jpg
/home/nano/Desktop/images/17082025/15/31/image_17082025_15_31_44_10651.jpg
/home/nano/Desktop/images/17082025/15/31/image_17082025_15_31_34_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377669997","1377669991","1377669988","1377669993","1377669995","1377669980"],"photo_ids_order":["1377669980","1377669988","1377669991","1377669993","1377669995","1377669997"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6556b9b2e00c48da138853002b745302.jpg","text":"TemporaryFile(/tmp/multipartBody7077091321417244990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438304783,"filename":"image_17082025_15_31_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/034542f4072f21ae45af8f2ff07a6a8c.jpg","text":"TemporaryFile(/tmp/multipartBody1908277816674217288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438304783,"filename":"image_17082025_15_32_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e04195e3bc6a48e5ebb0635238834864.jpg","text":"TemporaryFile(/tmp/multipartBody3699637545820810718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438304783,"filename":"image_17082025_15_32_14_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dd4c66dc0df5f2f9e17c243079be3740.jpg","text":"TemporaryFile(/tmp/multipartBody9102598342819907852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438304783,"filename":"image_17082025_15_31_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/43bcd102baaf93bc30b8c82f1b2adcbe.jpg","text":"TemporaryFile(/tmp/multipartBody639884371026722038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438304783,"filename":"image_17082025_15_31_44_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/502a286ed2dfdabe9f8184b670ba9394.jpg","text":"TemporaryFile(/tmp/multipartBody5108633669920396948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438304783,"filename":"image_17082025_15_32_24_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377669991","file1":"1377669988","file0":"1377669980","file4":"1377669995","file5":"1377669997","file3":"1377669993"},"map_files_photo_id_array":[{"photo_id":"1377669997","filename":"file5"},{"photo_id":"1377669991","filename":"file2"},{"photo_id":"1377669995","filename":"file4"},{"photo_id":"1377669988","filename":"file1"},{"photo_id":"1377669980","filename":"file0"},{"photo_id":"1377669993","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377669997":["hashtag1","hashtag2"]},{"1377669991":["hashtag1","hashtag2"]},{"1377669988":["hashtag1","hashtag2"]},{"1377669993":["hashtag1","hashtag2"]},{"1377669995":["hashtag1","hashtag2"]},{"1377669980":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377669997, 1377669991, 1377669988, 1377669993, 1377669995, 1377669980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09797978401184 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:44:47.329622
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/44/image_17082025_15_44_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/44/image_17082025_15_44_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/44/image_17082025_15_44_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/15/44/image_17082025_15_44_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/15/43/image_17082025_15_43_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/31/image_17082025_15_31_24_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/44/image_17082025_15_44_44_9636.jpg', '/home/nano/Desktop/images/17082025/15/44/image_17082025_15_44_34_10647.jpg', '/home/nano/Desktop/images/17082025/15/44/image_17082025_15_44_24_9655.jpg', '/home/nano/Desktop/images/17082025/15/44/image_17082025_15_44_14_9657.jpg', '/home/nano/Desktop/images/17082025/15/43/image_17082025_15_43_54_9638.jpg', '/home/nano/Desktop/images/17082025/15/31/image_17082025_15_31_24_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/44/image_17082025_15_44_44_9636.jpg
/home/nano/Desktop/images/17082025/15/44/image_17082025_15_44_34_10647.jpg
/home/nano/Desktop/images/17082025/15/44/image_17082025_15_44_24_9655.jpg
/home/nano/Desktop/images/17082025/15/44/image_17082025_15_44_14_9657.jpg
/home/nano/Desktop/images/17082025/15/43/image_17082025_15_43_54_9638.jpg
/home/nano/Desktop/images/17082025/15/31/image_17082025_15_31_24_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670011","1377670006","1377670009","1377670014","1377670008","1377670023"],"photo_ids_order":["1377670006","1377670008","1377670009","1377670011","1377670014","1377670023"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/60aecd3a57113d4c7a48bf4fb06fcf20.jpg","text":"TemporaryFile(/tmp/multipartBody5969526379270616198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438349000,"filename":"image_17082025_15_44_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9a42974b902e8cf1fd6c0441b86bf092.jpg","text":"TemporaryFile(/tmp/multipartBody8357414974465744354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438349000,"filename":"image_17082025_15_44_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c1b1cfa5db3098ff17e1dc138cb95595.jpg","text":"TemporaryFile(/tmp/multipartBody8051418774405219689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438349000,"filename":"image_17082025_15_44_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0ea0b035642b9227082bffe0430ffc7b.jpg","text":"TemporaryFile(/tmp/multipartBody6651307138732595525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438349000,"filename":"image_17082025_15_43_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9d8ebec598584c5b8d811271ab772b8c.jpg","text":"TemporaryFile(/tmp/multipartBody4352579735765327534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438349000,"filename":"image_17082025_15_44_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3e4d3f900e4caf44c9b1c248f0ac5681.jpg","text":"TemporaryFile(/tmp/multipartBody2470180024987947136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438349000,"filename":"image_17082025_15_31_24_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670009","file1":"1377670008","file0":"1377670006","file4":"1377670014","file5":"1377670023","file3":"1377670011"},"map_files_photo_id_array":[{"photo_id":"1377670023","filename":"file5"},{"photo_id":"1377670009","filename":"file2"},{"photo_id":"1377670014","filename":"file4"},{"photo_id":"1377670008","filename":"file1"},{"photo_id":"1377670006","filename":"file0"},{"photo_id":"1377670011","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377670011":["hashtag1","hashtag2"]},{"1377670006":["hashtag1","hashtag2"]},{"1377670009":["hashtag1","hashtag2"]},{"1377670014":["hashtag1","hashtag2"]},{"1377670008":["hashtag1","hashtag2"]},{"1377670023":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377670011, 1377670006, 1377670009, 1377670014, 1377670008, 1377670023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.730467557907104 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:45:32.450728
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/15/44/image_17082025_15_45_04_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/15/44/image_17082025_15_44_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_44_9642.jpg', '/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_34_10647.jpg', '/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_24_9638.jpg', '/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_14_9659.jpg', '/home/nano/Desktop/images/17082025/15/44/image_17082025_15_45_04_10674.jpg', '/home/nano/Desktop/images/17082025/15/44/image_17082025_15_44_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_44_9642.jpg
/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_34_10647.jpg
/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_24_9638.jpg
/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_14_9659.jpg
/home/nano/Desktop/images/17082025/15/44/image_17082025_15_45_04_10674.jpg
/home/nano/Desktop/images/17082025/15/44/image_17082025_15_44_54_9639.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7871067523956299 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:45:47.429666
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/15/44/image_17082025_15_45_04_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/15/44/image_17082025_15_44_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_44_9642.jpg', '/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_34_10647.jpg', '/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_24_9638.jpg', '/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_14_9659.jpg', '/home/nano/Desktop/images/17082025/15/44/image_17082025_15_45_04_10674.jpg', '/home/nano/Desktop/images/17082025/15/44/image_17082025_15_44_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_44_9642.jpg
/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_34_10647.jpg
/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_24_9638.jpg
/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_14_9659.jpg
/home/nano/Desktop/images/17082025/15/44/image_17082025_15_45_04_10674.jpg
/home/nano/Desktop/images/17082025/15/44/image_17082025_15_44_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670037","1377670054","1377670042","1377670045","1377670039","1377670041"],"photo_ids_order":["1377670037","1377670039","1377670041","1377670042","1377670045","1377670054"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1257b4854eb3decc40ec9bf6cbc467a5.jpg","text":"TemporaryFile(/tmp/multipartBody7836324069323127139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438409394,"filename":"image_17082025_15_45_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e081d8a33b06617c710e9cdaf313e614.jpg","text":"TemporaryFile(/tmp/multipartBody8506520904998339711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438409394,"filename":"image_17082025_15_44_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/343d76bea42a153975af145997f1ce0f.jpg","text":"TemporaryFile(/tmp/multipartBody2805650809431656491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438409394,"filename":"image_17082025_15_45_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3be329228c0f363ff314cc7292c6f08b.jpg","text":"TemporaryFile(/tmp/multipartBody2752606998089446372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438409394,"filename":"image_17082025_15_45_04_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e36eae33ce0d779bea52b4e5c20c7288.jpg","text":"TemporaryFile(/tmp/multipartBody5590966717962441836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438409394,"filename":"image_17082025_15_45_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4d4e8898846ce45e75c83dc7747f6254.jpg","text":"TemporaryFile(/tmp/multipartBody6760480917463474431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438409394,"filename":"image_17082025_15_45_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670041","file1":"1377670039","file0":"1377670037","file4":"1377670045","file5":"1377670054","file3":"1377670042"},"map_files_photo_id_array":[{"photo_id":"1377670054","filename":"file5"},{"photo_id":"1377670041","filename":"file2"},{"photo_id":"1377670045","filename":"file4"},{"photo_id":"1377670039","filename":"file1"},{"photo_id":"1377670037","filename":"file0"},{"photo_id":"1377670042","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377670037":["hashtag1","hashtag2"]},{"1377670054":["hashtag1","hashtag2"]},{"1377670042":["hashtag1","hashtag2"]},{"1377670045":["hashtag1","hashtag2"]},{"1377670039":["hashtag1","hashtag2"]},{"1377670041":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377670037, 1377670054, 1377670042, 1377670045, 1377670039, 1377670041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.781479835510254 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:46:32.537832
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/46/image_17082025_15_46_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/46/image_17082025_15_46_34_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/15/46/image_17082025_15_46_25_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/46/image_17082025_15_46_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/15/45/image_17082025_15_46_04_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/46/image_17082025_15_46_44_9637.jpg', '/home/nano/Desktop/images/17082025/15/46/image_17082025_15_46_34_9660.jpg', '/home/nano/Desktop/images/17082025/15/46/image_17082025_15_46_25_10647.jpg', '/home/nano/Desktop/images/17082025/15/46/image_17082025_15_46_14_9656.jpg', '/home/nano/Desktop/images/17082025/15/45/image_17082025_15_46_04_10662.jpg', '/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/46/image_17082025_15_46_44_9637.jpg
/home/nano/Desktop/images/17082025/15/46/image_17082025_15_46_34_9660.jpg
/home/nano/Desktop/images/17082025/15/46/image_17082025_15_46_25_10647.jpg
/home/nano/Desktop/images/17082025/15/46/image_17082025_15_46_14_9656.jpg
/home/nano/Desktop/images/17082025/15/45/image_17082025_15_46_04_10662.jpg
/home/nano/Desktop/images/17082025/15/45/image_17082025_15_45_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670064","1377670067","1377670066","1377670063","1377670065","1377670068"],"photo_ids_order":["1377670063","1377670064","1377670065","1377670066","1377670067","1377670068"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/02753b30b49f0b1b33e5238c2e8d0839.jpg","text":"TemporaryFile(/tmp/multipartBody3356038406935731049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438454549,"filename":"image_17082025_15_46_34_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e87e54b266a137f136a27d2e166f5ee2.jpg","text":"TemporaryFile(/tmp/multipartBody3891208461557945402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438454549,"filename":"image_17082025_15_46_04_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1cc135c5aedcee62fc303f0b21bb1a33.jpg","text":"TemporaryFile(/tmp/multipartBody6993802924261438318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438454549,"filename":"image_17082025_15_46_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c6b180899037992bf53a18b66a3cf555.jpg","text":"TemporaryFile(/tmp/multipartBody8764366438410605532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438454549,"filename":"image_17082025_15_46_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7a8cfcb83b50be85cb2b0398b0d714bb.jpg","text":"TemporaryFile(/tmp/multipartBody6732624521824297816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438454549,"filename":"image_17082025_15_46_25_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bf1edf619ca48205f98e30aa57ff7405.jpg","text":"TemporaryFile(/tmp/multipartBody5310787208811233298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438454549,"filename":"image_17082025_15_45_54_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670065","file1":"1377670064","file0":"1377670063","file4":"1377670067","file5":"1377670068","file3":"1377670066"},"map_files_photo_id_array":[{"photo_id":"1377670068","filename":"file5"},{"photo_id":"1377670065","filename":"file2"},{"photo_id":"1377670067","filename":"file4"},{"photo_id":"1377670064","filename":"file1"},{"photo_id":"1377670063","filename":"file0"},{"photo_id":"1377670066","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377670064":["hashtag1","hashtag2"]},{"1377670067":["hashtag1","hashtag2"]},{"1377670066":["hashtag1","hashtag2"]},{"1377670063":["hashtag1","hashtag2"]},{"1377670065":["hashtag1","hashtag2"]},{"1377670068":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377670064, 1377670067, 1377670066, 1377670063, 1377670065, 1377670068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62466859817505 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:47:17.610113
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/47/image_17082025_15_47_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/47/image_17082025_15_47_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/15/47/image_17082025_15_47_24_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/15/47/image_17082025_15_47_14_9676.jpg', 2), ('/home/nano/Desktop/images/17082025/15/46/image_17082025_15_47_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/15/46/image_17082025_15_46_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/47/image_17082025_15_47_44_9638.jpg', '/home/nano/Desktop/images/17082025/15/47/image_17082025_15_47_34_9641.jpg', '/home/nano/Desktop/images/17082025/15/47/image_17082025_15_47_24_10664.jpg', '/home/nano/Desktop/images/17082025/15/47/image_17082025_15_47_14_9676.jpg', '/home/nano/Desktop/images/17082025/15/46/image_17082025_15_47_04_9646.jpg', '/home/nano/Desktop/images/17082025/15/46/image_17082025_15_46_54_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/47/image_17082025_15_47_44_9638.jpg
/home/nano/Desktop/images/17082025/15/47/image_17082025_15_47_34_9641.jpg
/home/nano/Desktop/images/17082025/15/47/image_17082025_15_47_24_10664.jpg
/home/nano/Desktop/images/17082025/15/47/image_17082025_15_47_14_9676.jpg
/home/nano/Desktop/images/17082025/15/46/image_17082025_15_47_04_9646.jpg
/home/nano/Desktop/images/17082025/15/46/image_17082025_15_46_54_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670090","1377670084","1377670087","1377670081","1377670092","1377670091"],"photo_ids_order":["1377670081","1377670084","1377670087","1377670090","1377670091","1377670092"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9610cdaba52a09c40adc69a3e0f7bf09.jpg","text":"TemporaryFile(/tmp/multipartBody5386828126274157770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438499406,"filename":"image_17082025_15_47_14_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9ff8411ce709872cbc71d4d43b5740b7.jpg","text":"TemporaryFile(/tmp/multipartBody2232391510594589078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438499406,"filename":"image_17082025_15_47_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d15e97057f34fabef606571d6fe86539.jpg","text":"TemporaryFile(/tmp/multipartBody1816214130905170355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438499406,"filename":"image_17082025_15_47_24_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d9bb46e00ee4a33fa0f17d9085792b83.jpg","text":"TemporaryFile(/tmp/multipartBody14495774513087646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438499406,"filename":"image_17082025_15_47_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/15c33d32ce160133c25df7f396a1348c.jpg","text":"TemporaryFile(/tmp/multipartBody6894664350314802579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438499406,"filename":"image_17082025_15_46_54_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c028608e038cae9c736a03c2b47d9c7a.jpg","text":"TemporaryFile(/tmp/multipartBody604116658242410577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438499406,"filename":"image_17082025_15_47_04_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670087","file1":"1377670084","file0":"1377670081","file4":"1377670091","file5":"1377670092","file3":"1377670090"},"map_files_photo_id_array":[{"photo_id":"1377670092","filename":"file5"},{"photo_id":"1377670087","filename":"file2"},{"photo_id":"1377670091","filename":"file4"},{"photo_id":"1377670084","filename":"file1"},{"photo_id":"1377670081","filename":"file0"},{"photo_id":"1377670090","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377670090":["hashtag1","hashtag2"]},{"1377670084":["hashtag1","hashtag2"]},{"1377670087":["hashtag1","hashtag2"]},{"1377670081":["hashtag1","hashtag2"]},{"1377670092":["hashtag1","hashtag2"]},{"1377670091":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377670090, 1377670084, 1377670087, 1377670081, 1377670092, 1377670091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84138560295105 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:48:02.217590
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/31/image_17082025_15_31_14_10688.jpg', 2), ('/home/nano/Desktop/images/17082025/15/30/image_17082025_15_31_04_9669.jpg', 2), ('/home/nano/Desktop/images/17082025/15/30/image_17082025_15_30_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/15/30/image_17082025_15_30_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/30/image_17082025_15_30_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/30/image_17082025_15_30_24_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/31/image_17082025_15_31_14_10688.jpg', '/home/nano/Desktop/images/17082025/15/30/image_17082025_15_31_04_9669.jpg', '/home/nano/Desktop/images/17082025/15/30/image_17082025_15_30_54_9656.jpg', '/home/nano/Desktop/images/17082025/15/30/image_17082025_15_30_44_10647.jpg', '/home/nano/Desktop/images/17082025/15/30/image_17082025_15_30_34_9638.jpg', '/home/nano/Desktop/images/17082025/15/30/image_17082025_15_30_24_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/31/image_17082025_15_31_14_10688.jpg
/home/nano/Desktop/images/17082025/15/30/image_17082025_15_31_04_9669.jpg
/home/nano/Desktop/images/17082025/15/30/image_17082025_15_30_54_9656.jpg
/home/nano/Desktop/images/17082025/15/30/image_17082025_15_30_44_10647.jpg
/home/nano/Desktop/images/17082025/15/30/image_17082025_15_30_34_9638.jpg
/home/nano/Desktop/images/17082025/15/30/image_17082025_15_30_24_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670110","1377670104","1377670099","1377670093","1377670114","1377670107"],"photo_ids_order":["1377670093","1377670099","1377670104","1377670107","1377670110","1377670114"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/36b70fea4d0a23e8f44e33e8d6c435b0.jpg","text":"TemporaryFile(/tmp/multipartBody3204164135120496528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438544123,"filename":"image_17082025_15_30_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b1d5f0e7ebc42aa38b1f9723a06e8863.jpg","text":"TemporaryFile(/tmp/multipartBody8101766430907019896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438544123,"filename":"image_17082025_15_30_54_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a37fe3538f6c5f014b18e5a6de9552a1.jpg","text":"TemporaryFile(/tmp/multipartBody3836505429753005527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438544123,"filename":"image_17082025_15_31_04_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c62f590f6a5bb03b219e3f96eac1f7b4.jpg","text":"TemporaryFile(/tmp/multipartBody7311945870724334930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438544123,"filename":"image_17082025_15_31_14_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e487eca701151dbabb5328a50976dd60.jpg","text":"TemporaryFile(/tmp/multipartBody5058076776254563572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438544123,"filename":"image_17082025_15_30_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/90d3adb24869f423c7f2a207c395a0f1.jpg","text":"TemporaryFile(/tmp/multipartBody7245240051453567950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438544123,"filename":"image_17082025_15_30_44_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670104","file1":"1377670099","file0":"1377670093","file4":"1377670110","file5":"1377670114","file3":"1377670107"},"map_files_photo_id_array":[{"photo_id":"1377670114","filename":"file5"},{"photo_id":"1377670104","filename":"file2"},{"photo_id":"1377670110","filename":"file4"},{"photo_id":"1377670099","filename":"file1"},{"photo_id":"1377670093","filename":"file0"},{"photo_id":"1377670107","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377670110":["hashtag1","hashtag2"]},{"1377670104":["hashtag1","hashtag2"]},{"1377670099":["hashtag1","hashtag2"]},{"1377670093":["hashtag1","hashtag2"]},{"1377670114":["hashtag1","hashtag2"]},{"1377670107":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377670110, 1377670104, 1377670099, 1377670093, 1377670114, 1377670107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95460486412048 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:48:46.815547
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/48/image_17082025_15_48_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/15/48/image_17082025_15_48_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/48/image_17082025_15_48_24_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/15/48/image_17082025_15_48_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/15/47/image_17082025_15_48_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/47/image_17082025_15_47_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/48/image_17082025_15_48_44_9640.jpg', '/home/nano/Desktop/images/17082025/15/48/image_17082025_15_48_34_9636.jpg', '/home/nano/Desktop/images/17082025/15/48/image_17082025_15_48_24_10665.jpg', '/home/nano/Desktop/images/17082025/15/48/image_17082025_15_48_14_9658.jpg', '/home/nano/Desktop/images/17082025/15/47/image_17082025_15_48_04_9647.jpg', '/home/nano/Desktop/images/17082025/15/47/image_17082025_15_47_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/48/image_17082025_15_48_44_9640.jpg
/home/nano/Desktop/images/17082025/15/48/image_17082025_15_48_34_9636.jpg
/home/nano/Desktop/images/17082025/15/48/image_17082025_15_48_24_10665.jpg
/home/nano/Desktop/images/17082025/15/48/image_17082025_15_48_14_9658.jpg
/home/nano/Desktop/images/17082025/15/47/image_17082025_15_48_04_9647.jpg
/home/nano/Desktop/images/17082025/15/47/image_17082025_15_47_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670136","1377670124","1377670121","1377670123","1377670126","1377670134"],"photo_ids_order":["1377670121","1377670123","1377670124","1377670126","1377670134","1377670136"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3fc4da1b800b952e72d501faada3f3c1.jpg","text":"TemporaryFile(/tmp/multipartBody1901912205381963824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438588791,"filename":"image_17082025_15_47_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/77430f64400edc5bc97960185a722a43.jpg","text":"TemporaryFile(/tmp/multipartBody3803931127776839886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438588791,"filename":"image_17082025_15_48_24_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f5dc909141918ed17c6d1623ebbf1bbe.jpg","text":"TemporaryFile(/tmp/multipartBody8895050039612930585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438588791,"filename":"image_17082025_15_48_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1607b97c6621dcf68386e328bd7bf63a.jpg","text":"TemporaryFile(/tmp/multipartBody5485917250869213854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438588791,"filename":"image_17082025_15_48_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9004f6a43a3b855a7b75cff1f15fb621.jpg","text":"TemporaryFile(/tmp/multipartBody2679173766026523943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438588791,"filename":"image_17082025_15_48_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/56877accaa99318fbaee4b85eb8d3b6b.jpg","text":"TemporaryFile(/tmp/multipartBody5527371144221809193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438588791,"filename":"image_17082025_15_48_04_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670124","file1":"1377670123","file0":"1377670121","file4":"1377670134","file5":"1377670136","file3":"1377670126"},"map_files_photo_id_array":[{"photo_id":"1377670136","filename":"file5"},{"photo_id":"1377670124","filename":"file2"},{"photo_id":"1377670134","filename":"file4"},{"photo_id":"1377670123","filename":"file1"},{"photo_id":"1377670121","filename":"file0"},{"photo_id":"1377670126","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377670136":["hashtag1","hashtag2"]},{"1377670124":["hashtag1","hashtag2"]},{"1377670121":["hashtag1","hashtag2"]},{"1377670123":["hashtag1","hashtag2"]},{"1377670126":["hashtag1","hashtag2"]},{"1377670134":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377670136, 1377670124, 1377670121, 1377670123, 1377670126, 1377670134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.81102252006531 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:49:31.920550
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/49/image_17082025_15_49_45_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/15/49/image_17082025_15_49_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/49/image_17082025_15_49_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/49/image_17082025_15_49_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/15/48/image_17082025_15_49_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/48/image_17082025_15_48_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/49/image_17082025_15_49_45_10649.jpg', '/home/nano/Desktop/images/17082025/15/49/image_17082025_15_49_34_9638.jpg', '/home/nano/Desktop/images/17082025/15/49/image_17082025_15_49_24_10647.jpg', '/home/nano/Desktop/images/17082025/15/49/image_17082025_15_49_14_9660.jpg', '/home/nano/Desktop/images/17082025/15/48/image_17082025_15_49_04_9647.jpg', '/home/nano/Desktop/images/17082025/15/48/image_17082025_15_48_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/49/image_17082025_15_49_45_10649.jpg
/home/nano/Desktop/images/17082025/15/49/image_17082025_15_49_34_9638.jpg
/home/nano/Desktop/images/17082025/15/49/image_17082025_15_49_24_10647.jpg
/home/nano/Desktop/images/17082025/15/49/image_17082025_15_49_14_9660.jpg
/home/nano/Desktop/images/17082025/15/48/image_17082025_15_49_04_9647.jpg
/home/nano/Desktop/images/17082025/15/48/image_17082025_15_48_54_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670142","1377670159","1377670162","1377670144","1377670161","1377670146"],"photo_ids_order":["1377670142","1377670144","1377670146","1377670159","1377670161","1377670162"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5253073f39d7254286f4aab2feafc72b.jpg","text":"TemporaryFile(/tmp/multipartBody8892802201189262595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438633487,"filename":"image_17082025_15_49_45_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5a014aecd9e728eb9467b114c5aefd7e.jpg","text":"TemporaryFile(/tmp/multipartBody1591538086872080054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438633487,"filename":"image_17082025_15_49_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1c267e2bb3b0cdacba1c1364656c95d4.jpg","text":"TemporaryFile(/tmp/multipartBody7963195894608450195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438633487,"filename":"image_17082025_15_48_54_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a92c030aefc5851fe2390041041e937b.jpg","text":"TemporaryFile(/tmp/multipartBody5221975075839760768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438633487,"filename":"image_17082025_15_49_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/813f85795a05885049f4b8f4700cdace.jpg","text":"TemporaryFile(/tmp/multipartBody5263504659390221879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438633487,"filename":"image_17082025_15_49_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4a18bdd51937bbf045999b2ad56ba6ba.jpg","text":"TemporaryFile(/tmp/multipartBody1792633762165481143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438633487,"filename":"image_17082025_15_49_24_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670146","file1":"1377670144","file0":"1377670142","file4":"1377670161","file5":"1377670162","file3":"1377670159"},"map_files_photo_id_array":[{"photo_id":"1377670162","filename":"file5"},{"photo_id":"1377670146","filename":"file2"},{"photo_id":"1377670161","filename":"file4"},{"photo_id":"1377670144","filename":"file1"},{"photo_id":"1377670142","filename":"file0"},{"photo_id":"1377670159","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377670142":["hashtag1","hashtag2"]},{"1377670159":["hashtag1","hashtag2"]},{"1377670162":["hashtag1","hashtag2"]},{"1377670144":["hashtag1","hashtag2"]},{"1377670161":["hashtag1","hashtag2"]},{"1377670146":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377670142, 1377670159, 1377670162, 1377670144, 1377670161, 1377670146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.8446364402771 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:50:16.992792
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/50/image_17082025_15_50_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/50/image_17082025_15_50_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/50/image_17082025_15_50_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/50/image_17082025_15_50_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/15/49/image_17082025_15_50_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/15/49/image_17082025_15_49_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/50/image_17082025_15_50_44_10647.jpg', '/home/nano/Desktop/images/17082025/15/50/image_17082025_15_50_34_9637.jpg', '/home/nano/Desktop/images/17082025/15/50/image_17082025_15_50_24_9636.jpg', '/home/nano/Desktop/images/17082025/15/50/image_17082025_15_50_14_10667.jpg', '/home/nano/Desktop/images/17082025/15/49/image_17082025_15_50_04_9645.jpg', '/home/nano/Desktop/images/17082025/15/49/image_17082025_15_49_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/50/image_17082025_15_50_44_10647.jpg
/home/nano/Desktop/images/17082025/15/50/image_17082025_15_50_34_9637.jpg
/home/nano/Desktop/images/17082025/15/50/image_17082025_15_50_24_9636.jpg
/home/nano/Desktop/images/17082025/15/50/image_17082025_15_50_14_10667.jpg
/home/nano/Desktop/images/17082025/15/49/image_17082025_15_50_04_9645.jpg
/home/nano/Desktop/images/17082025/15/49/image_17082025_15_49_54_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670172","1377670175","1377670184","1377670177","1377670180","1377670182"],"photo_ids_order":["1377670172","1377670175","1377670177","1377670180","1377670182","1377670184"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f9823ca8c1fdc25931c415b960fc4495.jpg","text":"TemporaryFile(/tmp/multipartBody4861832203514861624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438678659,"filename":"image_17082025_15_50_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9294cd7438bee40059b730de21857406.jpg","text":"TemporaryFile(/tmp/multipartBody4866318920282591891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438678659,"filename":"image_17082025_15_50_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0c62577ea70c31c09514e68286654380.jpg","text":"TemporaryFile(/tmp/multipartBody3660015936140054102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438678659,"filename":"image_17082025_15_49_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1d03014a43c64a36e192cc25c5fd13dd.jpg","text":"TemporaryFile(/tmp/multipartBody5904245380904427791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438678659,"filename":"image_17082025_15_50_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f78196c0ebf863d5b64dfb7da94a4e3d.jpg","text":"TemporaryFile(/tmp/multipartBody2606432975864939320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438678659,"filename":"image_17082025_15_50_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/703f2dfc28334c832132b2fb10e878fc.jpg","text":"TemporaryFile(/tmp/multipartBody6290245379059231048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438678659,"filename":"image_17082025_15_50_04_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670177","file1":"1377670175","file0":"1377670172","file4":"1377670182","file5":"1377670184","file3":"1377670180"},"map_files_photo_id_array":[{"photo_id":"1377670184","filename":"file5"},{"photo_id":"1377670177","filename":"file2"},{"photo_id":"1377670182","filename":"file4"},{"photo_id":"1377670175","filename":"file1"},{"photo_id":"1377670172","filename":"file0"},{"photo_id":"1377670180","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377670172":["hashtag1","hashtag2"]},{"1377670175":["hashtag1","hashtag2"]},{"1377670184":["hashtag1","hashtag2"]},{"1377670177":["hashtag1","hashtag2"]},{"1377670180":["hashtag1","hashtag2"]},{"1377670182":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377670172, 1377670175, 1377670184, 1377670177, 1377670180, 1377670182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34291458129883 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:51:02.797344
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/30/image_17082025_15_30_14_10675.jpg', 2), ('/home/nano/Desktop/images/17082025/15/29/image_17082025_15_30_04_9670.jpg', 2), ('/home/nano/Desktop/images/17082025/15/29/image_17082025_15_29_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/15/29/image_17082025_15_29_45_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/15/29/image_17082025_15_29_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/29/image_17082025_15_29_24_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/30/image_17082025_15_30_14_10675.jpg', '/home/nano/Desktop/images/17082025/15/29/image_17082025_15_30_04_9670.jpg', '/home/nano/Desktop/images/17082025/15/29/image_17082025_15_29_54_9640.jpg', '/home/nano/Desktop/images/17082025/15/29/image_17082025_15_29_45_10648.jpg', '/home/nano/Desktop/images/17082025/15/29/image_17082025_15_29_34_9637.jpg', '/home/nano/Desktop/images/17082025/15/29/image_17082025_15_29_24_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/30/image_17082025_15_30_14_10675.jpg
/home/nano/Desktop/images/17082025/15/29/image_17082025_15_30_04_9670.jpg
/home/nano/Desktop/images/17082025/15/29/image_17082025_15_29_54_9640.jpg
/home/nano/Desktop/images/17082025/15/29/image_17082025_15_29_45_10648.jpg
/home/nano/Desktop/images/17082025/15/29/image_17082025_15_29_34_9637.jpg
/home/nano/Desktop/images/17082025/15/29/image_17082025_15_29_24_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670205","1377670198","1377670202","1377670189","1377670188","1377670200"],"photo_ids_order":["1377670188","1377670189","1377670198","1377670200","1377670202","1377670205"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a331f014a8bef6b739e7eef2956f9dfa.jpg","text":"TemporaryFile(/tmp/multipartBody5730198561653484079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438724624,"filename":"image_17082025_15_29_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4f4f5453487cf1f5787643d8f30e3eca.jpg","text":"TemporaryFile(/tmp/multipartBody5774059770936070668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438724624,"filename":"image_17082025_15_29_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/969869453940293c86efb723c05f5777.jpg","text":"TemporaryFile(/tmp/multipartBody2520931416318624545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438724624,"filename":"image_17082025_15_29_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/73eb8f675e3b11ee08e26804f3c72a30.jpg","text":"TemporaryFile(/tmp/multipartBody8508718463741607160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438724624,"filename":"image_17082025_15_30_04_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e78f158585d8fd0385efd69793f89925.jpg","text":"TemporaryFile(/tmp/multipartBody8692924197583828671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438724624,"filename":"image_17082025_15_30_14_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c9398cd49c5d3278cc90dde1c2047e9f.jpg","text":"TemporaryFile(/tmp/multipartBody3019800621489419784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438724624,"filename":"image_17082025_15_29_45_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670198","file1":"1377670189","file0":"1377670188","file4":"1377670202","file5":"1377670205","file3":"1377670200"},"map_files_photo_id_array":[{"photo_id":"1377670205","filename":"file5"},{"photo_id":"1377670198","filename":"file2"},{"photo_id":"1377670202","filename":"file4"},{"photo_id":"1377670189","filename":"file1"},{"photo_id":"1377670188","filename":"file0"},{"photo_id":"1377670200","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377670205":["hashtag1","hashtag2"]},{"1377670198":["hashtag1","hashtag2"]},{"1377670202":["hashtag1","hashtag2"]},{"1377670189":["hashtag1","hashtag2"]},{"1377670188":["hashtag1","hashtag2"]},{"1377670200":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377670205, 1377670198, 1377670202, 1377670189, 1377670188, 1377670200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21892690658569 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:51:47.092571
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/51/image_17082025_15_51_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/15/51/image_17082025_15_51_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/51/image_17082025_15_51_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/51/image_17082025_15_51_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/15/50/image_17082025_15_51_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/15/50/image_17082025_15_50_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/51/image_17082025_15_51_44_10648.jpg', '/home/nano/Desktop/images/17082025/15/51/image_17082025_15_51_34_9638.jpg', '/home/nano/Desktop/images/17082025/15/51/image_17082025_15_51_24_9639.jpg', '/home/nano/Desktop/images/17082025/15/51/image_17082025_15_51_14_10671.jpg', '/home/nano/Desktop/images/17082025/15/50/image_17082025_15_51_04_9650.jpg', '/home/nano/Desktop/images/17082025/15/50/image_17082025_15_50_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/51/image_17082025_15_51_44_10648.jpg
/home/nano/Desktop/images/17082025/15/51/image_17082025_15_51_34_9638.jpg
/home/nano/Desktop/images/17082025/15/51/image_17082025_15_51_24_9639.jpg
/home/nano/Desktop/images/17082025/15/51/image_17082025_15_51_14_10671.jpg
/home/nano/Desktop/images/17082025/15/50/image_17082025_15_51_04_9650.jpg
/home/nano/Desktop/images/17082025/15/50/image_17082025_15_50_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670211","1377670214","1377670213","1377670222","1377670224","1377670212"],"photo_ids_order":["1377670211","1377670212","1377670213","1377670214","1377670222","1377670224"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5c6a4946c4834bb8063ceea9653c4486.jpg","text":"TemporaryFile(/tmp/multipartBody8480209626535980166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438770003,"filename":"image_17082025_15_51_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4f707ece87f0ff37dd55fffe8b69c965.jpg","text":"TemporaryFile(/tmp/multipartBody7016793477518309290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438770003,"filename":"image_17082025_15_51_14_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fdebe774832b9ba54a9f1e18d55471c7.jpg","text":"TemporaryFile(/tmp/multipartBody3277522245009448494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438770003,"filename":"image_17082025_15_51_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cdce059e57dc5f8fc027a92d429e657f.jpg","text":"TemporaryFile(/tmp/multipartBody2385511794069960432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438770003,"filename":"image_17082025_15_51_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1478af4f03c611ae50eb01a15cf2f8cb.jpg","text":"TemporaryFile(/tmp/multipartBody7462198256042315590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438770003,"filename":"image_17082025_15_50_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0a3005a47c42cfed1dc43e29c71de852.jpg","text":"TemporaryFile(/tmp/multipartBody5681893064113342585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438770003,"filename":"image_17082025_15_51_34_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670213","file1":"1377670212","file0":"1377670211","file4":"1377670222","file5":"1377670224","file3":"1377670214"},"map_files_photo_id_array":[{"photo_id":"1377670224","filename":"file5"},{"photo_id":"1377670213","filename":"file2"},{"photo_id":"1377670222","filename":"file4"},{"photo_id":"1377670212","filename":"file1"},{"photo_id":"1377670211","filename":"file0"},{"photo_id":"1377670214","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377670211":["hashtag1","hashtag2"]},{"1377670214":["hashtag1","hashtag2"]},{"1377670213":["hashtag1","hashtag2"]},{"1377670222":["hashtag1","hashtag2"]},{"1377670224":["hashtag1","hashtag2"]},{"1377670212":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377670211, 1377670214, 1377670213, 1377670222, 1377670224, 1377670212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24375247955322 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:52:32.242243
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_14_10688.jpg', 2), ('/home/nano/Desktop/images/17082025/15/51/image_17082025_15_52_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/15/51/image_17082025_15_51_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_44_10650.jpg', '/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_34_9641.jpg', '/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_24_9639.jpg', '/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_14_10688.jpg', '/home/nano/Desktop/images/17082025/15/51/image_17082025_15_52_04_9653.jpg', '/home/nano/Desktop/images/17082025/15/51/image_17082025_15_51_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_44_10650.jpg
/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_34_9641.jpg
/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_24_9639.jpg
/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_14_10688.jpg
/home/nano/Desktop/images/17082025/15/51/image_17082025_15_52_04_9653.jpg
/home/nano/Desktop/images/17082025/15/51/image_17082025_15_51_54_9641.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2976915836334229 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:52:47.300106
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_14_10688.jpg', 2), ('/home/nano/Desktop/images/17082025/15/51/image_17082025_15_52_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/15/51/image_17082025_15_51_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_44_10650.jpg', '/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_34_9641.jpg', '/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_24_9639.jpg', '/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_14_10688.jpg', '/home/nano/Desktop/images/17082025/15/51/image_17082025_15_52_04_9653.jpg', '/home/nano/Desktop/images/17082025/15/51/image_17082025_15_51_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_44_10650.jpg
/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_34_9641.jpg
/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_24_9639.jpg
/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_14_10688.jpg
/home/nano/Desktop/images/17082025/15/51/image_17082025_15_52_04_9653.jpg
/home/nano/Desktop/images/17082025/15/51/image_17082025_15_51_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670253","1377670240","1377670243","1377670237","1377670242","1377670245"],"photo_ids_order":["1377670237","1377670240","1377670242","1377670243","1377670245","1377670253"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bc228b418ba54010c59590d05d0b2586.jpg","text":"TemporaryFile(/tmp/multipartBody2518816168462745137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438828845,"filename":"image_17082025_15_51_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/05c3e7516ed63bed4ab85abebd7cd1cb.jpg","text":"TemporaryFile(/tmp/multipartBody5689757780951736990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438828845,"filename":"image_17082025_15_52_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f15ce49a86e7b9f26a4e16a63bce3b6f.jpg","text":"TemporaryFile(/tmp/multipartBody9039670083446926538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438828845,"filename":"image_17082025_15_52_14_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/07a9b044bf5ea9890fd2cb1eb34eb67d.jpg","text":"TemporaryFile(/tmp/multipartBody5956490897881696583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438828845,"filename":"image_17082025_15_52_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6fa54e7163a7cad53ec311685aab2f51.jpg","text":"TemporaryFile(/tmp/multipartBody522735874347621752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438828845,"filename":"image_17082025_15_52_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/68f420d6eb253abcaf1c8a201d7f2491.jpg","text":"TemporaryFile(/tmp/multipartBody49958103808391968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438828845,"filename":"image_17082025_15_52_04_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670242","file1":"1377670240","file0":"1377670237","file4":"1377670245","file5":"1377670253","file3":"1377670243"},"map_files_photo_id_array":[{"photo_id":"1377670253","filename":"file5"},{"photo_id":"1377670242","filename":"file2"},{"photo_id":"1377670245","filename":"file4"},{"photo_id":"1377670240","filename":"file1"},{"photo_id":"1377670237","filename":"file0"},{"photo_id":"1377670243","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377670253":["hashtag1","hashtag2"]},{"1377670240":["hashtag1","hashtag2"]},{"1377670243":["hashtag1","hashtag2"]},{"1377670237":["hashtag1","hashtag2"]},{"1377670242":["hashtag1","hashtag2"]},{"1377670245":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377670253, 1377670240, 1377670243, 1377670237, 1377670242, 1377670245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47569036483765 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:53:32.400129
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/53/image_17082025_15_53_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/53/image_17082025_15_53_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/15/53/image_17082025_15_53_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/15/53/image_17082025_15_53_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/15/52/image_17082025_15_53_05_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/53/image_17082025_15_53_44_9639.jpg', '/home/nano/Desktop/images/17082025/15/53/image_17082025_15_53_34_10650.jpg', '/home/nano/Desktop/images/17082025/15/53/image_17082025_15_53_24_9655.jpg', '/home/nano/Desktop/images/17082025/15/53/image_17082025_15_53_14_9659.jpg', '/home/nano/Desktop/images/17082025/15/52/image_17082025_15_53_05_10667.jpg', '/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/53/image_17082025_15_53_44_9639.jpg
/home/nano/Desktop/images/17082025/15/53/image_17082025_15_53_34_10650.jpg
/home/nano/Desktop/images/17082025/15/53/image_17082025_15_53_24_9655.jpg
/home/nano/Desktop/images/17082025/15/53/image_17082025_15_53_14_9659.jpg
/home/nano/Desktop/images/17082025/15/52/image_17082025_15_53_05_10667.jpg
/home/nano/Desktop/images/17082025/15/52/image_17082025_15_52_54_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670268","1377670262","1377670264","1377670261","1377670269","1377670266"],"photo_ids_order":["1377670261","1377670262","1377670264","1377670266","1377670268","1377670269"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a04c36d5f72d040818e9ea8084c86040.jpg","text":"TemporaryFile(/tmp/multipartBody6160571560373336926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438874194,"filename":"image_17082025_15_53_05_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f7f624cc1c9ab70bd6cd635a7c65ec18.jpg","text":"TemporaryFile(/tmp/multipartBody2601564329301213134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438874194,"filename":"image_17082025_15_53_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/46dffd4f49237c76c37fb7679230c595.jpg","text":"TemporaryFile(/tmp/multipartBody6119878798222385875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438874194,"filename":"image_17082025_15_53_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d0c1c36c2bef37493037c7f8e9774620.jpg","text":"TemporaryFile(/tmp/multipartBody467760846281515757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438874194,"filename":"image_17082025_15_53_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9e9ba7518c29c5842321e1563a3c1ef4.jpg","text":"TemporaryFile(/tmp/multipartBody8830223600683566570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438874194,"filename":"image_17082025_15_52_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a9425673bb9957f453fc65011cb98e96.jpg","text":"TemporaryFile(/tmp/multipartBody7497712819167616852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438874194,"filename":"image_17082025_15_53_14_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670264","file1":"1377670262","file0":"1377670261","file4":"1377670268","file5":"1377670269","file3":"1377670266"},"map_files_photo_id_array":[{"photo_id":"1377670269","filename":"file5"},{"photo_id":"1377670264","filename":"file2"},{"photo_id":"1377670268","filename":"file4"},{"photo_id":"1377670262","filename":"file1"},{"photo_id":"1377670261","filename":"file0"},{"photo_id":"1377670266","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377670268":["hashtag1","hashtag2"]},{"1377670262":["hashtag1","hashtag2"]},{"1377670264":["hashtag1","hashtag2"]},{"1377670261":["hashtag1","hashtag2"]},{"1377670269":["hashtag1","hashtag2"]},{"1377670266":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377670268, 1377670262, 1377670264, 1377670261, 1377670269, 1377670266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.341554164886475 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:54:17.498144
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/54/image_17082025_15_54_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/54/image_17082025_15_54_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/15/54/image_17082025_15_54_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/15/53/image_17082025_15_54_04_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/15/53/image_17082025_15_53_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/29/image_17082025_15_29_14_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/54/image_17082025_15_54_44_9639.jpg', '/home/nano/Desktop/images/17082025/15/54/image_17082025_15_54_34_10649.jpg', '/home/nano/Desktop/images/17082025/15/54/image_17082025_15_54_14_9658.jpg', '/home/nano/Desktop/images/17082025/15/53/image_17082025_15_54_04_10664.jpg', '/home/nano/Desktop/images/17082025/15/53/image_17082025_15_53_54_9637.jpg', '/home/nano/Desktop/images/17082025/15/29/image_17082025_15_29_14_9659.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/54/image_17082025_15_54_44_9639.jpg
/home/nano/Desktop/images/17082025/15/54/image_17082025_15_54_34_10649.jpg
/home/nano/Desktop/images/17082025/15/54/image_17082025_15_54_14_9658.jpg
/home/nano/Desktop/images/17082025/15/53/image_17082025_15_54_04_10664.jpg
/home/nano/Desktop/images/17082025/15/53/image_17082025_15_53_54_9637.jpg
/home/nano/Desktop/images/17082025/15/29/image_17082025_15_29_14_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670286","1377670294","1377670291","1377670279","1377670288","1377670283"],"photo_ids_order":["1377670279","1377670283","1377670286","1377670288","1377670291","1377670294"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6ccfc8593b5bc8535fa4d3dfe83c1247.jpg","text":"TemporaryFile(/tmp/multipartBody1972165701022750309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438919205,"filename":"image_17082025_15_54_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1cc2dca8868fcefe942c498e2bafdbc3.jpg","text":"TemporaryFile(/tmp/multipartBody1474471194166404081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438919205,"filename":"image_17082025_15_29_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6fe38c57f8b6fbddb0827145e42e8146.jpg","text":"TemporaryFile(/tmp/multipartBody1874576469346190950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438919205,"filename":"image_17082025_15_53_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dea0e1670d48181d3479b411acfb5bbe.jpg","text":"TemporaryFile(/tmp/multipartBody6719436847588458287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438919205,"filename":"image_17082025_15_54_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1340568bafe7b4c102aac840ab391727.jpg","text":"TemporaryFile(/tmp/multipartBody6138088342901871752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438919205,"filename":"image_17082025_15_54_04_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/90179fd098def3bfa8249cedfe19585f.jpg","text":"TemporaryFile(/tmp/multipartBody879739974743652709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438919205,"filename":"image_17082025_15_54_34_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670286","file1":"1377670283","file0":"1377670279","file4":"1377670291","file5":"1377670294","file3":"1377670288"},"map_files_photo_id_array":[{"photo_id":"1377670294","filename":"file5"},{"photo_id":"1377670286","filename":"file2"},{"photo_id":"1377670291","filename":"file4"},{"photo_id":"1377670283","filename":"file1"},{"photo_id":"1377670279","filename":"file0"},{"photo_id":"1377670288","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377670286":["hashtag1","hashtag2"]},{"1377670294":["hashtag1","hashtag2"]},{"1377670291":["hashtag1","hashtag2"]},{"1377670279":["hashtag1","hashtag2"]},{"1377670288":["hashtag1","hashtag2"]},{"1377670283":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377670286, 1377670294, 1377670291, 1377670279, 1377670288, 1377670283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.786144733428955 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:55:03.274844
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/28/image_17082025_15_29_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/15/28/image_17082025_15_28_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/28/image_17082025_15_28_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/28/image_17082025_15_28_34_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/15/28/image_17082025_15_28_24_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/15/28/image_17082025_15_28_14_9677.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/28/image_17082025_15_29_04_9650.jpg', '/home/nano/Desktop/images/17082025/15/28/image_17082025_15_28_54_10647.jpg', '/home/nano/Desktop/images/17082025/15/28/image_17082025_15_28_44_9636.jpg', '/home/nano/Desktop/images/17082025/15/28/image_17082025_15_28_34_9635.jpg', '/home/nano/Desktop/images/17082025/15/28/image_17082025_15_28_24_10645.jpg', '/home/nano/Desktop/images/17082025/15/28/image_17082025_15_28_14_9677.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/28/image_17082025_15_29_04_9650.jpg
/home/nano/Desktop/images/17082025/15/28/image_17082025_15_28_54_10647.jpg
/home/nano/Desktop/images/17082025/15/28/image_17082025_15_28_44_9636.jpg
/home/nano/Desktop/images/17082025/15/28/image_17082025_15_28_34_9635.jpg
/home/nano/Desktop/images/17082025/15/28/image_17082025_15_28_24_10645.jpg
/home/nano/Desktop/images/17082025/15/28/image_17082025_15_28_14_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670307","1377670312","1377670300","1377670299","1377670311","1377670308"],"photo_ids_order":["1377670299","1377670300","1377670307","1377670308","1377670311","1377670312"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e2a0137edc131d57db0057b5529011ee.jpg","text":"TemporaryFile(/tmp/multipartBody3583484529481719679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438965054,"filename":"image_17082025_15_28_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f04baa6534d8e24edbc5e0bfa0cf5f5a.jpg","text":"TemporaryFile(/tmp/multipartBody1355322736545520967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438965054,"filename":"image_17082025_15_28_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9aea3da634bc9e78eb7d76c3a6765a2b.jpg","text":"TemporaryFile(/tmp/multipartBody8562414031904546369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438965054,"filename":"image_17082025_15_28_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e1696584ad8d8baa09e01fa1bd516a9e.jpg","text":"TemporaryFile(/tmp/multipartBody627635797014004127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438965054,"filename":"image_17082025_15_29_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/33c4f2e85ec6c499190203e1b585b31f.jpg","text":"TemporaryFile(/tmp/multipartBody8666781574394373982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438965054,"filename":"image_17082025_15_28_24_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/64dc4b591430a2f4a41bd2207589e6d0.jpg","text":"TemporaryFile(/tmp/multipartBody1301170817954549410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755438965054,"filename":"image_17082025_15_28_34_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670307","file1":"1377670300","file0":"1377670299","file4":"1377670311","file5":"1377670312","file3":"1377670308"},"map_files_photo_id_array":[{"photo_id":"1377670312","filename":"file5"},{"photo_id":"1377670307","filename":"file2"},{"photo_id":"1377670311","filename":"file4"},{"photo_id":"1377670300","filename":"file1"},{"photo_id":"1377670299","filename":"file0"},{"photo_id":"1377670308","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377670307":["hashtag1","hashtag2"]},{"1377670312":["hashtag1","hashtag2"]},{"1377670300":["hashtag1","hashtag2"]},{"1377670299":["hashtag1","hashtag2"]},{"1377670311":["hashtag1","hashtag2"]},{"1377670308":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377670307, 1377670312, 1377670300, 1377670299, 1377670311, 1377670308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44636607170105 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:55:47.616139
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/55/image_17082025_15_55_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/55/image_17082025_15_55_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/55/image_17082025_15_55_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/15/55/image_17082025_15_55_14_9676.jpg', 2), ('/home/nano/Desktop/images/17082025/15/54/image_17082025_15_55_04_10691.jpg', 2), ('/home/nano/Desktop/images/17082025/15/54/image_17082025_15_54_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/55/image_17082025_15_55_44_9638.jpg', '/home/nano/Desktop/images/17082025/15/55/image_17082025_15_55_34_10647.jpg', '/home/nano/Desktop/images/17082025/15/55/image_17082025_15_55_24_9641.jpg', '/home/nano/Desktop/images/17082025/15/55/image_17082025_15_55_14_9676.jpg', '/home/nano/Desktop/images/17082025/15/54/image_17082025_15_55_04_10691.jpg', '/home/nano/Desktop/images/17082025/15/54/image_17082025_15_54_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/55/image_17082025_15_55_44_9638.jpg
/home/nano/Desktop/images/17082025/15/55/image_17082025_15_55_34_10647.jpg
/home/nano/Desktop/images/17082025/15/55/image_17082025_15_55_24_9641.jpg
/home/nano/Desktop/images/17082025/15/55/image_17082025_15_55_14_9676.jpg
/home/nano/Desktop/images/17082025/15/54/image_17082025_15_55_04_10691.jpg
/home/nano/Desktop/images/17082025/15/54/image_17082025_15_54_54_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670325","1377670336","1377670324","1377670323","1377670332","1377670326"],"photo_ids_order":["1377670323","1377670324","1377670325","1377670326","1377670332","1377670336"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/395ddef87b6f2892b0a0250fdfc86587.jpg","text":"TemporaryFile(/tmp/multipartBody7913852847627306190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439009445,"filename":"image_17082025_15_55_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/58b2020843ceaebac5a130d73a8e10db.jpg","text":"TemporaryFile(/tmp/multipartBody8485835956170017728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439009445,"filename":"image_17082025_15_54_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6187ddc920de2f54bca894516d809631.jpg","text":"TemporaryFile(/tmp/multipartBody6760191110915235945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439009445,"filename":"image_17082025_15_55_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cada3f2b4f92394eafda1f88a1c23857.jpg","text":"TemporaryFile(/tmp/multipartBody3454216174325558402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439009445,"filename":"image_17082025_15_55_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/21e3fa39513fe0c5bfb0efb0de08027a.jpg","text":"TemporaryFile(/tmp/multipartBody4706904148328669435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439009445,"filename":"image_17082025_15_55_04_10691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4630acee796616f46ed8b11ae4c38a5c.jpg","text":"TemporaryFile(/tmp/multipartBody7796832512078494395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439009445,"filename":"image_17082025_15_55_14_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670325","file1":"1377670324","file0":"1377670323","file4":"1377670332","file5":"1377670336","file3":"1377670326"},"map_files_photo_id_array":[{"photo_id":"1377670336","filename":"file5"},{"photo_id":"1377670325","filename":"file2"},{"photo_id":"1377670332","filename":"file4"},{"photo_id":"1377670324","filename":"file1"},{"photo_id":"1377670323","filename":"file0"},{"photo_id":"1377670326","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377670325":["hashtag1","hashtag2"]},{"1377670336":["hashtag1","hashtag2"]},{"1377670324":["hashtag1","hashtag2"]},{"1377670323":["hashtag1","hashtag2"]},{"1377670332":["hashtag1","hashtag2"]},{"1377670326":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377670325, 1377670336, 1377670324, 1377670323, 1377670332, 1377670326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93303179740906 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:56:32.718802
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/56/image_17082025_15_56_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/15/56/image_17082025_15_56_34_10654.jpg', 2), ('/home/nano/Desktop/images/17082025/15/56/image_17082025_15_56_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/56/image_17082025_15_56_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/15/55/image_17082025_15_56_04_10655.jpg', 2), ('/home/nano/Desktop/images/17082025/15/55/image_17082025_15_55_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/56/image_17082025_15_56_44_9640.jpg', '/home/nano/Desktop/images/17082025/15/56/image_17082025_15_56_34_10654.jpg', '/home/nano/Desktop/images/17082025/15/56/image_17082025_15_56_24_9638.jpg', '/home/nano/Desktop/images/17082025/15/56/image_17082025_15_56_14_9655.jpg', '/home/nano/Desktop/images/17082025/15/55/image_17082025_15_56_04_10655.jpg', '/home/nano/Desktop/images/17082025/15/55/image_17082025_15_55_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/56/image_17082025_15_56_44_9640.jpg
/home/nano/Desktop/images/17082025/15/56/image_17082025_15_56_34_10654.jpg
/home/nano/Desktop/images/17082025/15/56/image_17082025_15_56_24_9638.jpg
/home/nano/Desktop/images/17082025/15/56/image_17082025_15_56_14_9655.jpg
/home/nano/Desktop/images/17082025/15/55/image_17082025_15_56_04_10655.jpg
/home/nano/Desktop/images/17082025/15/55/image_17082025_15_55_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670346","1377670430","1377670399","1377670459","1377670368","1377670344"],"photo_ids_order":["1377670344","1377670346","1377670368","1377670399","1377670430","1377670459"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ae1c53e40a812da993ef2dca9d3c6176.jpg","text":"TemporaryFile(/tmp/multipartBody4961828788839796121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439054487,"filename":"image_17082025_15_56_34_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e8c4e11007b881220d16e94843d51bda.jpg","text":"TemporaryFile(/tmp/multipartBody9208139036144465362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439054487,"filename":"image_17082025_15_56_04_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e9be2626caeb852d52d412f3cefeb9a5.jpg","text":"TemporaryFile(/tmp/multipartBody2308318947293432312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439054487,"filename":"image_17082025_15_56_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/21f806a8c433f6ed6e0bb3574fe6e214.jpg","text":"TemporaryFile(/tmp/multipartBody8725250852208368700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439054487,"filename":"image_17082025_15_55_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/06c6eea3aa7ac85452d560286f5d7c66.jpg","text":"TemporaryFile(/tmp/multipartBody9106684721778091715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439054487,"filename":"image_17082025_15_56_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/25d6060b16e2fc4fc5dd7cceaa4c4d8d.jpg","text":"TemporaryFile(/tmp/multipartBody8195512926095860890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439054487,"filename":"image_17082025_15_56_44_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670368","file1":"1377670346","file0":"1377670344","file4":"1377670430","file5":"1377670459","file3":"1377670399"},"map_files_photo_id_array":[{"photo_id":"1377670459","filename":"file5"},{"photo_id":"1377670368","filename":"file2"},{"photo_id":"1377670430","filename":"file4"},{"photo_id":"1377670346","filename":"file1"},{"photo_id":"1377670344","filename":"file0"},{"photo_id":"1377670399","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377670346":["hashtag1","hashtag2"]},{"1377670430":["hashtag1","hashtag2"]},{"1377670399":["hashtag1","hashtag2"]},{"1377670459":["hashtag1","hashtag2"]},{"1377670368":["hashtag1","hashtag2"]},{"1377670344":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377670346, 1377670430, 1377670399, 1377670459, 1377670368, 1377670344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53609085083008 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:57:16.815695
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/57/image_17082025_15_57_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/57/image_17082025_15_57_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/57/image_17082025_15_57_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/15/57/image_17082025_15_57_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/15/56/image_17082025_15_57_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/56/image_17082025_15_56_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/57/image_17082025_15_57_44_9639.jpg', '/home/nano/Desktop/images/17082025/15/57/image_17082025_15_57_34_9637.jpg', '/home/nano/Desktop/images/17082025/15/57/image_17082025_15_57_24_10650.jpg', '/home/nano/Desktop/images/17082025/15/57/image_17082025_15_57_14_9654.jpg', '/home/nano/Desktop/images/17082025/15/56/image_17082025_15_57_04_9638.jpg', '/home/nano/Desktop/images/17082025/15/56/image_17082025_15_56_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/57/image_17082025_15_57_44_9639.jpg
/home/nano/Desktop/images/17082025/15/57/image_17082025_15_57_34_9637.jpg
/home/nano/Desktop/images/17082025/15/57/image_17082025_15_57_24_10650.jpg
/home/nano/Desktop/images/17082025/15/57/image_17082025_15_57_14_9654.jpg
/home/nano/Desktop/images/17082025/15/56/image_17082025_15_57_04_9638.jpg
/home/nano/Desktop/images/17082025/15/56/image_17082025_15_56_54_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670598","1377670778","1377670730","1377670696","1377670620","1377670638"],"photo_ids_order":["1377670598","1377670620","1377670638","1377670696","1377670730","1377670778"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/155151a6d9b00a06a223a5c3cbe3f977.jpg","text":"TemporaryFile(/tmp/multipartBody5602737590062315251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439098667,"filename":"image_17082025_15_57_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/311d0a16e9a0f6510c52e729d85b37e6.jpg","text":"TemporaryFile(/tmp/multipartBody8676999789552979101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439098667,"filename":"image_17082025_15_56_54_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/68fe7e5030208e22d328d37b3235b5e9.jpg","text":"TemporaryFile(/tmp/multipartBody1166653763589872016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439098667,"filename":"image_17082025_15_57_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4f740e3f393ca98da52f827b0140397c.jpg","text":"TemporaryFile(/tmp/multipartBody7978085203796977399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439098667,"filename":"image_17082025_15_57_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f86ead1dda7db289a6390549b395b271.jpg","text":"TemporaryFile(/tmp/multipartBody1078376729825729147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439098667,"filename":"image_17082025_15_57_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0b5f7bbbf77f0d5e92d843d9d296570a.jpg","text":"TemporaryFile(/tmp/multipartBody6626770985015010659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439098667,"filename":"image_17082025_15_57_24_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670638","file1":"1377670620","file0":"1377670598","file4":"1377670730","file5":"1377670778","file3":"1377670696"},"map_files_photo_id_array":[{"photo_id":"1377670778","filename":"file5"},{"photo_id":"1377670638","filename":"file2"},{"photo_id":"1377670730","filename":"file4"},{"photo_id":"1377670620","filename":"file1"},{"photo_id":"1377670598","filename":"file0"},{"photo_id":"1377670696","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377670598":["hashtag1","hashtag2"]},{"1377670778":["hashtag1","hashtag2"]},{"1377670730":["hashtag1","hashtag2"]},{"1377670696":["hashtag1","hashtag2"]},{"1377670620":["hashtag1","hashtag2"]},{"1377670638":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377670598, 1377670778, 1377670730, 1377670696, 1377670620, 1377670638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.306869983673096 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:58:02.508054
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/27/image_17082025_15_28_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/15/27/image_17082025_15_27_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/15/27/image_17082025_15_27_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/27/image_17082025_15_27_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/27/image_17082025_15_27_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/15/27/image_17082025_15_27_14_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/27/image_17082025_15_28_04_9655.jpg', '/home/nano/Desktop/images/17082025/15/27/image_17082025_15_27_54_10648.jpg', '/home/nano/Desktop/images/17082025/15/27/image_17082025_15_27_44_9637.jpg', '/home/nano/Desktop/images/17082025/15/27/image_17082025_15_27_34_9636.jpg', '/home/nano/Desktop/images/17082025/15/27/image_17082025_15_27_24_10650.jpg', '/home/nano/Desktop/images/17082025/15/27/image_17082025_15_27_14_9661.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/27/image_17082025_15_28_04_9655.jpg
/home/nano/Desktop/images/17082025/15/27/image_17082025_15_27_54_10648.jpg
/home/nano/Desktop/images/17082025/15/27/image_17082025_15_27_44_9637.jpg
/home/nano/Desktop/images/17082025/15/27/image_17082025_15_27_34_9636.jpg
/home/nano/Desktop/images/17082025/15/27/image_17082025_15_27_24_10650.jpg
/home/nano/Desktop/images/17082025/15/27/image_17082025_15_27_14_9661.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670934","1377670883","1377670864","1377670933","1377670924","1377670914"],"photo_ids_order":["1377670864","1377670883","1377670914","1377670924","1377670933","1377670934"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/11cadf389a0f9ca5ba95e66c72e694d9.jpg","text":"TemporaryFile(/tmp/multipartBody2753988180180894023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439144379,"filename":"image_17082025_15_27_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/40a82156d4f636f8a97dacf49157f3d4.jpg","text":"TemporaryFile(/tmp/multipartBody6319475059845055132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439144379,"filename":"image_17082025_15_27_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9b314540253c48f37d57617dedc2d51b.jpg","text":"TemporaryFile(/tmp/multipartBody2999332664132721667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439144379,"filename":"image_17082025_15_28_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/59c1ca594eb7dec9a935f2d2d5892de3.jpg","text":"TemporaryFile(/tmp/multipartBody8803366390263464899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439144379,"filename":"image_17082025_15_27_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/67db011f8016bbcf7ebfabec7cc0e902.jpg","text":"TemporaryFile(/tmp/multipartBody8503770313663795924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439144379,"filename":"image_17082025_15_27_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1b99882b211e9d6686dd29e12ceb3a17.jpg","text":"TemporaryFile(/tmp/multipartBody8833406754224208316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439144379,"filename":"image_17082025_15_27_44_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670914","file1":"1377670883","file0":"1377670864","file4":"1377670933","file5":"1377670934","file3":"1377670924"},"map_files_photo_id_array":[{"photo_id":"1377670934","filename":"file5"},{"photo_id":"1377670914","filename":"file2"},{"photo_id":"1377670933","filename":"file4"},{"photo_id":"1377670883","filename":"file1"},{"photo_id":"1377670864","filename":"file0"},{"photo_id":"1377670924","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377670934":["hashtag1","hashtag2"]},{"1377670883":["hashtag1","hashtag2"]},{"1377670864":["hashtag1","hashtag2"]},{"1377670933":["hashtag1","hashtag2"]},{"1377670924":["hashtag1","hashtag2"]},{"1377670914":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377670934, 1377670883, 1377670864, 1377670933, 1377670924, 1377670914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.873053550720215 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:59:02.814060
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/58/image_17082025_15_58_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/15/58/image_17082025_15_58_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/15/58/image_17082025_15_58_24_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/15/58/image_17082025_15_58_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/15/57/image_17082025_15_58_04_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/15/57/image_17082025_15_57_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/58/image_17082025_15_58_44_9641.jpg', '/home/nano/Desktop/images/17082025/15/58/image_17082025_15_58_34_9642.jpg', '/home/nano/Desktop/images/17082025/15/58/image_17082025_15_58_24_10652.jpg', '/home/nano/Desktop/images/17082025/15/58/image_17082025_15_58_14_9661.jpg', '/home/nano/Desktop/images/17082025/15/57/image_17082025_15_58_04_9657.jpg', '/home/nano/Desktop/images/17082025/15/57/image_17082025_15_57_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/58/image_17082025_15_58_44_9641.jpg
/home/nano/Desktop/images/17082025/15/58/image_17082025_15_58_34_9642.jpg
/home/nano/Desktop/images/17082025/15/58/image_17082025_15_58_24_10652.jpg
/home/nano/Desktop/images/17082025/15/58/image_17082025_15_58_14_9661.jpg
/home/nano/Desktop/images/17082025/15/57/image_17082025_15_58_04_9657.jpg
/home/nano/Desktop/images/17082025/15/57/image_17082025_15_57_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670951","1377670954","1377670948","1377670936","1377670939","1377670959"],"photo_ids_order":["1377670936","1377670939","1377670948","1377670951","1377670954","1377670959"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/23852ab0d4e176b36292931c67c2a5c1.jpg","text":"TemporaryFile(/tmp/multipartBody1590683795382487922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439204681,"filename":"image_17082025_15_58_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/373aa8382beccd73fe1fba6ac239be9d.jpg","text":"TemporaryFile(/tmp/multipartBody2785588873872580175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439204681,"filename":"image_17082025_15_58_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/74d4a5ae5b8b43e9a99f1d503d319ddf.jpg","text":"TemporaryFile(/tmp/multipartBody8237687336933630510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439204681,"filename":"image_17082025_15_58_24_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8071c1c3e7424bf7b5e763dbbd2fb416.jpg","text":"TemporaryFile(/tmp/multipartBody8858913373543477414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439204681,"filename":"image_17082025_15_58_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8bade9e216c9796deb5437232b3998af.jpg","text":"TemporaryFile(/tmp/multipartBody6997106084905963789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439204681,"filename":"image_17082025_15_58_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/40047c45402c8974cac2086d216fe18d.jpg","text":"TemporaryFile(/tmp/multipartBody1491993288707283498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439204681,"filename":"image_17082025_15_57_54_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670948","file1":"1377670939","file0":"1377670936","file4":"1377670954","file5":"1377670959","file3":"1377670951"},"map_files_photo_id_array":[{"photo_id":"1377670959","filename":"file5"},{"photo_id":"1377670948","filename":"file2"},{"photo_id":"1377670954","filename":"file4"},{"photo_id":"1377670939","filename":"file1"},{"photo_id":"1377670936","filename":"file0"},{"photo_id":"1377670951","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377670951":["hashtag1","hashtag2"]},{"1377670954":["hashtag1","hashtag2"]},{"1377670948":["hashtag1","hashtag2"]},{"1377670936":["hashtag1","hashtag2"]},{"1377670939":["hashtag1","hashtag2"]},{"1377670959":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377670951, 1377670954, 1377670948, 1377670936, 1377670939, 1377670959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23058748245239 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 15:59:46.791749
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/59/image_17082025_15_59_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/15/59/image_17082025_15_59_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/59/image_17082025_15_59_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/15/59/image_17082025_15_59_14_9677.jpg', 2), ('/home/nano/Desktop/images/17082025/15/58/image_17082025_15_59_04_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/15/58/image_17082025_15_58_54_10666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/59/image_17082025_15_59_44_9642.jpg', '/home/nano/Desktop/images/17082025/15/59/image_17082025_15_59_34_9639.jpg', '/home/nano/Desktop/images/17082025/15/59/image_17082025_15_59_24_10650.jpg', '/home/nano/Desktop/images/17082025/15/59/image_17082025_15_59_14_9677.jpg', '/home/nano/Desktop/images/17082025/15/58/image_17082025_15_59_04_9659.jpg', '/home/nano/Desktop/images/17082025/15/58/image_17082025_15_58_54_10666.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/59/image_17082025_15_59_44_9642.jpg
/home/nano/Desktop/images/17082025/15/59/image_17082025_15_59_34_9639.jpg
/home/nano/Desktop/images/17082025/15/59/image_17082025_15_59_24_10650.jpg
/home/nano/Desktop/images/17082025/15/59/image_17082025_15_59_14_9677.jpg
/home/nano/Desktop/images/17082025/15/58/image_17082025_15_59_04_9659.jpg
/home/nano/Desktop/images/17082025/15/58/image_17082025_15_58_54_10666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377670978","1377670975","1377670983","1377670977","1377670991","1377670979"],"photo_ids_order":["1377670975","1377670977","1377670978","1377670979","1377670983","1377670991"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6ff04ebd7f67e86577f2bdbf449cfdfe.jpg","text":"TemporaryFile(/tmp/multipartBody3624269803276166382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439248624,"filename":"image_17082025_15_59_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3ce391edd99d20779ae31ac17c538a73.jpg","text":"TemporaryFile(/tmp/multipartBody2117610233460032334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439248624,"filename":"image_17082025_15_59_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d2ee7e62c1e4fbebda243b05dd2eb5e5.jpg","text":"TemporaryFile(/tmp/multipartBody6653305713456058454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439248624,"filename":"image_17082025_15_59_04_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c50a8dddccb376b31abce28a51870f18.jpg","text":"TemporaryFile(/tmp/multipartBody5458489619792805939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439248624,"filename":"image_17082025_15_59_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8e68000815371622cb152fa91147c0b2.jpg","text":"TemporaryFile(/tmp/multipartBody2648892713666983243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439248624,"filename":"image_17082025_15_58_54_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1ce23f9b67a2a8e82c600a19f9cd41b7.jpg","text":"TemporaryFile(/tmp/multipartBody3585249933977230877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439248624,"filename":"image_17082025_15_59_14_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377670978","file1":"1377670977","file0":"1377670975","file4":"1377670983","file5":"1377670991","file3":"1377670979"},"map_files_photo_id_array":[{"photo_id":"1377670991","filename":"file5"},{"photo_id":"1377670978","filename":"file2"},{"photo_id":"1377670983","filename":"file4"},{"photo_id":"1377670977","filename":"file1"},{"photo_id":"1377670975","filename":"file0"},{"photo_id":"1377670979","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377670978":["hashtag1","hashtag2"]},{"1377670975":["hashtag1","hashtag2"]},{"1377670983":["hashtag1","hashtag2"]},{"1377670977":["hashtag1","hashtag2"]},{"1377670991":["hashtag1","hashtag2"]},{"1377670979":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377670978, 1377670975, 1377670983, 1377670977, 1377670991, 1377670979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.043903827667236 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:00:31.908851
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/00/image_17082025_16_00_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/16/00/image_17082025_16_00_34_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/16/00/image_17082025_16_00_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/16/00/image_17082025_16_00_15_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/15/59/image_17082025_16_00_04_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/15/59/image_17082025_15_59_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/00/image_17082025_16_00_44_10647.jpg', '/home/nano/Desktop/images/17082025/16/00/image_17082025_16_00_34_9656.jpg', '/home/nano/Desktop/images/17082025/16/00/image_17082025_16_00_24_9640.jpg', '/home/nano/Desktop/images/17082025/16/00/image_17082025_16_00_15_10667.jpg', '/home/nano/Desktop/images/17082025/15/59/image_17082025_16_00_04_9659.jpg', '/home/nano/Desktop/images/17082025/15/59/image_17082025_15_59_54_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/00/image_17082025_16_00_44_10647.jpg
/home/nano/Desktop/images/17082025/16/00/image_17082025_16_00_34_9656.jpg
/home/nano/Desktop/images/17082025/16/00/image_17082025_16_00_24_9640.jpg
/home/nano/Desktop/images/17082025/16/00/image_17082025_16_00_15_10667.jpg
/home/nano/Desktop/images/17082025/15/59/image_17082025_16_00_04_9659.jpg
/home/nano/Desktop/images/17082025/15/59/image_17082025_15_59_54_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671012","1377671009","1377671014","1377671002","1377671007","1377671004"],"photo_ids_order":["1377671002","1377671004","1377671007","1377671009","1377671012","1377671014"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e879c89a19d4058c11c01289f3b58de0.jpg","text":"TemporaryFile(/tmp/multipartBody8485879679390552379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439293646,"filename":"image_17082025_16_00_04_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1f2da4a5497a55e51ff1296d16753ed1.jpg","text":"TemporaryFile(/tmp/multipartBody6181912736456841278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439293646,"filename":"image_17082025_16_00_15_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/818e321166089aba696dd9761f2f7593.jpg","text":"TemporaryFile(/tmp/multipartBody7943631092776745291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439293646,"filename":"image_17082025_15_59_54_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8c06fcca15ff81ab8fcaf22687c51ef4.jpg","text":"TemporaryFile(/tmp/multipartBody1889129598584171232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439293646,"filename":"image_17082025_16_00_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/438ad6811a127a6178b9182fc58c903e.jpg","text":"TemporaryFile(/tmp/multipartBody5036001125117490959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439293646,"filename":"image_17082025_16_00_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dd7439852225e285f908d6496cd6cefd.jpg","text":"TemporaryFile(/tmp/multipartBody4482059466692766960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439293646,"filename":"image_17082025_16_00_34_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671007","file1":"1377671004","file0":"1377671002","file4":"1377671012","file5":"1377671014","file3":"1377671009"},"map_files_photo_id_array":[{"photo_id":"1377671014","filename":"file5"},{"photo_id":"1377671007","filename":"file2"},{"photo_id":"1377671012","filename":"file4"},{"photo_id":"1377671004","filename":"file1"},{"photo_id":"1377671002","filename":"file0"},{"photo_id":"1377671009","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671012":["hashtag1","hashtag2"]},{"1377671009":["hashtag1","hashtag2"]},{"1377671014":["hashtag1","hashtag2"]},{"1377671002":["hashtag1","hashtag2"]},{"1377671007":["hashtag1","hashtag2"]},{"1377671004":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671012, 1377671009, 1377671014, 1377671002, 1377671007, 1377671004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30791473388672 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:01:16.989607
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/01/image_17082025_16_01_44_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/16/01/image_17082025_16_01_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/16/01/image_17082025_16_01_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/16/01/image_17082025_16_01_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/16/00/image_17082025_16_01_04_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/16/00/image_17082025_16_00_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/01/image_17082025_16_01_44_10645.jpg', '/home/nano/Desktop/images/17082025/16/01/image_17082025_16_01_34_9638.jpg', '/home/nano/Desktop/images/17082025/16/01/image_17082025_16_01_24_9636.jpg', '/home/nano/Desktop/images/17082025/16/01/image_17082025_16_01_14_10669.jpg', '/home/nano/Desktop/images/17082025/16/00/image_17082025_16_01_04_9662.jpg', '/home/nano/Desktop/images/17082025/16/00/image_17082025_16_00_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/01/image_17082025_16_01_44_10645.jpg
/home/nano/Desktop/images/17082025/16/01/image_17082025_16_01_34_9638.jpg
/home/nano/Desktop/images/17082025/16/01/image_17082025_16_01_24_9636.jpg
/home/nano/Desktop/images/17082025/16/01/image_17082025_16_01_14_10669.jpg
/home/nano/Desktop/images/17082025/16/00/image_17082025_16_01_04_9662.jpg
/home/nano/Desktop/images/17082025/16/00/image_17082025_16_00_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671032","1377671026","1377671041","1377671035","1377671029","1377671038"],"photo_ids_order":["1377671026","1377671029","1377671032","1377671035","1377671038","1377671041"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cc48b752de973f8f872dcaa11986a011.jpg","text":"TemporaryFile(/tmp/multipartBody4241161011900309018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439338846,"filename":"image_17082025_16_01_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b901eeec57eb18082d2af9e8b672100f.jpg","text":"TemporaryFile(/tmp/multipartBody946589260905983457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439338846,"filename":"image_17082025_16_01_44_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bdd8580ea4dd54ad4502e958fd7bd660.jpg","text":"TemporaryFile(/tmp/multipartBody3682677274051243923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439338846,"filename":"image_17082025_16_00_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6b86ee9ed7f1679a1b0607011d170d68.jpg","text":"TemporaryFile(/tmp/multipartBody3792033194811256777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439338846,"filename":"image_17082025_16_01_14_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4c6b93b092b93070d01a8da4910845a5.jpg","text":"TemporaryFile(/tmp/multipartBody4400342427439711102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439338846,"filename":"image_17082025_16_01_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0f07c9f069a7c4f58a8984f589154752.jpg","text":"TemporaryFile(/tmp/multipartBody8194354850230263771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439338846,"filename":"image_17082025_16_01_04_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671032","file1":"1377671029","file0":"1377671026","file4":"1377671038","file5":"1377671041","file3":"1377671035"},"map_files_photo_id_array":[{"photo_id":"1377671041","filename":"file5"},{"photo_id":"1377671032","filename":"file2"},{"photo_id":"1377671038","filename":"file4"},{"photo_id":"1377671029","filename":"file1"},{"photo_id":"1377671026","filename":"file0"},{"photo_id":"1377671035","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671032":["hashtag1","hashtag2"]},{"1377671026":["hashtag1","hashtag2"]},{"1377671041":["hashtag1","hashtag2"]},{"1377671035":["hashtag1","hashtag2"]},{"1377671029":["hashtag1","hashtag2"]},{"1377671038":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671032, 1377671026, 1377671041, 1377671035, 1377671029, 1377671038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83287787437439 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:02:02.741975
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/26/image_17082025_15_26_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/15/26/image_17082025_15_26_44_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/15/26/image_17082025_15_26_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/26/image_17082025_15_26_25_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/15/26/image_17082025_15_26_14_9677.jpg', 2), ('/home/nano/Desktop/images/17082025/15/25/image_17082025_15_26_04_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/26/image_17082025_15_26_54_10649.jpg', '/home/nano/Desktop/images/17082025/15/26/image_17082025_15_26_44_9657.jpg', '/home/nano/Desktop/images/17082025/15/26/image_17082025_15_26_34_9639.jpg', '/home/nano/Desktop/images/17082025/15/26/image_17082025_15_26_25_10648.jpg', '/home/nano/Desktop/images/17082025/15/26/image_17082025_15_26_14_9677.jpg', '/home/nano/Desktop/images/17082025/15/25/image_17082025_15_26_04_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/26/image_17082025_15_26_54_10649.jpg
/home/nano/Desktop/images/17082025/15/26/image_17082025_15_26_44_9657.jpg
/home/nano/Desktop/images/17082025/15/26/image_17082025_15_26_34_9639.jpg
/home/nano/Desktop/images/17082025/15/26/image_17082025_15_26_25_10648.jpg
/home/nano/Desktop/images/17082025/15/26/image_17082025_15_26_14_9677.jpg
/home/nano/Desktop/images/17082025/15/25/image_17082025_15_26_04_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671057","1377671062","1377671059","1377671056","1377671055","1377671048"],"photo_ids_order":["1377671048","1377671055","1377671056","1377671057","1377671059","1377671062"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fb9595569f3e1ec6805d6283970dc723.jpg","text":"TemporaryFile(/tmp/multipartBody2024338447843835449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439384295,"filename":"image_17082025_15_26_25_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b2426053f49693120c505476ed034729.jpg","text":"TemporaryFile(/tmp/multipartBody5784840700251815353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439384295,"filename":"image_17082025_15_26_04_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8623a394c3274b299712763d1c8513bc.jpg","text":"TemporaryFile(/tmp/multipartBody8859456708623008804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439384295,"filename":"image_17082025_15_26_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/92e0508e2dc843dafd7424e8c76060af.jpg","text":"TemporaryFile(/tmp/multipartBody4806929783402575444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439384295,"filename":"image_17082025_15_26_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ed6a790139ede2996724187c20f45531.jpg","text":"TemporaryFile(/tmp/multipartBody8159752020963048090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439384295,"filename":"image_17082025_15_26_44_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d1f19f869bfaf51707c53ab246f9a0e2.jpg","text":"TemporaryFile(/tmp/multipartBody183641119500687339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439384295,"filename":"image_17082025_15_26_54_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671056","file1":"1377671055","file0":"1377671048","file4":"1377671059","file5":"1377671062","file3":"1377671057"},"map_files_photo_id_array":[{"photo_id":"1377671062","filename":"file5"},{"photo_id":"1377671056","filename":"file2"},{"photo_id":"1377671059","filename":"file4"},{"photo_id":"1377671055","filename":"file1"},{"photo_id":"1377671048","filename":"file0"},{"photo_id":"1377671057","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671057":["hashtag1","hashtag2"]},{"1377671062":["hashtag1","hashtag2"]},{"1377671059":["hashtag1","hashtag2"]},{"1377671056":["hashtag1","hashtag2"]},{"1377671055":["hashtag1","hashtag2"]},{"1377671048":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671057, 1377671062, 1377671059, 1377671056, 1377671055, 1377671048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.036609172821045 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:02:47.116767
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/02/image_17082025_16_02_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/16/02/image_17082025_16_02_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/16/02/image_17082025_16_02_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/16/02/image_17082025_16_02_14_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/16/01/image_17082025_16_02_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/16/01/image_17082025_16_01_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/02/image_17082025_16_02_44_10648.jpg', '/home/nano/Desktop/images/17082025/16/02/image_17082025_16_02_34_9639.jpg', '/home/nano/Desktop/images/17082025/16/02/image_17082025_16_02_24_9639.jpg', '/home/nano/Desktop/images/17082025/16/02/image_17082025_16_02_14_10674.jpg', '/home/nano/Desktop/images/17082025/16/01/image_17082025_16_02_04_9650.jpg', '/home/nano/Desktop/images/17082025/16/01/image_17082025_16_01_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/02/image_17082025_16_02_44_10648.jpg
/home/nano/Desktop/images/17082025/16/02/image_17082025_16_02_34_9639.jpg
/home/nano/Desktop/images/17082025/16/02/image_17082025_16_02_24_9639.jpg
/home/nano/Desktop/images/17082025/16/02/image_17082025_16_02_14_10674.jpg
/home/nano/Desktop/images/17082025/16/01/image_17082025_16_02_04_9650.jpg
/home/nano/Desktop/images/17082025/16/01/image_17082025_16_01_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671089","1377671080","1377671077","1377671082","1377671079","1377671081"],"photo_ids_order":["1377671077","1377671079","1377671080","1377671081","1377671082","1377671089"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b75e76026b36b82e7bcec9dacd6067de.jpg","text":"TemporaryFile(/tmp/multipartBody4215835440159377809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439429014,"filename":"image_17082025_16_01_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a12f9e6ed3decf4ebdbcd734840da4b1.jpg","text":"TemporaryFile(/tmp/multipartBody5335217646882860218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439429014,"filename":"image_17082025_16_02_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9d9b9943b1bb15c540aec691d6e21d37.jpg","text":"TemporaryFile(/tmp/multipartBody8869938213282038431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439429014,"filename":"image_17082025_16_02_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/69216a3dbfe27af9990a05c95ff38fb6.jpg","text":"TemporaryFile(/tmp/multipartBody5200495763579826733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439429014,"filename":"image_17082025_16_02_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f7527df8f7ac189491c869210562a61a.jpg","text":"TemporaryFile(/tmp/multipartBody5648020874072904136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439429014,"filename":"image_17082025_16_02_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bcd3585f65594089ec0a104e199be664.jpg","text":"TemporaryFile(/tmp/multipartBody1450958638036359391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439429014,"filename":"image_17082025_16_02_14_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671080","file1":"1377671079","file0":"1377671077","file4":"1377671082","file5":"1377671089","file3":"1377671081"},"map_files_photo_id_array":[{"photo_id":"1377671089","filename":"file5"},{"photo_id":"1377671080","filename":"file2"},{"photo_id":"1377671082","filename":"file4"},{"photo_id":"1377671079","filename":"file1"},{"photo_id":"1377671077","filename":"file0"},{"photo_id":"1377671081","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671089":["hashtag1","hashtag2"]},{"1377671080":["hashtag1","hashtag2"]},{"1377671077":["hashtag1","hashtag2"]},{"1377671082":["hashtag1","hashtag2"]},{"1377671079":["hashtag1","hashtag2"]},{"1377671081":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671089, 1377671080, 1377671077, 1377671082, 1377671079, 1377671081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89624810218811 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:03:32.212879
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/03/image_17082025_16_03_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/16/03/image_17082025_16_03_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/16/03/image_17082025_16_03_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/16/02/image_17082025_16_03_05_10654.jpg', 2), ('/home/nano/Desktop/images/17082025/16/02/image_17082025_16_02_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/25/image_17082025_15_25_34_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/03/image_17082025_16_03_44_9642.jpg', '/home/nano/Desktop/images/17082025/16/03/image_17082025_16_03_34_10647.jpg', '/home/nano/Desktop/images/17082025/16/03/image_17082025_16_03_24_9637.jpg', '/home/nano/Desktop/images/17082025/16/02/image_17082025_16_03_05_10654.jpg', '/home/nano/Desktop/images/17082025/16/02/image_17082025_16_02_54_9637.jpg', '/home/nano/Desktop/images/17082025/15/25/image_17082025_15_25_34_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/03/image_17082025_16_03_44_9642.jpg
/home/nano/Desktop/images/17082025/16/03/image_17082025_16_03_34_10647.jpg
/home/nano/Desktop/images/17082025/16/03/image_17082025_16_03_24_9637.jpg
/home/nano/Desktop/images/17082025/16/02/image_17082025_16_03_05_10654.jpg
/home/nano/Desktop/images/17082025/16/02/image_17082025_16_02_54_9637.jpg
/home/nano/Desktop/images/17082025/15/25/image_17082025_15_25_34_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671102","1377671105","1377671107","1377671106","1377671096","1377671099"],"photo_ids_order":["1377671096","1377671099","1377671102","1377671105","1377671106","1377671107"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/589aa3aa9bba2f1a85625646c2b83b34.jpg","text":"TemporaryFile(/tmp/multipartBody4549660910411738997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439475152,"filename":"image_17082025_16_03_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fe778dc7af31bfeed1d0a07ef09b2198.jpg","text":"TemporaryFile(/tmp/multipartBody2113172014777041801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439475152,"filename":"image_17082025_16_03_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/78d3075d8eaee7c2b80e50af64716cbd.jpg","text":"TemporaryFile(/tmp/multipartBody1415295738352802946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439475152,"filename":"image_17082025_15_25_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4a930a76f788567a436c29027b87b6c8.jpg","text":"TemporaryFile(/tmp/multipartBody3359654432248438904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439475152,"filename":"image_17082025_16_02_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/422a28ce2d900a0f71efada97d67d2e0.jpg","text":"TemporaryFile(/tmp/multipartBody7557159812583531912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439475152,"filename":"image_17082025_16_03_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/769aa8b3d486a6b1bb33b9d6c579eb88.jpg","text":"TemporaryFile(/tmp/multipartBody8377740377644391136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439475152,"filename":"image_17082025_16_03_34_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671102","file1":"1377671099","file0":"1377671096","file4":"1377671106","file5":"1377671107","file3":"1377671105"},"map_files_photo_id_array":[{"photo_id":"1377671107","filename":"file5"},{"photo_id":"1377671102","filename":"file2"},{"photo_id":"1377671106","filename":"file4"},{"photo_id":"1377671099","filename":"file1"},{"photo_id":"1377671096","filename":"file0"},{"photo_id":"1377671105","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671102":["hashtag1","hashtag2"]},{"1377671105":["hashtag1","hashtag2"]},{"1377671107":["hashtag1","hashtag2"]},{"1377671106":["hashtag1","hashtag2"]},{"1377671096":["hashtag1","hashtag2"]},{"1377671099":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671102, 1377671105, 1377671107, 1377671106, 1377671096, 1377671099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21163582801819 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:04:17.321759
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/04/image_17082025_16_04_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/16/04/image_17082025_16_04_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/16/04/image_17082025_16_04_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/16/04/image_17082025_16_04_14_9672.jpg', 2), ('/home/nano/Desktop/images/17082025/16/03/image_17082025_16_04_04_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/16/03/image_17082025_16_03_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/04/image_17082025_16_04_44_9639.jpg', '/home/nano/Desktop/images/17082025/16/04/image_17082025_16_04_34_10648.jpg', '/home/nano/Desktop/images/17082025/16/04/image_17082025_16_04_24_9639.jpg', '/home/nano/Desktop/images/17082025/16/04/image_17082025_16_04_14_9672.jpg', '/home/nano/Desktop/images/17082025/16/03/image_17082025_16_04_04_10656.jpg', '/home/nano/Desktop/images/17082025/16/03/image_17082025_16_03_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/04/image_17082025_16_04_44_9639.jpg
/home/nano/Desktop/images/17082025/16/04/image_17082025_16_04_34_10648.jpg
/home/nano/Desktop/images/17082025/16/04/image_17082025_16_04_24_9639.jpg
/home/nano/Desktop/images/17082025/16/04/image_17082025_16_04_14_9672.jpg
/home/nano/Desktop/images/17082025/16/03/image_17082025_16_04_04_10656.jpg
/home/nano/Desktop/images/17082025/16/03/image_17082025_16_03_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671117","1377671126","1377671128","1377671122","1377671119","1377671124"],"photo_ids_order":["1377671117","1377671119","1377671122","1377671124","1377671126","1377671128"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/977c143276fe174fa99e931895036112.jpg","text":"TemporaryFile(/tmp/multipartBody678506235402242893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439519074,"filename":"image_17082025_16_04_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ab94dd898a3fcef6b0dede8e333b6d42.jpg","text":"TemporaryFile(/tmp/multipartBody5304525489842481347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439519074,"filename":"image_17082025_16_04_04_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c6e5ef758ff663386e3acd74fbb250e3.jpg","text":"TemporaryFile(/tmp/multipartBody8330466815835996536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439519074,"filename":"image_17082025_16_03_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b3f1cb12cb201e941136064a18fbb7bc.jpg","text":"TemporaryFile(/tmp/multipartBody2533687529045523163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439519074,"filename":"image_17082025_16_04_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/178aba3d17a10a90ea31901e0df9393a.jpg","text":"TemporaryFile(/tmp/multipartBody1285376503244570191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439519074,"filename":"image_17082025_16_04_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/381b278c5ad6875cddaa0e50c0b6a48c.jpg","text":"TemporaryFile(/tmp/multipartBody965448294796823065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439519074,"filename":"image_17082025_16_04_14_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671122","file1":"1377671119","file0":"1377671117","file4":"1377671126","file5":"1377671128","file3":"1377671124"},"map_files_photo_id_array":[{"photo_id":"1377671128","filename":"file5"},{"photo_id":"1377671122","filename":"file2"},{"photo_id":"1377671126","filename":"file4"},{"photo_id":"1377671119","filename":"file1"},{"photo_id":"1377671117","filename":"file0"},{"photo_id":"1377671124","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671117":["hashtag1","hashtag2"]},{"1377671126":["hashtag1","hashtag2"]},{"1377671128":["hashtag1","hashtag2"]},{"1377671122":["hashtag1","hashtag2"]},{"1377671119":["hashtag1","hashtag2"]},{"1377671124":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671117, 1377671126, 1377671128, 1377671122, 1377671119, 1377671124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00219535827637 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:05:03.055980
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/25/image_17082025_15_25_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/15/25/image_17082025_15_25_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/15/24/image_17082025_15_25_04_10660.jpg', 2), ('/home/nano/Desktop/images/17082025/15/24/image_17082025_15_24_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/24/image_17082025_15_24_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/24/image_17082025_15_24_34_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/25/image_17082025_15_25_24_9640.jpg', '/home/nano/Desktop/images/17082025/15/25/image_17082025_15_25_14_9657.jpg', '/home/nano/Desktop/images/17082025/15/24/image_17082025_15_25_04_10660.jpg', '/home/nano/Desktop/images/17082025/15/24/image_17082025_15_24_54_9637.jpg', '/home/nano/Desktop/images/17082025/15/24/image_17082025_15_24_44_9636.jpg', '/home/nano/Desktop/images/17082025/15/24/image_17082025_15_24_34_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/25/image_17082025_15_25_24_9640.jpg
/home/nano/Desktop/images/17082025/15/25/image_17082025_15_25_14_9657.jpg
/home/nano/Desktop/images/17082025/15/24/image_17082025_15_25_04_10660.jpg
/home/nano/Desktop/images/17082025/15/24/image_17082025_15_24_54_9637.jpg
/home/nano/Desktop/images/17082025/15/24/image_17082025_15_24_44_9636.jpg
/home/nano/Desktop/images/17082025/15/24/image_17082025_15_24_34_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671156","1377671158","1377671143","1377671154","1377671151","1377671139"],"photo_ids_order":["1377671139","1377671143","1377671151","1377671154","1377671156","1377671158"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/841804da450cb2721892a57cf46d1c85.jpg","text":"TemporaryFile(/tmp/multipartBody693642636979573002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439564715,"filename":"image_17082025_15_24_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/62ac656b253146d11b61a7005a5e9ebd.jpg","text":"TemporaryFile(/tmp/multipartBody1791554342128124474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439564715,"filename":"image_17082025_15_24_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1012a304f25b31e623ca3e39a9f5d4cc.jpg","text":"TemporaryFile(/tmp/multipartBody1018423360022846727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439564715,"filename":"image_17082025_15_25_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b376e8513ba4fdbb337009d38d9055d3.jpg","text":"TemporaryFile(/tmp/multipartBody2922893105729312897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439564715,"filename":"image_17082025_15_24_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6d15f811cf7517877cc59859e95c9194.jpg","text":"TemporaryFile(/tmp/multipartBody4952876471562343875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439564715,"filename":"image_17082025_15_25_04_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/900a0d1610c591a40587ba692124e0e8.jpg","text":"TemporaryFile(/tmp/multipartBody2158813291497430220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439564715,"filename":"image_17082025_15_25_24_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671151","file1":"1377671143","file0":"1377671139","file4":"1377671156","file5":"1377671158","file3":"1377671154"},"map_files_photo_id_array":[{"photo_id":"1377671158","filename":"file5"},{"photo_id":"1377671151","filename":"file2"},{"photo_id":"1377671156","filename":"file4"},{"photo_id":"1377671143","filename":"file1"},{"photo_id":"1377671139","filename":"file0"},{"photo_id":"1377671154","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671156":["hashtag1","hashtag2"]},{"1377671158":["hashtag1","hashtag2"]},{"1377671143":["hashtag1","hashtag2"]},{"1377671154":["hashtag1","hashtag2"]},{"1377671151":["hashtag1","hashtag2"]},{"1377671139":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671156, 1377671158, 1377671143, 1377671154, 1377671151, 1377671139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27970337867737 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:05:47.459265
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/05/image_17082025_16_05_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/16/05/image_17082025_16_05_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/16/05/image_17082025_16_05_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/16/05/image_17082025_16_05_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/16/04/image_17082025_16_05_04_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/16/04/image_17082025_16_04_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/05/image_17082025_16_05_44_9639.jpg', '/home/nano/Desktop/images/17082025/16/05/image_17082025_16_05_34_10646.jpg', '/home/nano/Desktop/images/17082025/16/05/image_17082025_16_05_24_9640.jpg', '/home/nano/Desktop/images/17082025/16/05/image_17082025_16_05_14_9656.jpg', '/home/nano/Desktop/images/17082025/16/04/image_17082025_16_05_04_10663.jpg', '/home/nano/Desktop/images/17082025/16/04/image_17082025_16_04_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/05/image_17082025_16_05_44_9639.jpg
/home/nano/Desktop/images/17082025/16/05/image_17082025_16_05_34_10646.jpg
/home/nano/Desktop/images/17082025/16/05/image_17082025_16_05_24_9640.jpg
/home/nano/Desktop/images/17082025/16/05/image_17082025_16_05_14_9656.jpg
/home/nano/Desktop/images/17082025/16/04/image_17082025_16_05_04_10663.jpg
/home/nano/Desktop/images/17082025/16/04/image_17082025_16_04_54_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671161","1377671181","1377671169","1377671163","1377671171","1377671165"],"photo_ids_order":["1377671161","1377671163","1377671165","1377671169","1377671171","1377671181"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fe9bc05a3d0180201090b96c83cb1a3d.jpg","text":"TemporaryFile(/tmp/multipartBody3646515565897743595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439610212,"filename":"image_17082025_16_05_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7a7e7500567379e25825291f085a8855.jpg","text":"TemporaryFile(/tmp/multipartBody6289506961093906630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439610212,"filename":"image_17082025_16_04_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/524c55196358ff7bc911bc3ec4f1cf0d.jpg","text":"TemporaryFile(/tmp/multipartBody4138588875624637291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439610212,"filename":"image_17082025_16_05_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f57fafe5c3dd64b938cafaed1951d5e5.jpg","text":"TemporaryFile(/tmp/multipartBody8311182477405005537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439610212,"filename":"image_17082025_16_05_34_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5c7b338823402438497c9e9375a28a5e.jpg","text":"TemporaryFile(/tmp/multipartBody7885041883127278470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439610212,"filename":"image_17082025_16_05_04_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/827619ddf2948a89678553c8d755cd34.jpg","text":"TemporaryFile(/tmp/multipartBody456767977877579148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439610212,"filename":"image_17082025_16_05_24_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671165","file1":"1377671163","file0":"1377671161","file4":"1377671171","file5":"1377671181","file3":"1377671169"},"map_files_photo_id_array":[{"photo_id":"1377671181","filename":"file5"},{"photo_id":"1377671165","filename":"file2"},{"photo_id":"1377671171","filename":"file4"},{"photo_id":"1377671163","filename":"file1"},{"photo_id":"1377671161","filename":"file0"},{"photo_id":"1377671169","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671161":["hashtag1","hashtag2"]},{"1377671181":["hashtag1","hashtag2"]},{"1377671169":["hashtag1","hashtag2"]},{"1377671163":["hashtag1","hashtag2"]},{"1377671171":["hashtag1","hashtag2"]},{"1377671165":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671161, 1377671181, 1377671169, 1377671163, 1377671171, 1377671165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12327861785889 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:06:32.531351
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/06/image_17082025_16_06_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/16/06/image_17082025_16_06_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/16/06/image_17082025_16_06_25_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/16/06/image_17082025_16_06_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/16/05/image_17082025_16_06_04_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/16/05/image_17082025_16_05_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/06/image_17082025_16_06_44_9638.jpg', '/home/nano/Desktop/images/17082025/16/06/image_17082025_16_06_34_9637.jpg', '/home/nano/Desktop/images/17082025/16/06/image_17082025_16_06_25_10650.jpg', '/home/nano/Desktop/images/17082025/16/06/image_17082025_16_06_14_9661.jpg', '/home/nano/Desktop/images/17082025/16/05/image_17082025_16_06_04_10652.jpg', '/home/nano/Desktop/images/17082025/16/05/image_17082025_16_05_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/06/image_17082025_16_06_44_9638.jpg
/home/nano/Desktop/images/17082025/16/06/image_17082025_16_06_34_9637.jpg
/home/nano/Desktop/images/17082025/16/06/image_17082025_16_06_25_10650.jpg
/home/nano/Desktop/images/17082025/16/06/image_17082025_16_06_14_9661.jpg
/home/nano/Desktop/images/17082025/16/05/image_17082025_16_06_04_10652.jpg
/home/nano/Desktop/images/17082025/16/05/image_17082025_16_05_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671201","1377671197","1377671199","1377671203","1377671193","1377671195"],"photo_ids_order":["1377671193","1377671195","1377671197","1377671199","1377671201","1377671203"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a6801c67df7bc7db67ac7d6c63fd996d.jpg","text":"TemporaryFile(/tmp/multipartBody7332303035899811435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439654394,"filename":"image_17082025_16_06_04_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9c25ab7f6f38045548f963e9aae5bc43.jpg","text":"TemporaryFile(/tmp/multipartBody2707059061809862019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439654394,"filename":"image_17082025_16_06_25_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/31a079ccc5918b4ea9bc55fc5b331ea9.jpg","text":"TemporaryFile(/tmp/multipartBody4176426622032365455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439654394,"filename":"image_17082025_16_06_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d1ed303f014569a0b752568cf36295e6.jpg","text":"TemporaryFile(/tmp/multipartBody6068222100682607365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439654394,"filename":"image_17082025_16_05_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dd10a1eb1d3c5270b98a24db585450fd.jpg","text":"TemporaryFile(/tmp/multipartBody8652710635242705716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439654394,"filename":"image_17082025_16_06_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/628fe404d6c09342b6dcc52edb70dcf3.jpg","text":"TemporaryFile(/tmp/multipartBody1497334311166381428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439654394,"filename":"image_17082025_16_06_34_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671197","file1":"1377671195","file0":"1377671193","file4":"1377671201","file5":"1377671203","file3":"1377671199"},"map_files_photo_id_array":[{"photo_id":"1377671203","filename":"file5"},{"photo_id":"1377671197","filename":"file2"},{"photo_id":"1377671201","filename":"file4"},{"photo_id":"1377671195","filename":"file1"},{"photo_id":"1377671193","filename":"file0"},{"photo_id":"1377671199","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671201":["hashtag1","hashtag2"]},{"1377671197":["hashtag1","hashtag2"]},{"1377671199":["hashtag1","hashtag2"]},{"1377671203":["hashtag1","hashtag2"]},{"1377671193":["hashtag1","hashtag2"]},{"1377671195":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671201, 1377671197, 1377671199, 1377671203, 1377671193, 1377671195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.105454206466675 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:07:17.672196
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/07/image_17082025_16_07_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/16/07/image_17082025_16_07_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/16/07/image_17082025_16_07_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/16/07/image_17082025_16_07_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/16/06/image_17082025_16_07_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/16/06/image_17082025_16_06_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/07/image_17082025_16_07_44_9642.jpg', '/home/nano/Desktop/images/17082025/16/07/image_17082025_16_07_34_9642.jpg', '/home/nano/Desktop/images/17082025/16/07/image_17082025_16_07_24_10648.jpg', '/home/nano/Desktop/images/17082025/16/07/image_17082025_16_07_14_9658.jpg', '/home/nano/Desktop/images/17082025/16/06/image_17082025_16_07_04_9652.jpg', '/home/nano/Desktop/images/17082025/16/06/image_17082025_16_06_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/07/image_17082025_16_07_44_9642.jpg
/home/nano/Desktop/images/17082025/16/07/image_17082025_16_07_34_9642.jpg
/home/nano/Desktop/images/17082025/16/07/image_17082025_16_07_24_10648.jpg
/home/nano/Desktop/images/17082025/16/07/image_17082025_16_07_14_9658.jpg
/home/nano/Desktop/images/17082025/16/06/image_17082025_16_07_04_9652.jpg
/home/nano/Desktop/images/17082025/16/06/image_17082025_16_06_54_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671228","1377671227","1377671223","1377671217","1377671226","1377671220"],"photo_ids_order":["1377671217","1377671220","1377671223","1377671226","1377671227","1377671228"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c33277263bbbb930eeaee8564441a812.jpg","text":"TemporaryFile(/tmp/multipartBody6381800084200454488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439699358,"filename":"image_17082025_16_06_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/242c6fb03c5d1f44048a5a6593c5eca9.jpg","text":"TemporaryFile(/tmp/multipartBody917923205598884661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439699358,"filename":"image_17082025_16_07_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/13eaf5aa4659a02598b19bb632e6c695.jpg","text":"TemporaryFile(/tmp/multipartBody4494059195405264562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439699358,"filename":"image_17082025_16_07_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4dd02c171e6432a9062ea96c6c730b18.jpg","text":"TemporaryFile(/tmp/multipartBody803431162577783531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439699358,"filename":"image_17082025_16_07_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0a26ff520c4b731580c7db217da3ca65.jpg","text":"TemporaryFile(/tmp/multipartBody4435274025857088541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439699358,"filename":"image_17082025_16_07_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fcf115bd3ca3c195568f010b9c8502b4.jpg","text":"TemporaryFile(/tmp/multipartBody4730483158396595266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439699358,"filename":"image_17082025_16_07_34_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671223","file1":"1377671220","file0":"1377671217","file4":"1377671227","file5":"1377671228","file3":"1377671226"},"map_files_photo_id_array":[{"photo_id":"1377671228","filename":"file5"},{"photo_id":"1377671223","filename":"file2"},{"photo_id":"1377671227","filename":"file4"},{"photo_id":"1377671220","filename":"file1"},{"photo_id":"1377671217","filename":"file0"},{"photo_id":"1377671226","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671228":["hashtag1","hashtag2"]},{"1377671227":["hashtag1","hashtag2"]},{"1377671223":["hashtag1","hashtag2"]},{"1377671217":["hashtag1","hashtag2"]},{"1377671226":["hashtag1","hashtag2"]},{"1377671220":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671228, 1377671227, 1377671223, 1377671217, 1377671226, 1377671220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45164132118225 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:08:03.232461
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/24/image_17082025_15_24_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/24/image_17082025_15_24_14_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/15/23/image_17082025_15_23_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/23/image_17082025_15_23_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/23/image_17082025_15_23_35_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/15/23/image_17082025_15_23_24_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/24/image_17082025_15_24_24_9637.jpg', '/home/nano/Desktop/images/17082025/15/24/image_17082025_15_24_14_9666.jpg', '/home/nano/Desktop/images/17082025/15/23/image_17082025_15_23_54_9639.jpg', '/home/nano/Desktop/images/17082025/15/23/image_17082025_15_23_44_9636.jpg', '/home/nano/Desktop/images/17082025/15/23/image_17082025_15_23_35_10646.jpg', '/home/nano/Desktop/images/17082025/15/23/image_17082025_15_23_24_9654.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/24/image_17082025_15_24_24_9637.jpg
/home/nano/Desktop/images/17082025/15/24/image_17082025_15_24_14_9666.jpg
/home/nano/Desktop/images/17082025/15/23/image_17082025_15_23_54_9639.jpg
/home/nano/Desktop/images/17082025/15/23/image_17082025_15_23_44_9636.jpg
/home/nano/Desktop/images/17082025/15/23/image_17082025_15_23_35_10646.jpg
/home/nano/Desktop/images/17082025/15/23/image_17082025_15_23_24_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671240","1377671243","1377671253","1377671250","1377671246","1377671231"],"photo_ids_order":["1377671231","1377671240","1377671243","1377671246","1377671250","1377671253"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6b01479a9f3fa74fb4ab0ec37a1cc9e5.jpg","text":"TemporaryFile(/tmp/multipartBody4691976517222672645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439745122,"filename":"image_17082025_15_24_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/77963d392dc52c6877161eca968f4c41.jpg","text":"TemporaryFile(/tmp/multipartBody504754022547259297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439745122,"filename":"image_17082025_15_23_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8032270c988064fb15cf52b40a8d4c0e.jpg","text":"TemporaryFile(/tmp/multipartBody840313754758650477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439745122,"filename":"image_17082025_15_23_24_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bdd6e9d4b04c51962f04e232453d1c35.jpg","text":"TemporaryFile(/tmp/multipartBody1321556604563370348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439745122,"filename":"image_17082025_15_23_35_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c17563fa1314e6748be55e34a8a19bd7.jpg","text":"TemporaryFile(/tmp/multipartBody6725651033484993821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439745122,"filename":"image_17082025_15_23_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2514c0b2f1fc595738a27f0d76615e45.jpg","text":"TemporaryFile(/tmp/multipartBody2530762272317700881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439745122,"filename":"image_17082025_15_24_24_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671243","file1":"1377671240","file0":"1377671231","file4":"1377671250","file5":"1377671253","file3":"1377671246"},"map_files_photo_id_array":[{"photo_id":"1377671253","filename":"file5"},{"photo_id":"1377671243","filename":"file2"},{"photo_id":"1377671250","filename":"file4"},{"photo_id":"1377671240","filename":"file1"},{"photo_id":"1377671231","filename":"file0"},{"photo_id":"1377671246","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671240":["hashtag1","hashtag2"]},{"1377671243":["hashtag1","hashtag2"]},{"1377671253":["hashtag1","hashtag2"]},{"1377671250":["hashtag1","hashtag2"]},{"1377671246":["hashtag1","hashtag2"]},{"1377671231":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671240, 1377671243, 1377671253, 1377671250, 1377671246, 1377671231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.74126672744751 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:08:47.751515
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/08/image_17082025_16_08_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/16/08/image_17082025_16_08_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/16/08/image_17082025_16_08_24_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/16/07/image_17082025_16_08_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/16/07/image_17082025_16_07_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/23/image_17082025_15_23_14_10664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/08/image_17082025_16_08_44_9640.jpg', '/home/nano/Desktop/images/17082025/16/08/image_17082025_16_08_34_9639.jpg', '/home/nano/Desktop/images/17082025/16/08/image_17082025_16_08_24_10651.jpg', '/home/nano/Desktop/images/17082025/16/07/image_17082025_16_08_04_9648.jpg', '/home/nano/Desktop/images/17082025/16/07/image_17082025_16_07_54_10647.jpg', '/home/nano/Desktop/images/17082025/15/23/image_17082025_15_23_14_10664.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/08/image_17082025_16_08_44_9640.jpg
/home/nano/Desktop/images/17082025/16/08/image_17082025_16_08_34_9639.jpg
/home/nano/Desktop/images/17082025/16/08/image_17082025_16_08_24_10651.jpg
/home/nano/Desktop/images/17082025/16/07/image_17082025_16_08_04_9648.jpg
/home/nano/Desktop/images/17082025/16/07/image_17082025_16_07_54_10647.jpg
/home/nano/Desktop/images/17082025/15/23/image_17082025_15_23_14_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671263","1377671265","1377671262","1377671276","1377671264","1377671267"],"photo_ids_order":["1377671262","1377671263","1377671264","1377671265","1377671267","1377671276"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e48cf073dd2d06d2b0847aef52541b9b.jpg","text":"TemporaryFile(/tmp/multipartBody3121689413861588337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439789246,"filename":"image_17082025_16_08_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b14d4943c934d8b83a1cb2f2cf97deed.jpg","text":"TemporaryFile(/tmp/multipartBody2476340895270343214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439789246,"filename":"image_17082025_16_08_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cf5893d64c262e358b06ae1550e957cf.jpg","text":"TemporaryFile(/tmp/multipartBody5008302826943235548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439789246,"filename":"image_17082025_16_08_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/386d90ce70bf10c715a2c148402c6508.jpg","text":"TemporaryFile(/tmp/multipartBody6373720371816328291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439789246,"filename":"image_17082025_15_23_14_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9fd8f4a71029e15dea6fcc7f97158ebc.jpg","text":"TemporaryFile(/tmp/multipartBody3973975965454785687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439789246,"filename":"image_17082025_16_08_24_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/36cadfafd207f57b542419ddabb9c65a.jpg","text":"TemporaryFile(/tmp/multipartBody8129386438836434093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439789246,"filename":"image_17082025_16_07_54_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671264","file1":"1377671263","file0":"1377671262","file4":"1377671267","file5":"1377671276","file3":"1377671265"},"map_files_photo_id_array":[{"photo_id":"1377671276","filename":"file5"},{"photo_id":"1377671264","filename":"file2"},{"photo_id":"1377671267","filename":"file4"},{"photo_id":"1377671263","filename":"file1"},{"photo_id":"1377671262","filename":"file0"},{"photo_id":"1377671265","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671263":["hashtag1","hashtag2"]},{"1377671265":["hashtag1","hashtag2"]},{"1377671262":["hashtag1","hashtag2"]},{"1377671276":["hashtag1","hashtag2"]},{"1377671264":["hashtag1","hashtag2"]},{"1377671267":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671263, 1377671265, 1377671262, 1377671276, 1377671264, 1377671267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.624882221221924 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:09:31.881321
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/09/image_17082025_16_09_44_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/16/09/image_17082025_16_09_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/16/09/image_17082025_16_09_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/16/09/image_17082025_16_09_15_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/16/08/image_17082025_16_09_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/16/08/image_17082025_16_08_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/09/image_17082025_16_09_44_10652.jpg', '/home/nano/Desktop/images/17082025/16/09/image_17082025_16_09_34_9641.jpg', '/home/nano/Desktop/images/17082025/16/09/image_17082025_16_09_24_9641.jpg', '/home/nano/Desktop/images/17082025/16/09/image_17082025_16_09_15_10670.jpg', '/home/nano/Desktop/images/17082025/16/08/image_17082025_16_09_04_9642.jpg', '/home/nano/Desktop/images/17082025/16/08/image_17082025_16_08_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/09/image_17082025_16_09_44_10652.jpg
/home/nano/Desktop/images/17082025/16/09/image_17082025_16_09_34_9641.jpg
/home/nano/Desktop/images/17082025/16/09/image_17082025_16_09_24_9641.jpg
/home/nano/Desktop/images/17082025/16/09/image_17082025_16_09_15_10670.jpg
/home/nano/Desktop/images/17082025/16/08/image_17082025_16_09_04_9642.jpg
/home/nano/Desktop/images/17082025/16/08/image_17082025_16_08_54_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671287","1377671292","1377671286","1377671295","1377671289","1377671297"],"photo_ids_order":["1377671286","1377671287","1377671289","1377671292","1377671295","1377671297"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5009eff6be9876ed9cb001f41bf9efc0.jpg","text":"TemporaryFile(/tmp/multipartBody8914708048013592326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439833716,"filename":"image_17082025_16_09_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/26708115207b32793014b50a23464183.jpg","text":"TemporaryFile(/tmp/multipartBody274168504128719619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439833716,"filename":"image_17082025_16_09_15_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/305c5bcef4fd5d286d52f16466acd824.jpg","text":"TemporaryFile(/tmp/multipartBody7365903164172719648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439833716,"filename":"image_17082025_16_09_44_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8427784b62623cb168b11dcf80aa7b5c.jpg","text":"TemporaryFile(/tmp/multipartBody7218006598662659222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439833716,"filename":"image_17082025_16_09_04_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/603438e0d767e67fcbb757e82f4f69ed.jpg","text":"TemporaryFile(/tmp/multipartBody3590562068432550715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439833716,"filename":"image_17082025_16_09_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cb75ecfc4686f47d644f42cd13216091.jpg","text":"TemporaryFile(/tmp/multipartBody4358044495266216560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439833716,"filename":"image_17082025_16_08_54_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671289","file1":"1377671287","file0":"1377671286","file4":"1377671295","file5":"1377671297","file3":"1377671292"},"map_files_photo_id_array":[{"photo_id":"1377671297","filename":"file5"},{"photo_id":"1377671289","filename":"file2"},{"photo_id":"1377671295","filename":"file4"},{"photo_id":"1377671287","filename":"file1"},{"photo_id":"1377671286","filename":"file0"},{"photo_id":"1377671292","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671287":["hashtag1","hashtag2"]},{"1377671292":["hashtag1","hashtag2"]},{"1377671286":["hashtag1","hashtag2"]},{"1377671295":["hashtag1","hashtag2"]},{"1377671289":["hashtag1","hashtag2"]},{"1377671297":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671287, 1377671292, 1377671286, 1377671295, 1377671289, 1377671297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4084632396698 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:10:16.979756
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/10/image_17082025_16_10_44_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/16/10/image_17082025_16_10_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/16/10/image_17082025_16_10_14_10678.jpg', 2), ('/home/nano/Desktop/images/17082025/16/09/image_17082025_16_10_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/16/09/image_17082025_16_09_54_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/15/22/image_17082025_15_23_04_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/10/image_17082025_16_10_44_10669.jpg', '/home/nano/Desktop/images/17082025/16/10/image_17082025_16_10_34_9643.jpg', '/home/nano/Desktop/images/17082025/16/10/image_17082025_16_10_14_10678.jpg', '/home/nano/Desktop/images/17082025/16/09/image_17082025_16_10_04_9644.jpg', '/home/nano/Desktop/images/17082025/16/09/image_17082025_16_09_54_9643.jpg', '/home/nano/Desktop/images/17082025/15/22/image_17082025_15_23_04_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/10/image_17082025_16_10_44_10669.jpg
/home/nano/Desktop/images/17082025/16/10/image_17082025_16_10_34_9643.jpg
/home/nano/Desktop/images/17082025/16/10/image_17082025_16_10_14_10678.jpg
/home/nano/Desktop/images/17082025/16/09/image_17082025_16_10_04_9644.jpg
/home/nano/Desktop/images/17082025/16/09/image_17082025_16_09_54_9643.jpg
/home/nano/Desktop/images/17082025/15/22/image_17082025_15_23_04_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671312","1377671321","1377671324","1377671318","1377671314","1377671308"],"photo_ids_order":["1377671308","1377671312","1377671314","1377671318","1377671321","1377671324"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a7c27c489e15cea99da7e8ab0bbc1c5c.jpg","text":"TemporaryFile(/tmp/multipartBody5750026172592877675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439878788,"filename":"image_17082025_16_10_34_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4701e808f3cd39fcb6c4de589491123e.jpg","text":"TemporaryFile(/tmp/multipartBody1626262525131055654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439878788,"filename":"image_17082025_16_09_54_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/daea9feec81ec92fa2b1c1757c9ffde7.jpg","text":"TemporaryFile(/tmp/multipartBody6617816699288168547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439878788,"filename":"image_17082025_15_23_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0c8d024375ad9c236ced2a6de8c36cff.jpg","text":"TemporaryFile(/tmp/multipartBody5472939127416558310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439878788,"filename":"image_17082025_16_10_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/30802d6b735e90b7be9c53aa0e5b2d19.jpg","text":"TemporaryFile(/tmp/multipartBody2493040138658996618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439878788,"filename":"image_17082025_16_10_14_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/19adf8f2e52156aefb10b68105c21067.jpg","text":"TemporaryFile(/tmp/multipartBody6850293576311136755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439878788,"filename":"image_17082025_16_10_44_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671314","file1":"1377671312","file0":"1377671308","file4":"1377671321","file5":"1377671324","file3":"1377671318"},"map_files_photo_id_array":[{"photo_id":"1377671324","filename":"file5"},{"photo_id":"1377671314","filename":"file2"},{"photo_id":"1377671321","filename":"file4"},{"photo_id":"1377671312","filename":"file1"},{"photo_id":"1377671308","filename":"file0"},{"photo_id":"1377671318","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671312":["hashtag1","hashtag2"]},{"1377671321":["hashtag1","hashtag2"]},{"1377671324":["hashtag1","hashtag2"]},{"1377671318":["hashtag1","hashtag2"]},{"1377671314":["hashtag1","hashtag2"]},{"1377671308":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671312, 1377671321, 1377671324, 1377671318, 1377671314, 1377671308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03115272521973 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:11:02.653230
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/22/image_17082025_15_22_54_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/22/image_17082025_15_22_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/15/22/image_17082025_15_22_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/22/image_17082025_15_22_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/15/21/image_17082025_15_22_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/15/21/image_17082025_15_21_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/22/image_17082025_15_22_54_9636.jpg', '/home/nano/Desktop/images/17082025/15/22/image_17082025_15_22_44_10649.jpg', '/home/nano/Desktop/images/17082025/15/22/image_17082025_15_22_24_9638.jpg', '/home/nano/Desktop/images/17082025/15/22/image_17082025_15_22_14_10667.jpg', '/home/nano/Desktop/images/17082025/15/21/image_17082025_15_22_04_9649.jpg', '/home/nano/Desktop/images/17082025/15/21/image_17082025_15_21_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/22/image_17082025_15_22_54_9636.jpg
/home/nano/Desktop/images/17082025/15/22/image_17082025_15_22_44_10649.jpg
/home/nano/Desktop/images/17082025/15/22/image_17082025_15_22_24_9638.jpg
/home/nano/Desktop/images/17082025/15/22/image_17082025_15_22_14_10667.jpg
/home/nano/Desktop/images/17082025/15/21/image_17082025_15_22_04_9649.jpg
/home/nano/Desktop/images/17082025/15/21/image_17082025_15_21_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671341","1377671329","1377671343","1377671331","1377671345","1377671339"],"photo_ids_order":["1377671329","1377671331","1377671339","1377671341","1377671343","1377671345"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b0ed4ae48165c54c33179c276714012a.jpg","text":"TemporaryFile(/tmp/multipartBody8836021213927164112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439924402,"filename":"image_17082025_15_22_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f714d49c5c671e2e112c89615635753c.jpg","text":"TemporaryFile(/tmp/multipartBody3389277735668047058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439924402,"filename":"image_17082025_15_22_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/71d229caac7bd2d64986ea6cda7e0c1a.jpg","text":"TemporaryFile(/tmp/multipartBody2174448455831418256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439924402,"filename":"image_17082025_15_22_04_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2283f75d1170067a733bcabea6de9642.jpg","text":"TemporaryFile(/tmp/multipartBody7155910464876304291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439924402,"filename":"image_17082025_15_22_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/60db84c0c18005d55f3f63731d71675a.jpg","text":"TemporaryFile(/tmp/multipartBody8777382730305463436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439924402,"filename":"image_17082025_15_21_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f6a13278992cd65ebe651718daf021eb.jpg","text":"TemporaryFile(/tmp/multipartBody3069564950244605365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439924402,"filename":"image_17082025_15_22_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671339","file1":"1377671331","file0":"1377671329","file4":"1377671343","file5":"1377671345","file3":"1377671341"},"map_files_photo_id_array":[{"photo_id":"1377671345","filename":"file5"},{"photo_id":"1377671339","filename":"file2"},{"photo_id":"1377671343","filename":"file4"},{"photo_id":"1377671331","filename":"file1"},{"photo_id":"1377671329","filename":"file0"},{"photo_id":"1377671341","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671341":["hashtag1","hashtag2"]},{"1377671329":["hashtag1","hashtag2"]},{"1377671343":["hashtag1","hashtag2"]},{"1377671331":["hashtag1","hashtag2"]},{"1377671345":["hashtag1","hashtag2"]},{"1377671339":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671341, 1377671329, 1377671343, 1377671331, 1377671345, 1377671339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76287364959717 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:11:47.048938
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/11/image_17082025_16_11_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/16/11/image_17082025_16_11_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/16/11/image_17082025_16_11_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/16/11/image_17082025_16_11_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/16/10/image_17082025_16_11_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/16/10/image_17082025_16_10_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/11/image_17082025_16_11_44_10648.jpg', '/home/nano/Desktop/images/17082025/16/11/image_17082025_16_11_34_9638.jpg', '/home/nano/Desktop/images/17082025/16/11/image_17082025_16_11_24_9641.jpg', '/home/nano/Desktop/images/17082025/16/11/image_17082025_16_11_14_10668.jpg', '/home/nano/Desktop/images/17082025/16/10/image_17082025_16_11_04_9645.jpg', '/home/nano/Desktop/images/17082025/16/10/image_17082025_16_10_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/11/image_17082025_16_11_44_10648.jpg
/home/nano/Desktop/images/17082025/16/11/image_17082025_16_11_34_9638.jpg
/home/nano/Desktop/images/17082025/16/11/image_17082025_16_11_24_9641.jpg
/home/nano/Desktop/images/17082025/16/11/image_17082025_16_11_14_10668.jpg
/home/nano/Desktop/images/17082025/16/10/image_17082025_16_11_04_9645.jpg
/home/nano/Desktop/images/17082025/16/10/image_17082025_16_10_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671360","1377671354","1377671356","1377671370","1377671355","1377671357"],"photo_ids_order":["1377671354","1377671355","1377671356","1377671357","1377671360","1377671370"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2671251c864f290f70a6ddf0f8790b14.jpg","text":"TemporaryFile(/tmp/multipartBody7041502209018718023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439968972,"filename":"image_17082025_16_11_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/11eaac8726802eb51dcde6b2c96e22c2.jpg","text":"TemporaryFile(/tmp/multipartBody2369306358492393868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439968972,"filename":"image_17082025_16_11_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4cb44fa7b5b97846b50a3b93fad109cf.jpg","text":"TemporaryFile(/tmp/multipartBody4610984042111839565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439968972,"filename":"image_17082025_16_11_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ca482d0f51c947d12ca7853359560cc7.jpg","text":"TemporaryFile(/tmp/multipartBody5035782587905260119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439968972,"filename":"image_17082025_16_10_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2d5ee7daee23fdc0890bce354aa9b601.jpg","text":"TemporaryFile(/tmp/multipartBody421451242562625985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439968972,"filename":"image_17082025_16_11_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/466655ab8d0b88b5cb764b14cb094e1a.jpg","text":"TemporaryFile(/tmp/multipartBody1613502827925378869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755439968972,"filename":"image_17082025_16_11_14_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671356","file1":"1377671355","file0":"1377671354","file4":"1377671360","file5":"1377671370","file3":"1377671357"},"map_files_photo_id_array":[{"photo_id":"1377671370","filename":"file5"},{"photo_id":"1377671356","filename":"file2"},{"photo_id":"1377671360","filename":"file4"},{"photo_id":"1377671355","filename":"file1"},{"photo_id":"1377671354","filename":"file0"},{"photo_id":"1377671357","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671360":["hashtag1","hashtag2"]},{"1377671354":["hashtag1","hashtag2"]},{"1377671356":["hashtag1","hashtag2"]},{"1377671370":["hashtag1","hashtag2"]},{"1377671355":["hashtag1","hashtag2"]},{"1377671357":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671360, 1377671354, 1377671356, 1377671370, 1377671355, 1377671357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68238639831543 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:12:32.189577
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/12/image_17082025_16_12_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/16/12/image_17082025_16_12_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/16/12/image_17082025_16_12_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/16/12/image_17082025_16_12_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/16/11/image_17082025_16_12_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/16/11/image_17082025_16_11_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/12/image_17082025_16_12_44_10647.jpg', '/home/nano/Desktop/images/17082025/16/12/image_17082025_16_12_34_9636.jpg', '/home/nano/Desktop/images/17082025/16/12/image_17082025_16_12_24_9637.jpg', '/home/nano/Desktop/images/17082025/16/12/image_17082025_16_12_14_10667.jpg', '/home/nano/Desktop/images/17082025/16/11/image_17082025_16_12_04_9666.jpg', '/home/nano/Desktop/images/17082025/16/11/image_17082025_16_11_54_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/12/image_17082025_16_12_44_10647.jpg
/home/nano/Desktop/images/17082025/16/12/image_17082025_16_12_34_9636.jpg
/home/nano/Desktop/images/17082025/16/12/image_17082025_16_12_24_9637.jpg
/home/nano/Desktop/images/17082025/16/12/image_17082025_16_12_14_10667.jpg
/home/nano/Desktop/images/17082025/16/11/image_17082025_16_12_04_9666.jpg
/home/nano/Desktop/images/17082025/16/11/image_17082025_16_11_54_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671386","1377671383","1377671382","1377671385","1377671384","1377671387"],"photo_ids_order":["1377671382","1377671383","1377671384","1377671385","1377671386","1377671387"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dfb2e8e08989208944620642bf618069.jpg","text":"TemporaryFile(/tmp/multipartBody4804066634432681766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440013832,"filename":"image_17082025_16_12_04_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7e6b8453b158afab97ba5e7e807dc19c.jpg","text":"TemporaryFile(/tmp/multipartBody4424910480612338283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440013832,"filename":"image_17082025_16_12_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aa5cff539917c3b88a64431ad30f0220.jpg","text":"TemporaryFile(/tmp/multipartBody1812495124584544349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440013832,"filename":"image_17082025_16_12_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2606d4e50e99b16b27d435abfbe019cb.jpg","text":"TemporaryFile(/tmp/multipartBody3476776130241162384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440013832,"filename":"image_17082025_16_12_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f0afbc08f400cf8aed21a8f2e780922d.jpg","text":"TemporaryFile(/tmp/multipartBody156853574185550413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440013832,"filename":"image_17082025_16_12_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b089c1d2ed2eb2bccd11590696437896.jpg","text":"TemporaryFile(/tmp/multipartBody430905394416674979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440013832,"filename":"image_17082025_16_11_54_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671384","file1":"1377671383","file0":"1377671382","file4":"1377671386","file5":"1377671387","file3":"1377671385"},"map_files_photo_id_array":[{"photo_id":"1377671387","filename":"file5"},{"photo_id":"1377671384","filename":"file2"},{"photo_id":"1377671386","filename":"file4"},{"photo_id":"1377671383","filename":"file1"},{"photo_id":"1377671382","filename":"file0"},{"photo_id":"1377671385","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671386":["hashtag1","hashtag2"]},{"1377671383":["hashtag1","hashtag2"]},{"1377671382":["hashtag1","hashtag2"]},{"1377671385":["hashtag1","hashtag2"]},{"1377671384":["hashtag1","hashtag2"]},{"1377671387":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671386, 1377671383, 1377671382, 1377671385, 1377671384, 1377671387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.780841588974 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:13:17.286340
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/13/image_17082025_16_13_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/16/13/image_17082025_16_13_34_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/16/13/image_17082025_16_13_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/16/13/image_17082025_16_13_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/16/12/image_17082025_16_13_05_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/16/12/image_17082025_16_12_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/13/image_17082025_16_13_44_9640.jpg', '/home/nano/Desktop/images/17082025/16/13/image_17082025_16_13_34_10652.jpg', '/home/nano/Desktop/images/17082025/16/13/image_17082025_16_13_24_9638.jpg', '/home/nano/Desktop/images/17082025/16/13/image_17082025_16_13_14_9658.jpg', '/home/nano/Desktop/images/17082025/16/12/image_17082025_16_13_05_10671.jpg', '/home/nano/Desktop/images/17082025/16/12/image_17082025_16_12_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/13/image_17082025_16_13_44_9640.jpg
/home/nano/Desktop/images/17082025/16/13/image_17082025_16_13_34_10652.jpg
/home/nano/Desktop/images/17082025/16/13/image_17082025_16_13_24_9638.jpg
/home/nano/Desktop/images/17082025/16/13/image_17082025_16_13_14_9658.jpg
/home/nano/Desktop/images/17082025/16/12/image_17082025_16_13_05_10671.jpg
/home/nano/Desktop/images/17082025/16/12/image_17082025_16_12_54_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671411","1377671414","1377671417","1377671419","1377671407","1377671418"],"photo_ids_order":["1377671407","1377671411","1377671414","1377671417","1377671418","1377671419"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1ade1b56564d3cde810659d3d08ccd8c.jpg","text":"TemporaryFile(/tmp/multipartBody4949919991315194351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440058914,"filename":"image_17082025_16_13_34_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f72a7bb48720c6d5592dc6d401734e30.jpg","text":"TemporaryFile(/tmp/multipartBody5496805159936639841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440058914,"filename":"image_17082025_16_13_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/699847479c5a7b9ae8d0515d0e90dbaa.jpg","text":"TemporaryFile(/tmp/multipartBody6260533570517023559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440058914,"filename":"image_17082025_16_13_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5386892befc42d1719cb8d47cd462e95.jpg","text":"TemporaryFile(/tmp/multipartBody1735564626917182502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440058914,"filename":"image_17082025_16_12_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7096122e509c74899b611d57d0acd10a.jpg","text":"TemporaryFile(/tmp/multipartBody1687575480327084173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440058914,"filename":"image_17082025_16_13_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8d926d02311d91dc9f18898699842db6.jpg","text":"TemporaryFile(/tmp/multipartBody4294968352516435580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440058914,"filename":"image_17082025_16_13_05_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671414","file1":"1377671411","file0":"1377671407","file4":"1377671418","file5":"1377671419","file3":"1377671417"},"map_files_photo_id_array":[{"photo_id":"1377671419","filename":"file5"},{"photo_id":"1377671414","filename":"file2"},{"photo_id":"1377671418","filename":"file4"},{"photo_id":"1377671411","filename":"file1"},{"photo_id":"1377671407","filename":"file0"},{"photo_id":"1377671417","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671411":["hashtag1","hashtag2"]},{"1377671414":["hashtag1","hashtag2"]},{"1377671417":["hashtag1","hashtag2"]},{"1377671419":["hashtag1","hashtag2"]},{"1377671407":["hashtag1","hashtag2"]},{"1377671418":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671411, 1377671414, 1377671417, 1377671419, 1377671407, 1377671418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49329376220703 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:14:03.237925
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/21/image_17082025_15_21_44_10644.jpg', 2), ('/home/nano/Desktop/images/17082025/15/21/image_17082025_15_21_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/21/image_17082025_15_21_24_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/15/21/image_17082025_15_21_14_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/15/20/image_17082025_15_21_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/15/20/image_17082025_15_20_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/21/image_17082025_15_21_44_10644.jpg', '/home/nano/Desktop/images/17082025/15/21/image_17082025_15_21_34_9639.jpg', '/home/nano/Desktop/images/17082025/15/21/image_17082025_15_21_24_9660.jpg', '/home/nano/Desktop/images/17082025/15/21/image_17082025_15_21_14_10673.jpg', '/home/nano/Desktop/images/17082025/15/20/image_17082025_15_21_04_9656.jpg', '/home/nano/Desktop/images/17082025/15/20/image_17082025_15_20_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/21/image_17082025_15_21_44_10644.jpg
/home/nano/Desktop/images/17082025/15/21/image_17082025_15_21_34_9639.jpg
/home/nano/Desktop/images/17082025/15/21/image_17082025_15_21_24_9660.jpg
/home/nano/Desktop/images/17082025/15/21/image_17082025_15_21_14_10673.jpg
/home/nano/Desktop/images/17082025/15/20/image_17082025_15_21_04_9656.jpg
/home/nano/Desktop/images/17082025/15/20/image_17082025_15_20_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671440","1377671434","1377671443","1377671437","1377671448","1377671424"],"photo_ids_order":["1377671424","1377671434","1377671437","1377671440","1377671443","1377671448"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/434916fdb78b5b899f0943264b48f74f.jpg","text":"TemporaryFile(/tmp/multipartBody6306608754583250397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440105360,"filename":"image_17082025_15_21_14_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a7967ac5338bde36c9cc85c9a202cad8.jpg","text":"TemporaryFile(/tmp/multipartBody6925870991748314256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440105360,"filename":"image_17082025_15_21_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/162860525c6b65060f7de2b7ae2ce332.jpg","text":"TemporaryFile(/tmp/multipartBody2561636123370286633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440105360,"filename":"image_17082025_15_21_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/504a7a1f477f3a3ccd9da37b65cf49df.jpg","text":"TemporaryFile(/tmp/multipartBody8830932342469124359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440105360,"filename":"image_17082025_15_21_24_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e625e7fb0f7eac82596e8c61bcf58475.jpg","text":"TemporaryFile(/tmp/multipartBody5827905590008395805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440105360,"filename":"image_17082025_15_20_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e97377944c82a86cec455868e580d88b.jpg","text":"TemporaryFile(/tmp/multipartBody5366309321883120116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440105360,"filename":"image_17082025_15_21_44_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671437","file1":"1377671434","file0":"1377671424","file4":"1377671443","file5":"1377671448","file3":"1377671440"},"map_files_photo_id_array":[{"photo_id":"1377671448","filename":"file5"},{"photo_id":"1377671437","filename":"file2"},{"photo_id":"1377671443","filename":"file4"},{"photo_id":"1377671434","filename":"file1"},{"photo_id":"1377671424","filename":"file0"},{"photo_id":"1377671440","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671440":["hashtag1","hashtag2"]},{"1377671434":["hashtag1","hashtag2"]},{"1377671443":["hashtag1","hashtag2"]},{"1377671437":["hashtag1","hashtag2"]},{"1377671448":["hashtag1","hashtag2"]},{"1377671424":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671440, 1377671434, 1377671443, 1377671437, 1377671448, 1377671424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27129077911377 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:14:47.470441
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/14/image_17082025_16_14_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/16/14/image_17082025_16_14_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/16/14/image_17082025_16_14_14_9689.jpg', 2), ('/home/nano/Desktop/images/17082025/16/13/image_17082025_16_14_04_10659.jpg', 2), ('/home/nano/Desktop/images/17082025/16/13/image_17082025_16_13_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/20/image_17082025_15_20_44_10664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/14/image_17082025_16_14_44_9638.jpg', '/home/nano/Desktop/images/17082025/16/14/image_17082025_16_14_24_9640.jpg', '/home/nano/Desktop/images/17082025/16/14/image_17082025_16_14_14_9689.jpg', '/home/nano/Desktop/images/17082025/16/13/image_17082025_16_14_04_10659.jpg', '/home/nano/Desktop/images/17082025/16/13/image_17082025_16_13_54_9639.jpg', '/home/nano/Desktop/images/17082025/15/20/image_17082025_15_20_44_10664.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/14/image_17082025_16_14_44_9638.jpg
/home/nano/Desktop/images/17082025/16/14/image_17082025_16_14_24_9640.jpg
/home/nano/Desktop/images/17082025/16/14/image_17082025_16_14_14_9689.jpg
/home/nano/Desktop/images/17082025/16/13/image_17082025_16_14_04_10659.jpg
/home/nano/Desktop/images/17082025/16/13/image_17082025_16_13_54_9639.jpg
/home/nano/Desktop/images/17082025/15/20/image_17082025_15_20_44_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671453","1377671452","1377671455","1377671469","1377671460","1377671457"],"photo_ids_order":["1377671452","1377671453","1377671455","1377671457","1377671460","1377671469"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6377d08793d381db0dcc03960f47355e.jpg","text":"TemporaryFile(/tmp/multipartBody1095935710938730489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440149802,"filename":"image_17082025_16_14_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eee2887d8f7f776c6376b1dda0f559ed.jpg","text":"TemporaryFile(/tmp/multipartBody8791288515487865665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440149802,"filename":"image_17082025_16_14_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7aa5806bedcc7511175ace8557326efe.jpg","text":"TemporaryFile(/tmp/multipartBody8448624991989597657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440149802,"filename":"image_17082025_16_14_14_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7c5a798acdb86836461c08d45df4542b.jpg","text":"TemporaryFile(/tmp/multipartBody4754942857793135019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440149802,"filename":"image_17082025_15_20_44_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b371345de6bbe602a256660896cfb90f.jpg","text":"TemporaryFile(/tmp/multipartBody2822568930993718455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440149802,"filename":"image_17082025_16_13_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/19984c114bcf572b36890487f1f58aab.jpg","text":"TemporaryFile(/tmp/multipartBody4392453202304192540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440149802,"filename":"image_17082025_16_14_04_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671455","file1":"1377671453","file0":"1377671452","file4":"1377671460","file5":"1377671469","file3":"1377671457"},"map_files_photo_id_array":[{"photo_id":"1377671469","filename":"file5"},{"photo_id":"1377671455","filename":"file2"},{"photo_id":"1377671460","filename":"file4"},{"photo_id":"1377671453","filename":"file1"},{"photo_id":"1377671452","filename":"file0"},{"photo_id":"1377671457","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671453":["hashtag1","hashtag2"]},{"1377671452":["hashtag1","hashtag2"]},{"1377671455":["hashtag1","hashtag2"]},{"1377671469":["hashtag1","hashtag2"]},{"1377671460":["hashtag1","hashtag2"]},{"1377671457":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671453, 1377671452, 1377671455, 1377671469, 1377671460, 1377671457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.594112157821655 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:15:32.588294
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/15/image_17082025_16_15_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/16/15/image_17082025_16_15_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/16/14/image_17082025_16_15_04_10684.jpg', 2), ('/home/nano/Desktop/images/17082025/16/14/image_17082025_16_14_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/15/20/image_17082025_15_20_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/20/image_17082025_15_20_24_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/15/image_17082025_16_15_44_9639.jpg', '/home/nano/Desktop/images/17082025/16/15/image_17082025_16_15_14_9655.jpg', '/home/nano/Desktop/images/17082025/16/14/image_17082025_16_15_04_10684.jpg', '/home/nano/Desktop/images/17082025/16/14/image_17082025_16_14_54_9640.jpg', '/home/nano/Desktop/images/17082025/15/20/image_17082025_15_20_34_9638.jpg', '/home/nano/Desktop/images/17082025/15/20/image_17082025_15_20_24_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/15/image_17082025_16_15_44_9639.jpg
/home/nano/Desktop/images/17082025/16/15/image_17082025_16_15_14_9655.jpg
/home/nano/Desktop/images/17082025/16/14/image_17082025_16_15_04_10684.jpg
/home/nano/Desktop/images/17082025/16/14/image_17082025_16_14_54_9640.jpg
/home/nano/Desktop/images/17082025/15/20/image_17082025_15_20_34_9638.jpg
/home/nano/Desktop/images/17082025/15/20/image_17082025_15_20_24_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671488","1377671482","1377671484","1377671478","1377671486","1377671480"],"photo_ids_order":["1377671478","1377671480","1377671482","1377671484","1377671486","1377671488"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dee398a1bbb72b8d36f16e42c81ad813.jpg","text":"TemporaryFile(/tmp/multipartBody5988869532090018443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440194488,"filename":"image_17082025_15_20_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e03f87097deaf45cd13afe26a4f95262.jpg","text":"TemporaryFile(/tmp/multipartBody6766717266136664938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440194488,"filename":"image_17082025_16_15_04_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b7ad86ff5957f4415bdf441a9e1beaff.jpg","text":"TemporaryFile(/tmp/multipartBody7049399435128420168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440194488,"filename":"image_17082025_16_14_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2bbb69a30d0cf1726854c185c21ab075.jpg","text":"TemporaryFile(/tmp/multipartBody3562846649975380915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440194488,"filename":"image_17082025_16_15_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/40149be60155eda9043162997adbf37e.jpg","text":"TemporaryFile(/tmp/multipartBody4966452472065019684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440194488,"filename":"image_17082025_15_20_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fcfa9f61b1208d4b26bbe58c8d9aa8a3.jpg","text":"TemporaryFile(/tmp/multipartBody5176967854516574229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440194488,"filename":"image_17082025_16_15_14_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671482","file1":"1377671480","file0":"1377671478","file4":"1377671486","file5":"1377671488","file3":"1377671484"},"map_files_photo_id_array":[{"photo_id":"1377671488","filename":"file5"},{"photo_id":"1377671482","filename":"file2"},{"photo_id":"1377671486","filename":"file4"},{"photo_id":"1377671480","filename":"file1"},{"photo_id":"1377671478","filename":"file0"},{"photo_id":"1377671484","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671488":["hashtag1","hashtag2"]},{"1377671482":["hashtag1","hashtag2"]},{"1377671484":["hashtag1","hashtag2"]},{"1377671478":["hashtag1","hashtag2"]},{"1377671486":["hashtag1","hashtag2"]},{"1377671480":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671488, 1377671482, 1377671484, 1377671478, 1377671486, 1377671480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48684620857239 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:16:17.685981
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/16/image_17082025_16_16_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/16/16/image_17082025_16_16_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/16/16/image_17082025_16_16_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/16/15/image_17082025_16_16_04_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/16/15/image_17082025_16_15_54_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/15/20/image_17082025_15_20_15_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/16/image_17082025_16_16_44_9637.jpg', '/home/nano/Desktop/images/17082025/16/16/image_17082025_16_16_34_10647.jpg', '/home/nano/Desktop/images/17082025/16/16/image_17082025_16_16_24_9638.jpg', '/home/nano/Desktop/images/17082025/16/15/image_17082025_16_16_04_10668.jpg', '/home/nano/Desktop/images/17082025/16/15/image_17082025_16_15_54_9649.jpg', '/home/nano/Desktop/images/17082025/15/20/image_17082025_15_20_15_10665.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/16/image_17082025_16_16_44_9637.jpg
/home/nano/Desktop/images/17082025/16/16/image_17082025_16_16_34_10647.jpg
/home/nano/Desktop/images/17082025/16/16/image_17082025_16_16_24_9638.jpg
/home/nano/Desktop/images/17082025/16/15/image_17082025_16_16_04_10668.jpg
/home/nano/Desktop/images/17082025/16/15/image_17082025_16_15_54_9649.jpg
/home/nano/Desktop/images/17082025/15/20/image_17082025_15_20_15_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671510","1377671522","1377671518","1377671520","1377671514","1377671505"],"photo_ids_order":["1377671505","1377671510","1377671514","1377671518","1377671520","1377671522"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1b140b849660c58a2d84e47a99371568.jpg","text":"TemporaryFile(/tmp/multipartBody651087302842756099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440239610,"filename":"image_17082025_16_16_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/539819afb696be33488558e0ee439514.jpg","text":"TemporaryFile(/tmp/multipartBody3223985684380469693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440239610,"filename":"image_17082025_15_20_15_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3a5bc94373a7746804a8f6a574703067.jpg","text":"TemporaryFile(/tmp/multipartBody8415915189672525335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440239610,"filename":"image_17082025_16_16_04_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d23947e2d65308ffb2e326a082305120.jpg","text":"TemporaryFile(/tmp/multipartBody158785922078385463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440239610,"filename":"image_17082025_16_15_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bab0351e4bdfd9fa9b7f37b015f0249c.jpg","text":"TemporaryFile(/tmp/multipartBody2190389288053895346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440239610,"filename":"image_17082025_16_16_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/528c56ab1e731123b1be30efbe7fc532.jpg","text":"TemporaryFile(/tmp/multipartBody9181120371425448484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440239610,"filename":"image_17082025_16_16_44_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671514","file1":"1377671510","file0":"1377671505","file4":"1377671520","file5":"1377671522","file3":"1377671518"},"map_files_photo_id_array":[{"photo_id":"1377671522","filename":"file5"},{"photo_id":"1377671514","filename":"file2"},{"photo_id":"1377671520","filename":"file4"},{"photo_id":"1377671510","filename":"file1"},{"photo_id":"1377671505","filename":"file0"},{"photo_id":"1377671518","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671510":["hashtag1","hashtag2"]},{"1377671522":["hashtag1","hashtag2"]},{"1377671518":["hashtag1","hashtag2"]},{"1377671520":["hashtag1","hashtag2"]},{"1377671514":["hashtag1","hashtag2"]},{"1377671505":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671510, 1377671522, 1377671518, 1377671520, 1377671514, 1377671505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58619284629822 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:17:02.550482
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/19/image_17082025_15_20_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/15/19/image_17082025_15_19_54_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/15/19/image_17082025_15_19_44_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/15/19/image_17082025_15_19_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/19/image_17082025_15_19_24_10654.jpg', 2), ('/home/nano/Desktop/images/17082025/15/19/image_17082025_15_19_14_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/19/image_17082025_15_20_04_9656.jpg', '/home/nano/Desktop/images/17082025/15/19/image_17082025_15_19_54_10646.jpg', '/home/nano/Desktop/images/17082025/15/19/image_17082025_15_19_44_9654.jpg', '/home/nano/Desktop/images/17082025/15/19/image_17082025_15_19_34_9637.jpg', '/home/nano/Desktop/images/17082025/15/19/image_17082025_15_19_24_10654.jpg', '/home/nano/Desktop/images/17082025/15/19/image_17082025_15_19_14_9657.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/19/image_17082025_15_20_04_9656.jpg
/home/nano/Desktop/images/17082025/15/19/image_17082025_15_19_54_10646.jpg
/home/nano/Desktop/images/17082025/15/19/image_17082025_15_19_44_9654.jpg
/home/nano/Desktop/images/17082025/15/19/image_17082025_15_19_34_9637.jpg
/home/nano/Desktop/images/17082025/15/19/image_17082025_15_19_24_10654.jpg
/home/nano/Desktop/images/17082025/15/19/image_17082025_15_19_14_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671531","1377671540","1377671528","1377671548","1377671542","1377671545"],"photo_ids_order":["1377671528","1377671531","1377671540","1377671542","1377671545","1377671548"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f6bbdaa69561ead76e5ac27bab1d13c9.jpg","text":"TemporaryFile(/tmp/multipartBody7912362466325332370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440284226,"filename":"image_17082025_15_19_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2d427157b3135e088a5f9f1088b1946f.jpg","text":"TemporaryFile(/tmp/multipartBody1173115023795259346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440284226,"filename":"image_17082025_15_19_44_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bff6fc0996f1e3982901c6475dba26ee.jpg","text":"TemporaryFile(/tmp/multipartBody1563425603268431843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440284226,"filename":"image_17082025_15_20_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8935037cfb8303104aa09e146a99dc80.jpg","text":"TemporaryFile(/tmp/multipartBody6618762003639790946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440284226,"filename":"image_17082025_15_19_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c8558c36b9a80b20c6f55fb4b7623b85.jpg","text":"TemporaryFile(/tmp/multipartBody2378107927904177973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440284226,"filename":"image_17082025_15_19_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/06be9ed5c52faf687f075d975ff5d654.jpg","text":"TemporaryFile(/tmp/multipartBody9133622217427079026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440284226,"filename":"image_17082025_15_19_24_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671540","file1":"1377671531","file0":"1377671528","file4":"1377671545","file5":"1377671548","file3":"1377671542"},"map_files_photo_id_array":[{"photo_id":"1377671548","filename":"file5"},{"photo_id":"1377671540","filename":"file2"},{"photo_id":"1377671545","filename":"file4"},{"photo_id":"1377671531","filename":"file1"},{"photo_id":"1377671528","filename":"file0"},{"photo_id":"1377671542","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671531":["hashtag1","hashtag2"]},{"1377671540":["hashtag1","hashtag2"]},{"1377671528":["hashtag1","hashtag2"]},{"1377671548":["hashtag1","hashtag2"]},{"1377671542":["hashtag1","hashtag2"]},{"1377671545":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671531, 1377671540, 1377671528, 1377671548, 1377671542, 1377671545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.523841381073 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:17:46.871845
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/17/image_17082025_16_17_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/16/17/image_17082025_16_17_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/16/17/image_17082025_16_17_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/16/16/image_17082025_16_17_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/16/16/image_17082025_16_16_54_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/15/18/image_17082025_15_19_04_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/17/image_17082025_16_17_34_9639.jpg', '/home/nano/Desktop/images/17082025/16/17/image_17082025_16_17_24_10649.jpg', '/home/nano/Desktop/images/17082025/16/17/image_17082025_16_17_14_9656.jpg', '/home/nano/Desktop/images/17082025/16/16/image_17082025_16_17_04_9653.jpg', '/home/nano/Desktop/images/17082025/16/16/image_17082025_16_16_54_10651.jpg', '/home/nano/Desktop/images/17082025/15/18/image_17082025_15_19_04_9659.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/17/image_17082025_16_17_34_9639.jpg
/home/nano/Desktop/images/17082025/16/17/image_17082025_16_17_24_10649.jpg
/home/nano/Desktop/images/17082025/16/17/image_17082025_16_17_14_9656.jpg
/home/nano/Desktop/images/17082025/16/16/image_17082025_16_17_04_9653.jpg
/home/nano/Desktop/images/17082025/16/16/image_17082025_16_16_54_10651.jpg
/home/nano/Desktop/images/17082025/15/18/image_17082025_15_19_04_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671574","1377671553","1377671561","1377671555","1377671564","1377671558"],"photo_ids_order":["1377671553","1377671555","1377671558","1377671561","1377671564","1377671574"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cffbf41e163f50befc3b68c7d03a1c88.jpg","text":"TemporaryFile(/tmp/multipartBody5989926308938256116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440328696,"filename":"image_17082025_15_19_04_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a58747bfb220482d09fc70dd181e2f64.jpg","text":"TemporaryFile(/tmp/multipartBody8353646180362908688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440328696,"filename":"image_17082025_16_17_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/da90b0102033923d0ff51810499112c1.jpg","text":"TemporaryFile(/tmp/multipartBody7027575064568547824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440328696,"filename":"image_17082025_16_17_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4ff6ae548afe5adf5df4725e955fb589.jpg","text":"TemporaryFile(/tmp/multipartBody3599336321834532557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440328696,"filename":"image_17082025_16_17_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0593dc3f366a5d15b0a6552760526072.jpg","text":"TemporaryFile(/tmp/multipartBody8068964000792330710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440328696,"filename":"image_17082025_16_16_54_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4566e2e03636376a68212369c9e9e8ed.jpg","text":"TemporaryFile(/tmp/multipartBody7353378384589038770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440328696,"filename":"image_17082025_16_17_14_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671558","file1":"1377671555","file0":"1377671553","file4":"1377671564","file5":"1377671574","file3":"1377671561"},"map_files_photo_id_array":[{"photo_id":"1377671574","filename":"file5"},{"photo_id":"1377671558","filename":"file2"},{"photo_id":"1377671564","filename":"file4"},{"photo_id":"1377671555","filename":"file1"},{"photo_id":"1377671553","filename":"file0"},{"photo_id":"1377671561","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671574":["hashtag1","hashtag2"]},{"1377671553":["hashtag1","hashtag2"]},{"1377671561":["hashtag1","hashtag2"]},{"1377671555":["hashtag1","hashtag2"]},{"1377671564":["hashtag1","hashtag2"]},{"1377671558":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671574, 1377671553, 1377671561, 1377671555, 1377671564, 1377671558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05553722381592 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:18:31.987507
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/18/image_17082025_16_18_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/16/18/image_17082025_16_18_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/16/18/image_17082025_16_18_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/16/18/image_17082025_16_18_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/16/17/image_17082025_16_18_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/16/17/image_17082025_16_17_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/18/image_17082025_16_18_44_9639.jpg', '/home/nano/Desktop/images/17082025/16/18/image_17082025_16_18_34_9640.jpg', '/home/nano/Desktop/images/17082025/16/18/image_17082025_16_18_24_10649.jpg', '/home/nano/Desktop/images/17082025/16/18/image_17082025_16_18_14_9662.jpg', '/home/nano/Desktop/images/17082025/16/17/image_17082025_16_18_04_9653.jpg', '/home/nano/Desktop/images/17082025/16/17/image_17082025_16_17_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/18/image_17082025_16_18_44_9639.jpg
/home/nano/Desktop/images/17082025/16/18/image_17082025_16_18_34_9640.jpg
/home/nano/Desktop/images/17082025/16/18/image_17082025_16_18_24_10649.jpg
/home/nano/Desktop/images/17082025/16/18/image_17082025_16_18_14_9662.jpg
/home/nano/Desktop/images/17082025/16/17/image_17082025_16_18_04_9653.jpg
/home/nano/Desktop/images/17082025/16/17/image_17082025_16_17_44_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671589","1377671580","1377671591","1377671585","1377671588","1377671582"],"photo_ids_order":["1377671580","1377671582","1377671585","1377671588","1377671589","1377671591"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e02c60bb8122f4158c83083861ad6837.jpg","text":"TemporaryFile(/tmp/multipartBody3199770429150027720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440373850,"filename":"image_17082025_16_18_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4f44521eac82dd07002416d0d54c5e11.jpg","text":"TemporaryFile(/tmp/multipartBody6020491579255815564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440373850,"filename":"image_17082025_16_18_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b51311ebfee4bb04c36743e7a91ffc6c.jpg","text":"TemporaryFile(/tmp/multipartBody4794307772404961197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440373850,"filename":"image_17082025_16_17_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bb599d87c4baa2f5f67911f34c7804bc.jpg","text":"TemporaryFile(/tmp/multipartBody43547755335842604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440373850,"filename":"image_17082025_16_18_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f9cc1022021a9dc09f90e451b75026fc.jpg","text":"TemporaryFile(/tmp/multipartBody7641398497941490331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440373850,"filename":"image_17082025_16_18_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bed466ceeb9167cf7db074063e84f66a.jpg","text":"TemporaryFile(/tmp/multipartBody8695486052191974962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440373850,"filename":"image_17082025_16_18_34_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671585","file1":"1377671582","file0":"1377671580","file4":"1377671589","file5":"1377671591","file3":"1377671588"},"map_files_photo_id_array":[{"photo_id":"1377671591","filename":"file5"},{"photo_id":"1377671585","filename":"file2"},{"photo_id":"1377671589","filename":"file4"},{"photo_id":"1377671582","filename":"file1"},{"photo_id":"1377671580","filename":"file0"},{"photo_id":"1377671588","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671589":["hashtag1","hashtag2"]},{"1377671580":["hashtag1","hashtag2"]},{"1377671591":["hashtag1","hashtag2"]},{"1377671585":["hashtag1","hashtag2"]},{"1377671588":["hashtag1","hashtag2"]},{"1377671582":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671589, 1377671580, 1377671591, 1377671585, 1377671588, 1377671582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89523267745972 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:19:17.089009
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/19/image_17082025_16_19_45_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/16/19/image_17082025_16_19_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/16/19/image_17082025_16_19_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/16/18/image_17082025_16_19_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/16/18/image_17082025_16_18_54_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_54_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/19/image_17082025_16_19_45_10648.jpg', '/home/nano/Desktop/images/17082025/16/19/image_17082025_16_19_34_9640.jpg', '/home/nano/Desktop/images/17082025/16/19/image_17082025_16_19_24_10650.jpg', '/home/nano/Desktop/images/17082025/16/18/image_17082025_16_19_04_9647.jpg', '/home/nano/Desktop/images/17082025/16/18/image_17082025_16_18_54_10651.jpg', '/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_54_10646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/19/image_17082025_16_19_45_10648.jpg
/home/nano/Desktop/images/17082025/16/19/image_17082025_16_19_34_9640.jpg
/home/nano/Desktop/images/17082025/16/19/image_17082025_16_19_24_10650.jpg
/home/nano/Desktop/images/17082025/16/18/image_17082025_16_19_04_9647.jpg
/home/nano/Desktop/images/17082025/16/18/image_17082025_16_18_54_10651.jpg
/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_54_10646.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.242347002029419 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:19:32.105419
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/19/image_17082025_16_19_45_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/16/19/image_17082025_16_19_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/16/19/image_17082025_16_19_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/16/18/image_17082025_16_19_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/16/18/image_17082025_16_18_54_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_54_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/19/image_17082025_16_19_45_10648.jpg', '/home/nano/Desktop/images/17082025/16/19/image_17082025_16_19_34_9640.jpg', '/home/nano/Desktop/images/17082025/16/19/image_17082025_16_19_24_10650.jpg', '/home/nano/Desktop/images/17082025/16/18/image_17082025_16_19_04_9647.jpg', '/home/nano/Desktop/images/17082025/16/18/image_17082025_16_18_54_10651.jpg', '/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_54_10646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/19/image_17082025_16_19_45_10648.jpg
/home/nano/Desktop/images/17082025/16/19/image_17082025_16_19_34_9640.jpg
/home/nano/Desktop/images/17082025/16/19/image_17082025_16_19_24_10650.jpg
/home/nano/Desktop/images/17082025/16/18/image_17082025_16_19_04_9647.jpg
/home/nano/Desktop/images/17082025/16/18/image_17082025_16_18_54_10651.jpg
/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_54_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671618","1377671612","1377671615","1377671623","1377671610","1377671621"],"photo_ids_order":["1377671610","1377671612","1377671615","1377671618","1377671621","1377671623"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3cb05bae58dfe4ed1bee292d8aeb0410.jpg","text":"TemporaryFile(/tmp/multipartBody5263535535655266158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440433859,"filename":"image_17082025_16_19_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5aefac77d3c3e02b26da0bc6aed72ffe.jpg","text":"TemporaryFile(/tmp/multipartBody9180542408758975374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440433859,"filename":"image_17082025_16_19_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/90151abbb9889a49998639b13ab96240.jpg","text":"TemporaryFile(/tmp/multipartBody4684199355833821767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440433859,"filename":"image_17082025_16_19_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fb80932aed592200c484f7f18b72cf11.jpg","text":"TemporaryFile(/tmp/multipartBody9191011077587202526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440433859,"filename":"image_17082025_15_18_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6071eddd167a2fd97b4182e8710d3bd4.jpg","text":"TemporaryFile(/tmp/multipartBody7759207646454472310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440433859,"filename":"image_17082025_16_19_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3e5b35fa54c885bbe3e80f6614c87b0e.jpg","text":"TemporaryFile(/tmp/multipartBody6925742921612823610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440433859,"filename":"image_17082025_16_18_54_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671615","file1":"1377671612","file0":"1377671610","file4":"1377671621","file5":"1377671623","file3":"1377671618"},"map_files_photo_id_array":[{"photo_id":"1377671623","filename":"file5"},{"photo_id":"1377671615","filename":"file2"},{"photo_id":"1377671621","filename":"file4"},{"photo_id":"1377671612","filename":"file1"},{"photo_id":"1377671610","filename":"file0"},{"photo_id":"1377671618","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671618":["hashtag1","hashtag2"]},{"1377671612":["hashtag1","hashtag2"]},{"1377671615":["hashtag1","hashtag2"]},{"1377671623":["hashtag1","hashtag2"]},{"1377671610":["hashtag1","hashtag2"]},{"1377671621":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671618, 1377671612, 1377671615, 1377671623, 1377671610, 1377671621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65289664268494 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:20:17.202652
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/20/image_17082025_16_20_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/16/20/image_17082025_16_20_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/16/20/image_17082025_16_20_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/16/20/image_17082025_16_20_14_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/16/19/image_17082025_16_20_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/16/19/image_17082025_16_19_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/20/image_17082025_16_20_44_10647.jpg', '/home/nano/Desktop/images/17082025/16/20/image_17082025_16_20_34_9638.jpg', '/home/nano/Desktop/images/17082025/16/20/image_17082025_16_20_24_9643.jpg', '/home/nano/Desktop/images/17082025/16/20/image_17082025_16_20_14_10673.jpg', '/home/nano/Desktop/images/17082025/16/19/image_17082025_16_20_04_9653.jpg', '/home/nano/Desktop/images/17082025/16/19/image_17082025_16_19_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/20/image_17082025_16_20_44_10647.jpg
/home/nano/Desktop/images/17082025/16/20/image_17082025_16_20_34_9638.jpg
/home/nano/Desktop/images/17082025/16/20/image_17082025_16_20_24_9643.jpg
/home/nano/Desktop/images/17082025/16/20/image_17082025_16_20_14_10673.jpg
/home/nano/Desktop/images/17082025/16/19/image_17082025_16_20_04_9653.jpg
/home/nano/Desktop/images/17082025/16/19/image_17082025_16_19_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671651","1377671639","1377671643","1377671646","1377671649","1377671636"],"photo_ids_order":["1377671636","1377671639","1377671643","1377671646","1377671649","1377671651"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0f087ace55b5d3555cd3cb3634175d73.jpg","text":"TemporaryFile(/tmp/multipartBody5360323538024414333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440478853,"filename":"image_17082025_16_19_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/17791864c8fe7048ffc1ecd4342e5d4d.jpg","text":"TemporaryFile(/tmp/multipartBody5520792890142120665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440478853,"filename":"image_17082025_16_20_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/096cadd54413f67de29bdb4e18f07afe.jpg","text":"TemporaryFile(/tmp/multipartBody843450078199105885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440478853,"filename":"image_17082025_16_20_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/32077ebe53b3ad24ae774fac9e75f8f4.jpg","text":"TemporaryFile(/tmp/multipartBody4336207679735305603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440478853,"filename":"image_17082025_16_20_14_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3ac2a688303c98a51acab1be27aa4a63.jpg","text":"TemporaryFile(/tmp/multipartBody268680193568774608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440478853,"filename":"image_17082025_16_20_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/51e6449e86ef5bc43bc5849c4316b5aa.jpg","text":"TemporaryFile(/tmp/multipartBody4048726418909165638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440478853,"filename":"image_17082025_16_20_44_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671643","file1":"1377671639","file0":"1377671636","file4":"1377671649","file5":"1377671651","file3":"1377671646"},"map_files_photo_id_array":[{"photo_id":"1377671651","filename":"file5"},{"photo_id":"1377671643","filename":"file2"},{"photo_id":"1377671649","filename":"file4"},{"photo_id":"1377671639","filename":"file1"},{"photo_id":"1377671636","filename":"file0"},{"photo_id":"1377671646","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671651":["hashtag1","hashtag2"]},{"1377671639":["hashtag1","hashtag2"]},{"1377671643":["hashtag1","hashtag2"]},{"1377671646":["hashtag1","hashtag2"]},{"1377671649":["hashtag1","hashtag2"]},{"1377671636":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671651, 1377671639, 1377671643, 1377671646, 1377671649, 1377671636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80156874656677 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:21:03.074160
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_14_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/15/17/image_17082025_15_18_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/15/17/image_17082025_15_17_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_44_9636.jpg', '/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_34_9636.jpg', '/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_24_10646.jpg', '/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_14_9652.jpg', '/home/nano/Desktop/images/17082025/15/17/image_17082025_15_18_04_9646.jpg', '/home/nano/Desktop/images/17082025/15/17/image_17082025_15_17_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_44_9636.jpg
/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_34_9636.jpg
/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_24_10646.jpg
/home/nano/Desktop/images/17082025/15/18/image_17082025_15_18_14_9652.jpg
/home/nano/Desktop/images/17082025/15/17/image_17082025_15_18_04_9646.jpg
/home/nano/Desktop/images/17082025/15/17/image_17082025_15_17_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671682","1377671676","1377671679","1377671664","1377671667","1377671684"],"photo_ids_order":["1377671664","1377671667","1377671676","1377671679","1377671682","1377671684"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7f6e46f1359a7eed3085157665e26f73.jpg","text":"TemporaryFile(/tmp/multipartBody9104539558025768423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440524770,"filename":"image_17082025_15_18_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/409b0f9e9ca2d07a834bd6c16ab7a56b.jpg","text":"TemporaryFile(/tmp/multipartBody4121447917093260776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440524770,"filename":"image_17082025_15_18_24_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e4bdae99a636362e10f0f31413f34454.jpg","text":"TemporaryFile(/tmp/multipartBody7023651027580563067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440524770,"filename":"image_17082025_15_18_14_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0cd4ae67b6595ce1bb4f2fd6ecb10d25.jpg","text":"TemporaryFile(/tmp/multipartBody589597307597754954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440524770,"filename":"image_17082025_15_18_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/afbaa4a991fbe40d5c87f45bfc50cc36.jpg","text":"TemporaryFile(/tmp/multipartBody4686112398676122764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440524770,"filename":"image_17082025_15_18_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/690ab7e3e8c86ecad7b18352ef47659a.jpg","text":"TemporaryFile(/tmp/multipartBody1210843476731073803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440524770,"filename":"image_17082025_15_17_54_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671676","file1":"1377671667","file0":"1377671664","file4":"1377671682","file5":"1377671684","file3":"1377671679"},"map_files_photo_id_array":[{"photo_id":"1377671684","filename":"file5"},{"photo_id":"1377671676","filename":"file2"},{"photo_id":"1377671682","filename":"file4"},{"photo_id":"1377671667","filename":"file1"},{"photo_id":"1377671664","filename":"file0"},{"photo_id":"1377671679","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671682":["hashtag1","hashtag2"]},{"1377671676":["hashtag1","hashtag2"]},{"1377671679":["hashtag1","hashtag2"]},{"1377671664":["hashtag1","hashtag2"]},{"1377671667":["hashtag1","hashtag2"]},{"1377671684":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671682, 1377671676, 1377671679, 1377671664, 1377671667, 1377671684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99699330329895 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:21:47.271709
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/21/image_17082025_16_21_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/16/21/image_17082025_16_21_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/16/20/image_17082025_16_21_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/16/20/image_17082025_16_20_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/17/image_17082025_15_17_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/17/image_17082025_15_17_34_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/21/image_17082025_16_21_44_10648.jpg', '/home/nano/Desktop/images/17082025/16/21/image_17082025_16_21_14_10668.jpg', '/home/nano/Desktop/images/17082025/16/20/image_17082025_16_21_04_9651.jpg', '/home/nano/Desktop/images/17082025/16/20/image_17082025_16_20_54_9639.jpg', '/home/nano/Desktop/images/17082025/15/17/image_17082025_15_17_44_9636.jpg', '/home/nano/Desktop/images/17082025/15/17/image_17082025_15_17_34_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/21/image_17082025_16_21_44_10648.jpg
/home/nano/Desktop/images/17082025/16/21/image_17082025_16_21_14_10668.jpg
/home/nano/Desktop/images/17082025/16/20/image_17082025_16_21_04_9651.jpg
/home/nano/Desktop/images/17082025/16/20/image_17082025_16_20_54_9639.jpg
/home/nano/Desktop/images/17082025/15/17/image_17082025_15_17_44_9636.jpg
/home/nano/Desktop/images/17082025/15/17/image_17082025_15_17_34_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671692","1377671704","1377671694","1377671690","1377671693","1377671696"],"photo_ids_order":["1377671690","1377671692","1377671693","1377671694","1377671696","1377671704"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0dedd4c0dcf13d6f990478e31eaa7024.jpg","text":"TemporaryFile(/tmp/multipartBody1573362101362895378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440569115,"filename":"image_17082025_16_21_14_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f29f5541d928f3c01f912c3fe8608d25.jpg","text":"TemporaryFile(/tmp/multipartBody490299038652989771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440569115,"filename":"image_17082025_15_17_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/49313f34ca74f9d54473812b1ea99679.jpg","text":"TemporaryFile(/tmp/multipartBody3292278826388058999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440569115,"filename":"image_17082025_16_20_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f8157b03e06ac0323f59a404e1804be1.jpg","text":"TemporaryFile(/tmp/multipartBody257433844644847138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440569115,"filename":"image_17082025_16_21_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/28a301df700ad2b9202ef39b5d4ee912.jpg","text":"TemporaryFile(/tmp/multipartBody1168855537495299019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440569115,"filename":"image_17082025_16_21_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/05bf81150859603dff37f1992c1df8ef.jpg","text":"TemporaryFile(/tmp/multipartBody9077147920674516895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440569115,"filename":"image_17082025_15_17_44_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671693","file1":"1377671692","file0":"1377671690","file4":"1377671696","file5":"1377671704","file3":"1377671694"},"map_files_photo_id_array":[{"photo_id":"1377671704","filename":"file5"},{"photo_id":"1377671693","filename":"file2"},{"photo_id":"1377671696","filename":"file4"},{"photo_id":"1377671692","filename":"file1"},{"photo_id":"1377671690","filename":"file0"},{"photo_id":"1377671694","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671692":["hashtag1","hashtag2"]},{"1377671704":["hashtag1","hashtag2"]},{"1377671694":["hashtag1","hashtag2"]},{"1377671690":["hashtag1","hashtag2"]},{"1377671693":["hashtag1","hashtag2"]},{"1377671696":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671692, 1377671704, 1377671694, 1377671690, 1377671693, 1377671696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26260781288147 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:22:32.398187
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/22/image_17082025_16_22_44_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/16/22/image_17082025_16_22_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/16/22/image_17082025_16_22_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/16/21/image_17082025_16_22_04_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/16/21/image_17082025_16_21_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/17/image_17082025_15_17_14_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/22/image_17082025_16_22_44_10664.jpg', '/home/nano/Desktop/images/17082025/16/22/image_17082025_16_22_34_9640.jpg', '/home/nano/Desktop/images/17082025/16/22/image_17082025_16_22_24_9638.jpg', '/home/nano/Desktop/images/17082025/16/21/image_17082025_16_22_04_9662.jpg', '/home/nano/Desktop/images/17082025/16/21/image_17082025_16_21_54_9638.jpg', '/home/nano/Desktop/images/17082025/15/17/image_17082025_15_17_14_9657.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/22/image_17082025_16_22_44_10664.jpg
/home/nano/Desktop/images/17082025/16/22/image_17082025_16_22_34_9640.jpg
/home/nano/Desktop/images/17082025/16/22/image_17082025_16_22_24_9638.jpg
/home/nano/Desktop/images/17082025/16/21/image_17082025_16_22_04_9662.jpg
/home/nano/Desktop/images/17082025/16/21/image_17082025_16_21_54_9638.jpg
/home/nano/Desktop/images/17082025/15/17/image_17082025_15_17_14_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671713","1377671722","1377671716","1377671725","1377671718","1377671727"],"photo_ids_order":["1377671713","1377671716","1377671718","1377671722","1377671725","1377671727"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9393a91100f35b575600c313b25029c8.jpg","text":"TemporaryFile(/tmp/multipartBody7889489292368931926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440614308,"filename":"image_17082025_16_22_44_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bb64428641bed6333db60d850ac90f22.jpg","text":"TemporaryFile(/tmp/multipartBody3571318036263199557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440614308,"filename":"image_17082025_16_22_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8e0779ae840f8baee1c174a177bc4c59.jpg","text":"TemporaryFile(/tmp/multipartBody1314093083172037050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440614308,"filename":"image_17082025_16_22_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0c9ba9d8f3948d290ebf4ab92d8667b8.jpg","text":"TemporaryFile(/tmp/multipartBody8315300288281263436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440614308,"filename":"image_17082025_16_21_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/83e1632fac9940d0d9902623033e6a77.jpg","text":"TemporaryFile(/tmp/multipartBody4436933621530564089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440614308,"filename":"image_17082025_16_22_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ee83e91d110aa2437b91710c150b70cb.jpg","text":"TemporaryFile(/tmp/multipartBody1269762244070018631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440614308,"filename":"image_17082025_15_17_14_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671718","file1":"1377671716","file0":"1377671713","file4":"1377671725","file5":"1377671727","file3":"1377671722"},"map_files_photo_id_array":[{"photo_id":"1377671727","filename":"file5"},{"photo_id":"1377671718","filename":"file2"},{"photo_id":"1377671725","filename":"file4"},{"photo_id":"1377671716","filename":"file1"},{"photo_id":"1377671713","filename":"file0"},{"photo_id":"1377671722","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671713":["hashtag1","hashtag2"]},{"1377671722":["hashtag1","hashtag2"]},{"1377671716":["hashtag1","hashtag2"]},{"1377671725":["hashtag1","hashtag2"]},{"1377671718":["hashtag1","hashtag2"]},{"1377671727":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671713, 1377671722, 1377671716, 1377671725, 1377671718, 1377671727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.875155210494995 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:23:17.462592
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/23/image_17082025_16_23_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/16/23/image_17082025_16_23_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/16/22/image_17082025_16_23_05_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/16/22/image_17082025_16_22_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/16/image_17082025_15_17_04_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/15/16/image_17082025_15_16_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/23/image_17082025_16_23_34_10649.jpg', '/home/nano/Desktop/images/17082025/16/23/image_17082025_16_23_24_9636.jpg', '/home/nano/Desktop/images/17082025/16/22/image_17082025_16_23_05_10665.jpg', '/home/nano/Desktop/images/17082025/16/22/image_17082025_16_22_54_9639.jpg', '/home/nano/Desktop/images/17082025/15/16/image_17082025_15_17_04_10648.jpg', '/home/nano/Desktop/images/17082025/15/16/image_17082025_15_16_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/23/image_17082025_16_23_34_10649.jpg
/home/nano/Desktop/images/17082025/16/23/image_17082025_16_23_24_9636.jpg
/home/nano/Desktop/images/17082025/16/22/image_17082025_16_23_05_10665.jpg
/home/nano/Desktop/images/17082025/16/22/image_17082025_16_22_54_9639.jpg
/home/nano/Desktop/images/17082025/15/16/image_17082025_15_17_04_10648.jpg
/home/nano/Desktop/images/17082025/15/16/image_17082025_15_16_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671750","1377671746","1377671749","1377671740","1377671743","1377671751"],"photo_ids_order":["1377671740","1377671743","1377671746","1377671749","1377671750","1377671751"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1ff96b70c971987aa30e941d108245e0.jpg","text":"TemporaryFile(/tmp/multipartBody4566686078790723246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440659417,"filename":"image_17082025_15_17_04_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b6acf19a935ae1acf2fdcb756decf6a3.jpg","text":"TemporaryFile(/tmp/multipartBody5659100745194550795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440659417,"filename":"image_17082025_16_23_05_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3e72b6f6decde79753d947b30bf83113.jpg","text":"TemporaryFile(/tmp/multipartBody490103879612393973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440659417,"filename":"image_17082025_16_22_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9e285cc2762ee45cd5ce278130663613.jpg","text":"TemporaryFile(/tmp/multipartBody6709371401907077288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440659417,"filename":"image_17082025_16_23_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3af26fb166a603fd28e9460124470bb7.jpg","text":"TemporaryFile(/tmp/multipartBody7069209829657934969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440659417,"filename":"image_17082025_16_23_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2f9fd2a59502488eb0a9efdfed47beca.jpg","text":"TemporaryFile(/tmp/multipartBody4790172616465717597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440659417,"filename":"image_17082025_15_16_54_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671746","file1":"1377671743","file0":"1377671740","file4":"1377671750","file5":"1377671751","file3":"1377671749"},"map_files_photo_id_array":[{"photo_id":"1377671751","filename":"file5"},{"photo_id":"1377671746","filename":"file2"},{"photo_id":"1377671750","filename":"file4"},{"photo_id":"1377671743","filename":"file1"},{"photo_id":"1377671740","filename":"file0"},{"photo_id":"1377671749","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671750":["hashtag1","hashtag2"]},{"1377671746":["hashtag1","hashtag2"]},{"1377671749":["hashtag1","hashtag2"]},{"1377671740":["hashtag1","hashtag2"]},{"1377671743":["hashtag1","hashtag2"]},{"1377671751":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671750, 1377671746, 1377671749, 1377671740, 1377671743, 1377671751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.667006731033325 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:24:03.467153
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/16/image_17082025_15_16_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/15/16/image_17082025_15_16_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/15/15/image_17082025_15_16_04_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/15/15/image_17082025_15_15_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/15/image_17082025_15_15_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/15/14/image_17082025_15_15_04_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/16/image_17082025_15_16_44_9655.jpg', '/home/nano/Desktop/images/17082025/15/16/image_17082025_15_16_24_9655.jpg', '/home/nano/Desktop/images/17082025/15/15/image_17082025_15_16_04_10650.jpg', '/home/nano/Desktop/images/17082025/15/15/image_17082025_15_15_54_9638.jpg', '/home/nano/Desktop/images/17082025/15/15/image_17082025_15_15_34_10648.jpg', '/home/nano/Desktop/images/17082025/15/14/image_17082025_15_15_04_10654.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/16/image_17082025_15_16_44_9655.jpg
/home/nano/Desktop/images/17082025/15/16/image_17082025_15_16_24_9655.jpg
/home/nano/Desktop/images/17082025/15/15/image_17082025_15_16_04_10650.jpg
/home/nano/Desktop/images/17082025/15/15/image_17082025_15_15_54_9638.jpg
/home/nano/Desktop/images/17082025/15/15/image_17082025_15_15_34_10648.jpg
/home/nano/Desktop/images/17082025/15/14/image_17082025_15_15_04_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671770","1377671772","1377671775","1377671760","1377671780","1377671777"],"photo_ids_order":["1377671760","1377671770","1377671772","1377671775","1377671777","1377671780"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/285cccb21ba4422f2b1a8a9c596bc81c.jpg","text":"TemporaryFile(/tmp/multipartBody1186895520086091227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440705287,"filename":"image_17082025_15_16_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1c36743d1aa1673a7f82ee80eafd5f25.jpg","text":"TemporaryFile(/tmp/multipartBody943480472888643202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440705287,"filename":"image_17082025_15_16_04_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4990c4a23738455f1d0625cb27c73508.jpg","text":"TemporaryFile(/tmp/multipartBody2340332195530911746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440705287,"filename":"image_17082025_15_15_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/74e4578037097532f96a5db2d58c8e1e.jpg","text":"TemporaryFile(/tmp/multipartBody4762632140497125512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440705287,"filename":"image_17082025_15_16_44_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d9d71554f3c136f56230f8f48b58b394.jpg","text":"TemporaryFile(/tmp/multipartBody1706626587247278268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440705287,"filename":"image_17082025_15_15_04_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a10a6bfcc29df121e836e0dcd04a6f3e.jpg","text":"TemporaryFile(/tmp/multipartBody8210298290642024340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440705287,"filename":"image_17082025_15_15_34_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671772","file1":"1377671770","file0":"1377671760","file4":"1377671777","file5":"1377671780","file3":"1377671775"},"map_files_photo_id_array":[{"photo_id":"1377671780","filename":"file5"},{"photo_id":"1377671772","filename":"file2"},{"photo_id":"1377671777","filename":"file4"},{"photo_id":"1377671770","filename":"file1"},{"photo_id":"1377671760","filename":"file0"},{"photo_id":"1377671775","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671770":["hashtag1","hashtag2"]},{"1377671772":["hashtag1","hashtag2"]},{"1377671775":["hashtag1","hashtag2"]},{"1377671760":["hashtag1","hashtag2"]},{"1377671780":["hashtag1","hashtag2"]},{"1377671777":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671770, 1377671772, 1377671775, 1377671760, 1377671780, 1377671777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72437405586243 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:24:47.587012
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/24/image_17082025_16_24_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/16/23/image_17082025_16_24_04_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/16/23/image_17082025_16_23_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/15/14/image_17082025_15_14_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/14/image_17082025_15_14_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/15/14/image_17082025_15_14_34_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/24/image_17082025_16_24_14_9656.jpg', '/home/nano/Desktop/images/17082025/16/23/image_17082025_16_24_04_10662.jpg', '/home/nano/Desktop/images/17082025/16/23/image_17082025_16_23_44_9642.jpg', '/home/nano/Desktop/images/17082025/15/14/image_17082025_15_14_54_9638.jpg', '/home/nano/Desktop/images/17082025/15/14/image_17082025_15_14_44_9636.jpg', '/home/nano/Desktop/images/17082025/15/14/image_17082025_15_14_34_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/24/image_17082025_16_24_14_9656.jpg
/home/nano/Desktop/images/17082025/16/23/image_17082025_16_24_04_10662.jpg
/home/nano/Desktop/images/17082025/16/23/image_17082025_16_23_44_9642.jpg
/home/nano/Desktop/images/17082025/15/14/image_17082025_15_14_54_9638.jpg
/home/nano/Desktop/images/17082025/15/14/image_17082025_15_14_44_9636.jpg
/home/nano/Desktop/images/17082025/15/14/image_17082025_15_14_34_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671785","1377671787","1377671784","1377671798","1377671783","1377671795"],"photo_ids_order":["1377671783","1377671784","1377671785","1377671787","1377671795","1377671798"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cf79f2c94cc826bd286da13cda74e860.jpg","text":"TemporaryFile(/tmp/multipartBody4317858034633364286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440749323,"filename":"image_17082025_16_23_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1b8d4281de6c156b71ef38b0128d5aa8.jpg","text":"TemporaryFile(/tmp/multipartBody3070341822990512871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440749323,"filename":"image_17082025_15_14_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/156813cb9c89f80bc4cbe1e1a58a5c6c.jpg","text":"TemporaryFile(/tmp/multipartBody8429086764553624381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440749323,"filename":"image_17082025_16_24_04_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cf40b8354a901ad9438e37deb2718301.jpg","text":"TemporaryFile(/tmp/multipartBody1589264408509555019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440749323,"filename":"image_17082025_15_14_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/365a181daf431097df46ae8c921c7382.jpg","text":"TemporaryFile(/tmp/multipartBody6032451145642231385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440749323,"filename":"image_17082025_16_24_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/49fc4e1a379f14d76961301e73b978e8.jpg","text":"TemporaryFile(/tmp/multipartBody4494970569084578832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440749323,"filename":"image_17082025_15_14_44_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671785","file1":"1377671784","file0":"1377671783","file4":"1377671795","file5":"1377671798","file3":"1377671787"},"map_files_photo_id_array":[{"photo_id":"1377671798","filename":"file5"},{"photo_id":"1377671785","filename":"file2"},{"photo_id":"1377671795","filename":"file4"},{"photo_id":"1377671784","filename":"file1"},{"photo_id":"1377671783","filename":"file0"},{"photo_id":"1377671787","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671785":["hashtag1","hashtag2"]},{"1377671787":["hashtag1","hashtag2"]},{"1377671784":["hashtag1","hashtag2"]},{"1377671798":["hashtag1","hashtag2"]},{"1377671783":["hashtag1","hashtag2"]},{"1377671795":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671785, 1377671787, 1377671784, 1377671798, 1377671783, 1377671795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20850872993469 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:25:32.697421
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/25/image_17082025_16_25_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/16/25/image_17082025_16_25_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/16/24/image_17082025_16_24_34_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/15/14/image_17082025_15_14_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/15/14/image_17082025_15_14_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/15/13/image_17082025_15_14_05_10661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/25/image_17082025_16_25_44_9640.jpg', '/home/nano/Desktop/images/17082025/16/25/image_17082025_16_25_14_9653.jpg', '/home/nano/Desktop/images/17082025/16/24/image_17082025_16_24_34_10666.jpg', '/home/nano/Desktop/images/17082025/15/14/image_17082025_15_14_24_9655.jpg', '/home/nano/Desktop/images/17082025/15/14/image_17082025_15_14_14_9661.jpg', '/home/nano/Desktop/images/17082025/15/13/image_17082025_15_14_05_10661.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/25/image_17082025_16_25_44_9640.jpg
/home/nano/Desktop/images/17082025/16/25/image_17082025_16_25_14_9653.jpg
/home/nano/Desktop/images/17082025/16/24/image_17082025_16_24_34_10666.jpg
/home/nano/Desktop/images/17082025/15/14/image_17082025_15_14_24_9655.jpg
/home/nano/Desktop/images/17082025/15/14/image_17082025_15_14_14_9661.jpg
/home/nano/Desktop/images/17082025/15/13/image_17082025_15_14_05_10661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671810","1377671807","1377671812","1377671809","1377671811","1377671808"],"photo_ids_order":["1377671807","1377671808","1377671809","1377671810","1377671811","1377671812"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b55625b5e02d809d03617f09e0b19017.jpg","text":"TemporaryFile(/tmp/multipartBody4428119323355393579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440794320,"filename":"image_17082025_15_14_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c12fa33ae1fdf3767011d68180270790.jpg","text":"TemporaryFile(/tmp/multipartBody6444668380895096575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440794320,"filename":"image_17082025_16_25_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d6014f7b56b3283bc6201d23a674e6b2.jpg","text":"TemporaryFile(/tmp/multipartBody6420511043924656026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440794320,"filename":"image_17082025_15_14_05_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ddb7b165813692488fbd4e50738099bd.jpg","text":"TemporaryFile(/tmp/multipartBody3230775789823309940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440794320,"filename":"image_17082025_16_24_34_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bb8d6392c7881370ca62e44fa7c438f9.jpg","text":"TemporaryFile(/tmp/multipartBody4096005155735780946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440794320,"filename":"image_17082025_15_14_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/207aaa939237f93dd5869e16e4a891c9.jpg","text":"TemporaryFile(/tmp/multipartBody3659678574411686186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440794320,"filename":"image_17082025_16_25_14_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671809","file1":"1377671808","file0":"1377671807","file4":"1377671811","file5":"1377671812","file3":"1377671810"},"map_files_photo_id_array":[{"photo_id":"1377671812","filename":"file5"},{"photo_id":"1377671809","filename":"file2"},{"photo_id":"1377671811","filename":"file4"},{"photo_id":"1377671808","filename":"file1"},{"photo_id":"1377671807","filename":"file0"},{"photo_id":"1377671810","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671810":["hashtag1","hashtag2"]},{"1377671807":["hashtag1","hashtag2"]},{"1377671812":["hashtag1","hashtag2"]},{"1377671809":["hashtag1","hashtag2"]},{"1377671811":["hashtag1","hashtag2"]},{"1377671808":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671810, 1377671807, 1377671812, 1377671809, 1377671811, 1377671808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6462607383728 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:26:16.835981
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/26/image_17082025_16_26_44_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/16/26/image_17082025_16_26_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/16/26/image_17082025_16_26_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/16/26/image_17082025_16_26_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/16/25/image_17082025_16_26_04_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/16/25/image_17082025_16_25_54_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/26/image_17082025_16_26_44_9656.jpg', '/home/nano/Desktop/images/17082025/16/26/image_17082025_16_26_34_10650.jpg', '/home/nano/Desktop/images/17082025/16/26/image_17082025_16_26_24_9637.jpg', '/home/nano/Desktop/images/17082025/16/26/image_17082025_16_26_14_9657.jpg', '/home/nano/Desktop/images/17082025/16/25/image_17082025_16_26_04_10662.jpg', '/home/nano/Desktop/images/17082025/16/25/image_17082025_16_25_54_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/26/image_17082025_16_26_44_9656.jpg
/home/nano/Desktop/images/17082025/16/26/image_17082025_16_26_34_10650.jpg
/home/nano/Desktop/images/17082025/16/26/image_17082025_16_26_24_9637.jpg
/home/nano/Desktop/images/17082025/16/26/image_17082025_16_26_14_9657.jpg
/home/nano/Desktop/images/17082025/16/25/image_17082025_16_26_04_10662.jpg
/home/nano/Desktop/images/17082025/16/25/image_17082025_16_25_54_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671837","1377671825","1377671833","1377671836","1377671838","1377671829"],"photo_ids_order":["1377671825","1377671829","1377671833","1377671836","1377671837","1377671838"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/890a0a29b04536c315cded8e0b8b4a2c.jpg","text":"TemporaryFile(/tmp/multipartBody5960878840929056143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440838436,"filename":"image_17082025_16_26_04_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/237d4d443058791b4cc5ea6966564462.jpg","text":"TemporaryFile(/tmp/multipartBody1514298186054953371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440838436,"filename":"image_17082025_16_26_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/57a940188ec3c62868ed0151e81f24f3.jpg","text":"TemporaryFile(/tmp/multipartBody8568619574767284808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440838436,"filename":"image_17082025_16_26_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/20000b8c10d68b3ce207d9b18184a1ca.jpg","text":"TemporaryFile(/tmp/multipartBody6660312249919804579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440838436,"filename":"image_17082025_16_26_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ca232baa86e251069576e942e885cd35.jpg","text":"TemporaryFile(/tmp/multipartBody1793949568201811268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440838436,"filename":"image_17082025_16_25_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c9d07d6c4430d6cda70eda184b766f4a.jpg","text":"TemporaryFile(/tmp/multipartBody7685765776193939571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440838436,"filename":"image_17082025_16_26_34_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671833","file1":"1377671829","file0":"1377671825","file4":"1377671837","file5":"1377671838","file3":"1377671836"},"map_files_photo_id_array":[{"photo_id":"1377671838","filename":"file5"},{"photo_id":"1377671833","filename":"file2"},{"photo_id":"1377671837","filename":"file4"},{"photo_id":"1377671829","filename":"file1"},{"photo_id":"1377671825","filename":"file0"},{"photo_id":"1377671836","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671837":["hashtag1","hashtag2"]},{"1377671825":["hashtag1","hashtag2"]},{"1377671833":["hashtag1","hashtag2"]},{"1377671836":["hashtag1","hashtag2"]},{"1377671838":["hashtag1","hashtag2"]},{"1377671829":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671837, 1377671825, 1377671833, 1377671836, 1377671838, 1377671829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.875603914260864 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:27:02.621861
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/13/image_17082025_15_13_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/13/image_17082025_15_13_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/15/13/image_17082025_15_13_34_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/15/13/image_17082025_15_13_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/15/13/image_17082025_15_13_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/15/12/image_17082025_15_13_04_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/13/image_17082025_15_13_54_9639.jpg', '/home/nano/Desktop/images/17082025/15/13/image_17082025_15_13_44_10649.jpg', '/home/nano/Desktop/images/17082025/15/13/image_17082025_15_13_34_9656.jpg', '/home/nano/Desktop/images/17082025/15/13/image_17082025_15_13_24_9641.jpg', '/home/nano/Desktop/images/17082025/15/13/image_17082025_15_13_14_10669.jpg', '/home/nano/Desktop/images/17082025/15/12/image_17082025_15_13_04_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/13/image_17082025_15_13_54_9639.jpg
/home/nano/Desktop/images/17082025/15/13/image_17082025_15_13_44_10649.jpg
/home/nano/Desktop/images/17082025/15/13/image_17082025_15_13_34_9656.jpg
/home/nano/Desktop/images/17082025/15/13/image_17082025_15_13_24_9641.jpg
/home/nano/Desktop/images/17082025/15/13/image_17082025_15_13_14_10669.jpg
/home/nano/Desktop/images/17082025/15/12/image_17082025_15_13_04_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671858","1377671842","1377671864","1377671846","1377671861","1377671855"],"photo_ids_order":["1377671842","1377671846","1377671855","1377671858","1377671861","1377671864"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/806bcf04533dc1f486b96ed8eab01433.jpg","text":"TemporaryFile(/tmp/multipartBody7877709981844883750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440884273,"filename":"image_17082025_15_13_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b2af9f8cb79be49946fbf409bb4ce761.jpg","text":"TemporaryFile(/tmp/multipartBody8226686902190453805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440884273,"filename":"image_17082025_15_13_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3a9abddfa6e05539719b91de02c0a8bb.jpg","text":"TemporaryFile(/tmp/multipartBody2462030328158432762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440884273,"filename":"image_17082025_15_13_04_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3062fa4b84b36fdc18a9effa9488375f.jpg","text":"TemporaryFile(/tmp/multipartBody6198439894771644288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440884273,"filename":"image_17082025_15_13_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/23458340f33ae35b228b35a9fea6fa80.jpg","text":"TemporaryFile(/tmp/multipartBody9152771741044294066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440884273,"filename":"image_17082025_15_13_14_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/89a38ff0b2a4f9e31569b3f3b68f3a4d.jpg","text":"TemporaryFile(/tmp/multipartBody6559884402394659526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440884273,"filename":"image_17082025_15_13_34_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671855","file1":"1377671846","file0":"1377671842","file4":"1377671861","file5":"1377671864","file3":"1377671858"},"map_files_photo_id_array":[{"photo_id":"1377671864","filename":"file5"},{"photo_id":"1377671855","filename":"file2"},{"photo_id":"1377671861","filename":"file4"},{"photo_id":"1377671846","filename":"file1"},{"photo_id":"1377671842","filename":"file0"},{"photo_id":"1377671858","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671858":["hashtag1","hashtag2"]},{"1377671842":["hashtag1","hashtag2"]},{"1377671864":["hashtag1","hashtag2"]},{"1377671846":["hashtag1","hashtag2"]},{"1377671861":["hashtag1","hashtag2"]},{"1377671855":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671858, 1377671842, 1377671864, 1377671846, 1377671861, 1377671855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.478808879852295 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:27:46.925703
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/27/image_17082025_16_27_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/16/27/image_17082025_16_27_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/16/27/image_17082025_16_27_14_9686.jpg', 2), ('/home/nano/Desktop/images/17082025/16/26/image_17082025_16_27_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/16/26/image_17082025_16_26_54_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/15/12/image_17082025_15_12_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/27/image_17082025_16_27_34_9640.jpg', '/home/nano/Desktop/images/17082025/16/27/image_17082025_16_27_24_10650.jpg', '/home/nano/Desktop/images/17082025/16/27/image_17082025_16_27_14_9686.jpg', '/home/nano/Desktop/images/17082025/16/26/image_17082025_16_27_04_9645.jpg', '/home/nano/Desktop/images/17082025/16/26/image_17082025_16_26_54_10645.jpg', '/home/nano/Desktop/images/17082025/15/12/image_17082025_15_12_54_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/27/image_17082025_16_27_34_9640.jpg
/home/nano/Desktop/images/17082025/16/27/image_17082025_16_27_24_10650.jpg
/home/nano/Desktop/images/17082025/16/27/image_17082025_16_27_14_9686.jpg
/home/nano/Desktop/images/17082025/16/26/image_17082025_16_27_04_9645.jpg
/home/nano/Desktop/images/17082025/16/26/image_17082025_16_26_54_10645.jpg
/home/nano/Desktop/images/17082025/15/12/image_17082025_15_12_54_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671872","1377671889","1377671874","1377671879","1377671870","1377671876"],"photo_ids_order":["1377671870","1377671872","1377671874","1377671876","1377671879","1377671889"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/836de34de9cbf5e8e9e5159822e2903f.jpg","text":"TemporaryFile(/tmp/multipartBody7537052126658872690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440928703,"filename":"image_17082025_16_27_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c88fbdebd0b403f7951bf5551e8c32b2.jpg","text":"TemporaryFile(/tmp/multipartBody9104873943340740061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440928703,"filename":"image_17082025_15_12_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ac8bab00da217ef118e81839e56d412d.jpg","text":"TemporaryFile(/tmp/multipartBody7313081818788167836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440928703,"filename":"image_17082025_16_27_14_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/51ab2a0e3abc869a01d6f82714901c99.jpg","text":"TemporaryFile(/tmp/multipartBody8366741393002742672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440928703,"filename":"image_17082025_16_26_54_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7c05589d9ba19682faff27e0e40511af.jpg","text":"TemporaryFile(/tmp/multipartBody5651868895332060565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440928703,"filename":"image_17082025_16_27_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0261bcaafccc7a4bc8677b4208022511.jpg","text":"TemporaryFile(/tmp/multipartBody6884717606757626859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440928703,"filename":"image_17082025_16_27_04_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671874","file1":"1377671872","file0":"1377671870","file4":"1377671879","file5":"1377671889","file3":"1377671876"},"map_files_photo_id_array":[{"photo_id":"1377671889","filename":"file5"},{"photo_id":"1377671874","filename":"file2"},{"photo_id":"1377671879","filename":"file4"},{"photo_id":"1377671872","filename":"file1"},{"photo_id":"1377671870","filename":"file0"},{"photo_id":"1377671876","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671872":["hashtag1","hashtag2"]},{"1377671889":["hashtag1","hashtag2"]},{"1377671874":["hashtag1","hashtag2"]},{"1377671879":["hashtag1","hashtag2"]},{"1377671870":["hashtag1","hashtag2"]},{"1377671876":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671872, 1377671889, 1377671874, 1377671879, 1377671870, 1377671876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.702033042907715 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:28:32.029879
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/28/image_17082025_16_28_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/16/28/image_17082025_16_28_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/16/27/image_17082025_16_28_04_9667.jpg', 2), ('/home/nano/Desktop/images/17082025/16/27/image_17082025_16_27_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/12/image_17082025_15_12_44_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/15/12/image_17082025_15_12_34_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/28/image_17082025_16_28_44_9655.jpg', '/home/nano/Desktop/images/17082025/16/28/image_17082025_16_28_34_9638.jpg', '/home/nano/Desktop/images/17082025/16/27/image_17082025_16_28_04_9667.jpg', '/home/nano/Desktop/images/17082025/16/27/image_17082025_16_27_54_10647.jpg', '/home/nano/Desktop/images/17082025/15/12/image_17082025_15_12_44_10665.jpg', '/home/nano/Desktop/images/17082025/15/12/image_17082025_15_12_34_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/28/image_17082025_16_28_44_9655.jpg
/home/nano/Desktop/images/17082025/16/28/image_17082025_16_28_34_9638.jpg
/home/nano/Desktop/images/17082025/16/27/image_17082025_16_28_04_9667.jpg
/home/nano/Desktop/images/17082025/16/27/image_17082025_16_27_54_10647.jpg
/home/nano/Desktop/images/17082025/15/12/image_17082025_15_12_44_10665.jpg
/home/nano/Desktop/images/17082025/15/12/image_17082025_15_12_34_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671909","1377671908","1377671902","1377671905","1377671904","1377671907"],"photo_ids_order":["1377671902","1377671904","1377671905","1377671907","1377671908","1377671909"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d860a755142a7a0ea160fd2046e3feba.jpg","text":"TemporaryFile(/tmp/multipartBody7332103863271330270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440973852,"filename":"image_17082025_15_12_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/30e2bcc6132954ca5b878ba6c6e83cb5.jpg","text":"TemporaryFile(/tmp/multipartBody6804460323555626031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440973852,"filename":"image_17082025_15_12_44_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/861b3bb43a2b0f63335b0bd4c56d5bf1.jpg","text":"TemporaryFile(/tmp/multipartBody1289418420681960313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440973852,"filename":"image_17082025_16_28_44_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d289ec53ba2cbfa89c34929aca65079b.jpg","text":"TemporaryFile(/tmp/multipartBody718181738722520387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440973852,"filename":"image_17082025_16_28_04_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/50765eb10981d9f6c20c951e6241c93d.jpg","text":"TemporaryFile(/tmp/multipartBody659568412888370823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440973852,"filename":"image_17082025_16_28_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b8ee1c931dc0d25777c8ff6679850fb4.jpg","text":"TemporaryFile(/tmp/multipartBody44206210118139341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755440973852,"filename":"image_17082025_16_27_54_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671905","file1":"1377671904","file0":"1377671902","file4":"1377671908","file5":"1377671909","file3":"1377671907"},"map_files_photo_id_array":[{"photo_id":"1377671909","filename":"file5"},{"photo_id":"1377671905","filename":"file2"},{"photo_id":"1377671908","filename":"file4"},{"photo_id":"1377671904","filename":"file1"},{"photo_id":"1377671902","filename":"file0"},{"photo_id":"1377671907","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671909":["hashtag1","hashtag2"]},{"1377671908":["hashtag1","hashtag2"]},{"1377671902":["hashtag1","hashtag2"]},{"1377671905":["hashtag1","hashtag2"]},{"1377671904":["hashtag1","hashtag2"]},{"1377671907":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671909, 1377671908, 1377671902, 1377671905, 1377671904, 1377671907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.100077629089355 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:29:17.182159
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/29/image_17082025_16_29_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/16/29/image_17082025_16_29_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/16/29/image_17082025_16_29_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/16/28/image_17082025_16_29_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/16/28/image_17082025_16_28_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/15/12/image_17082025_15_12_24_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/29/image_17082025_16_29_44_9640.jpg', '/home/nano/Desktop/images/17082025/16/29/image_17082025_16_29_24_10648.jpg', '/home/nano/Desktop/images/17082025/16/29/image_17082025_16_29_14_9657.jpg', '/home/nano/Desktop/images/17082025/16/28/image_17082025_16_29_04_9646.jpg', '/home/nano/Desktop/images/17082025/16/28/image_17082025_16_28_54_10648.jpg', '/home/nano/Desktop/images/17082025/15/12/image_17082025_15_12_24_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/29/image_17082025_16_29_44_9640.jpg
/home/nano/Desktop/images/17082025/16/29/image_17082025_16_29_24_10648.jpg
/home/nano/Desktop/images/17082025/16/29/image_17082025_16_29_14_9657.jpg
/home/nano/Desktop/images/17082025/16/28/image_17082025_16_29_04_9646.jpg
/home/nano/Desktop/images/17082025/16/28/image_17082025_16_28_54_10648.jpg
/home/nano/Desktop/images/17082025/15/12/image_17082025_15_12_24_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671930","1377671926","1377671935","1377671923","1377671937","1377671933"],"photo_ids_order":["1377671923","1377671926","1377671930","1377671933","1377671935","1377671937"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3868598ed6f5a1a4a17663db80d79092.jpg","text":"TemporaryFile(/tmp/multipartBody3642128956667751448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441018763,"filename":"image_17082025_16_29_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6c7e1a2146c32aa52e24b8f33e18eb89.jpg","text":"TemporaryFile(/tmp/multipartBody1622444232026304582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441018763,"filename":"image_17082025_16_29_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/343999216a3d0f9b2f3735cbc53e5925.jpg","text":"TemporaryFile(/tmp/multipartBody4502712985276815928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441018763,"filename":"image_17082025_16_28_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a383db4506efe790f7e49073cb4a6d89.jpg","text":"TemporaryFile(/tmp/multipartBody8868467000329098264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441018763,"filename":"image_17082025_16_29_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f21888780adb6fafcf817c9be0908f0f.jpg","text":"TemporaryFile(/tmp/multipartBody5840212750663024762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441018763,"filename":"image_17082025_15_12_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5e70db871a5fe9e2963b2795b5e998fa.jpg","text":"TemporaryFile(/tmp/multipartBody1168117325420206691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441018763,"filename":"image_17082025_16_29_04_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671930","file1":"1377671926","file0":"1377671923","file4":"1377671935","file5":"1377671937","file3":"1377671933"},"map_files_photo_id_array":[{"photo_id":"1377671937","filename":"file5"},{"photo_id":"1377671930","filename":"file2"},{"photo_id":"1377671935","filename":"file4"},{"photo_id":"1377671926","filename":"file1"},{"photo_id":"1377671923","filename":"file0"},{"photo_id":"1377671933","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671930":["hashtag1","hashtag2"]},{"1377671926":["hashtag1","hashtag2"]},{"1377671935":["hashtag1","hashtag2"]},{"1377671923":["hashtag1","hashtag2"]},{"1377671937":["hashtag1","hashtag2"]},{"1377671933":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671930, 1377671926, 1377671935, 1377671923, 1377671937, 1377671933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.936901569366455 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:30:02.929140
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/12/image_17082025_15_12_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/15/11/image_17082025_15_12_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/15/11/image_17082025_15_11_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/15/11/image_17082025_15_11_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/11/image_17082025_15_11_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/11/image_17082025_15_11_24_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/12/image_17082025_15_12_14_10668.jpg', '/home/nano/Desktop/images/17082025/15/11/image_17082025_15_12_04_9654.jpg', '/home/nano/Desktop/images/17082025/15/11/image_17082025_15_11_54_9641.jpg', '/home/nano/Desktop/images/17082025/15/11/image_17082025_15_11_44_10647.jpg', '/home/nano/Desktop/images/17082025/15/11/image_17082025_15_11_34_9637.jpg', '/home/nano/Desktop/images/17082025/15/11/image_17082025_15_11_24_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/12/image_17082025_15_12_14_10668.jpg
/home/nano/Desktop/images/17082025/15/11/image_17082025_15_12_04_9654.jpg
/home/nano/Desktop/images/17082025/15/11/image_17082025_15_11_54_9641.jpg
/home/nano/Desktop/images/17082025/15/11/image_17082025_15_11_44_10647.jpg
/home/nano/Desktop/images/17082025/15/11/image_17082025_15_11_34_9637.jpg
/home/nano/Desktop/images/17082025/15/11/image_17082025_15_11_24_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671959","1377671949","1377671963","1377671966","1377671945","1377671969"],"photo_ids_order":["1377671945","1377671949","1377671959","1377671963","1377671966","1377671969"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9d403b8734e04e90ce73ddc4326b8b17.jpg","text":"TemporaryFile(/tmp/multipartBody244871184458692052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441064627,"filename":"image_17082025_15_11_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b05c92a744c3866130f36ba29444fd55.jpg","text":"TemporaryFile(/tmp/multipartBody5110660520985797309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441064627,"filename":"image_17082025_15_12_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/639a9433f3979de80dffac53c03226d2.jpg","text":"TemporaryFile(/tmp/multipartBody3470570674280278782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441064627,"filename":"image_17082025_15_11_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cf16eab3469c153c560feb636f92a669.jpg","text":"TemporaryFile(/tmp/multipartBody2390048308809388052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441064627,"filename":"image_17082025_15_11_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/811d11adc633709176fad914abbd2440.jpg","text":"TemporaryFile(/tmp/multipartBody7514544640610747248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441064627,"filename":"image_17082025_15_12_14_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ddfccb4b06f99a2991b42595a696c6cd.jpg","text":"TemporaryFile(/tmp/multipartBody91500403834872361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441064627,"filename":"image_17082025_15_11_24_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671959","file1":"1377671949","file0":"1377671945","file4":"1377671966","file5":"1377671969","file3":"1377671963"},"map_files_photo_id_array":[{"photo_id":"1377671969","filename":"file5"},{"photo_id":"1377671959","filename":"file2"},{"photo_id":"1377671966","filename":"file4"},{"photo_id":"1377671949","filename":"file1"},{"photo_id":"1377671945","filename":"file0"},{"photo_id":"1377671963","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671959":["hashtag1","hashtag2"]},{"1377671949":["hashtag1","hashtag2"]},{"1377671963":["hashtag1","hashtag2"]},{"1377671966":["hashtag1","hashtag2"]},{"1377671945":["hashtag1","hashtag2"]},{"1377671969":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671959, 1377671949, 1377671963, 1377671966, 1377671945, 1377671969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.801578760147095 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:30:47.273332
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_15_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/16/29/image_17082025_16_30_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/16/29/image_17082025_16_29_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_44_10648.jpg', '/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_34_9639.jpg', '/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_24_9637.jpg', '/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_15_10666.jpg', '/home/nano/Desktop/images/17082025/16/29/image_17082025_16_30_04_9647.jpg', '/home/nano/Desktop/images/17082025/16/29/image_17082025_16_29_54_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_44_10648.jpg
/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_34_9639.jpg
/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_24_9637.jpg
/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_15_10666.jpg
/home/nano/Desktop/images/17082025/16/29/image_17082025_16_30_04_9647.jpg
/home/nano/Desktop/images/17082025/16/29/image_17082025_16_29_54_10647.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2314767837524414 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:31:03.095743
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/31/image_17082025_16_31_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_15_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/16/29/image_17082025_16_30_04_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/31/image_17082025_16_31_44_10648.jpg', '/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_44_10648.jpg', '/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_34_9639.jpg', '/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_24_9637.jpg', '/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_15_10666.jpg', '/home/nano/Desktop/images/17082025/16/29/image_17082025_16_30_04_9647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/31/image_17082025_16_31_44_10648.jpg
/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_44_10648.jpg
/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_34_9639.jpg
/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_24_9637.jpg
/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_15_10666.jpg
/home/nano/Desktop/images/17082025/16/29/image_17082025_16_30_04_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377671991","1377671985","1377671996","1377671999","1377671978","1377671993"],"photo_ids_order":["1377671978","1377671985","1377671991","1377671993","1377671996","1377671999"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/28735d07614c56c350f6778a5704810d.jpg","text":"TemporaryFile(/tmp/multipartBody7024584627086029255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441124518,"filename":"image_17082025_16_30_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6867d0c351758365454df2e9f85660b2.jpg","text":"TemporaryFile(/tmp/multipartBody7934561397051247763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441124518,"filename":"image_17082025_16_30_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b0bc6ed81c0679919870fcb586473f73.jpg","text":"TemporaryFile(/tmp/multipartBody6456104648083527425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441124518,"filename":"image_17082025_16_30_15_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/49174862076e1e38bdb7c2cd6e5df4f7.jpg","text":"TemporaryFile(/tmp/multipartBody3006025617994178319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441124518,"filename":"image_17082025_16_30_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5030db652eb44f36738a194e987e3c2a.jpg","text":"TemporaryFile(/tmp/multipartBody4613688022209803075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441124518,"filename":"image_17082025_16_31_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b698beab410da32cf2df7817e2ed8d7c.jpg","text":"TemporaryFile(/tmp/multipartBody3616575706446783863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441124518,"filename":"image_17082025_16_30_24_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377671991","file1":"1377671985","file0":"1377671978","file4":"1377671996","file5":"1377671999","file3":"1377671993"},"map_files_photo_id_array":[{"photo_id":"1377671999","filename":"file5"},{"photo_id":"1377671991","filename":"file2"},{"photo_id":"1377671996","filename":"file4"},{"photo_id":"1377671985","filename":"file1"},{"photo_id":"1377671978","filename":"file0"},{"photo_id":"1377671993","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377671991":["hashtag1","hashtag2"]},{"1377671985":["hashtag1","hashtag2"]},{"1377671996":["hashtag1","hashtag2"]},{"1377671999":["hashtag1","hashtag2"]},{"1377671978":["hashtag1","hashtag2"]},{"1377671993":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377671991, 1377671985, 1377671996, 1377671999, 1377671978, 1377671993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.892651081085205 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:31:47.396931
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/31/image_17082025_16_31_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/16/31/image_17082025_16_31_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/16/29/image_17082025_16_29_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/11/image_17082025_15_11_14_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/15/10/image_17082025_15_11_04_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/31/image_17082025_16_31_24_9638.jpg', '/home/nano/Desktop/images/17082025/16/31/image_17082025_16_31_14_10667.jpg', '/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_54_9637.jpg', '/home/nano/Desktop/images/17082025/16/29/image_17082025_16_29_54_10647.jpg', '/home/nano/Desktop/images/17082025/15/11/image_17082025_15_11_14_10670.jpg', '/home/nano/Desktop/images/17082025/15/10/image_17082025_15_11_04_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/31/image_17082025_16_31_24_9638.jpg
/home/nano/Desktop/images/17082025/16/31/image_17082025_16_31_14_10667.jpg
/home/nano/Desktop/images/17082025/16/30/image_17082025_16_30_54_9637.jpg
/home/nano/Desktop/images/17082025/16/29/image_17082025_16_29_54_10647.jpg
/home/nano/Desktop/images/17082025/15/11/image_17082025_15_11_14_10670.jpg
/home/nano/Desktop/images/17082025/15/10/image_17082025_15_11_04_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672011","1377672005","1377672007","1377672016","1377672004","1377672006"],"photo_ids_order":["1377672004","1377672005","1377672006","1377672007","1377672011","1377672016"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/033e68e066233dd6d2da3696f1c9eed7.jpg","text":"TemporaryFile(/tmp/multipartBody7511665013735025025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441169170,"filename":"image_17082025_15_11_14_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0ac73193c3ef9ad1bf2a10719cc710c9.jpg","text":"TemporaryFile(/tmp/multipartBody8562382750884150478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441169170,"filename":"image_17082025_16_31_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/96d3b288b5854ca84573b5afa5650493.jpg","text":"TemporaryFile(/tmp/multipartBody4949543262841579429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441169170,"filename":"image_17082025_16_29_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3bd089b93e4ca7423dd94cde80717029.jpg","text":"TemporaryFile(/tmp/multipartBody6099027879463404695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441169170,"filename":"image_17082025_15_11_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0c92278d877175c74ecd872576514fbc.jpg","text":"TemporaryFile(/tmp/multipartBody1109025010611105547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441169170,"filename":"image_17082025_16_31_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/67075e460eba0c3eb0b9140697152fab.jpg","text":"TemporaryFile(/tmp/multipartBody645368669195939665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441169170,"filename":"image_17082025_16_30_54_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672006","file1":"1377672005","file0":"1377672004","file4":"1377672011","file5":"1377672016","file3":"1377672007"},"map_files_photo_id_array":[{"photo_id":"1377672016","filename":"file5"},{"photo_id":"1377672006","filename":"file2"},{"photo_id":"1377672011","filename":"file4"},{"photo_id":"1377672005","filename":"file1"},{"photo_id":"1377672004","filename":"file0"},{"photo_id":"1377672007","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672011":["hashtag1","hashtag2"]},{"1377672005":["hashtag1","hashtag2"]},{"1377672007":["hashtag1","hashtag2"]},{"1377672016":["hashtag1","hashtag2"]},{"1377672004":["hashtag1","hashtag2"]},{"1377672006":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672011, 1377672005, 1377672007, 1377672016, 1377672004, 1377672006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48787760734558 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:32:32.486748
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/32/image_17082025_16_32_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/16/32/image_17082025_16_32_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/16/32/image_17082025_16_32_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/16/32/image_17082025_16_32_14_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/16/31/image_17082025_16_32_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/16/31/image_17082025_16_31_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/32/image_17082025_16_32_44_10649.jpg', '/home/nano/Desktop/images/17082025/16/32/image_17082025_16_32_34_9639.jpg', '/home/nano/Desktop/images/17082025/16/32/image_17082025_16_32_24_9641.jpg', '/home/nano/Desktop/images/17082025/16/32/image_17082025_16_32_14_10674.jpg', '/home/nano/Desktop/images/17082025/16/31/image_17082025_16_32_04_9654.jpg', '/home/nano/Desktop/images/17082025/16/31/image_17082025_16_31_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/32/image_17082025_16_32_44_10649.jpg
/home/nano/Desktop/images/17082025/16/32/image_17082025_16_32_34_9639.jpg
/home/nano/Desktop/images/17082025/16/32/image_17082025_16_32_24_9641.jpg
/home/nano/Desktop/images/17082025/16/32/image_17082025_16_32_14_10674.jpg
/home/nano/Desktop/images/17082025/16/31/image_17082025_16_32_04_9654.jpg
/home/nano/Desktop/images/17082025/16/31/image_17082025_16_31_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672037","1377672030","1377672027","1377672032","1377672035","1377672038"],"photo_ids_order":["1377672027","1377672030","1377672032","1377672035","1377672037","1377672038"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e15fa279c7588c03498ca4c9d59e5678.jpg","text":"TemporaryFile(/tmp/multipartBody4832896072504032846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441214340,"filename":"image_17082025_16_32_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6bd77a53c2b232a535b7cd6b315f16b0.jpg","text":"TemporaryFile(/tmp/multipartBody7677959907344023100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441214340,"filename":"image_17082025_16_32_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/14f988c2da65bfb4ec36d3d8534bcc00.jpg","text":"TemporaryFile(/tmp/multipartBody714690869677811377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441214340,"filename":"image_17082025_16_32_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4c0c079470e00888e6f6355b2ae55f97.jpg","text":"TemporaryFile(/tmp/multipartBody2181304739807246163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441214340,"filename":"image_17082025_16_32_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5cb76abb878d47b04d9c8a0ac194b5cc.jpg","text":"TemporaryFile(/tmp/multipartBody2971069434168428618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441214340,"filename":"image_17082025_16_32_14_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dd3ada9a656f0b5fb717a2af307b3ee4.jpg","text":"TemporaryFile(/tmp/multipartBody6281583448458934617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441214340,"filename":"image_17082025_16_31_54_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672032","file1":"1377672030","file0":"1377672027","file4":"1377672037","file5":"1377672038","file3":"1377672035"},"map_files_photo_id_array":[{"photo_id":"1377672038","filename":"file5"},{"photo_id":"1377672032","filename":"file2"},{"photo_id":"1377672037","filename":"file4"},{"photo_id":"1377672030","filename":"file1"},{"photo_id":"1377672027","filename":"file0"},{"photo_id":"1377672035","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672037":["hashtag1","hashtag2"]},{"1377672030":["hashtag1","hashtag2"]},{"1377672027":["hashtag1","hashtag2"]},{"1377672032":["hashtag1","hashtag2"]},{"1377672035":["hashtag1","hashtag2"]},{"1377672038":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672037, 1377672030, 1377672027, 1377672032, 1377672035, 1377672038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04860973358154 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:33:17.616154
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/33/image_17082025_16_33_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/16/33/image_17082025_16_33_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/16/33/image_17082025_16_33_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/16/32/image_17082025_16_33_05_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/16/32/image_17082025_16_32_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/10/image_17082025_15_10_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/33/image_17082025_16_33_34_10649.jpg', '/home/nano/Desktop/images/17082025/16/33/image_17082025_16_33_24_9638.jpg', '/home/nano/Desktop/images/17082025/16/33/image_17082025_16_33_14_9658.jpg', '/home/nano/Desktop/images/17082025/16/32/image_17082025_16_33_05_10672.jpg', '/home/nano/Desktop/images/17082025/16/32/image_17082025_16_32_54_9637.jpg', '/home/nano/Desktop/images/17082025/15/10/image_17082025_15_10_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/33/image_17082025_16_33_34_10649.jpg
/home/nano/Desktop/images/17082025/16/33/image_17082025_16_33_24_9638.jpg
/home/nano/Desktop/images/17082025/16/33/image_17082025_16_33_14_9658.jpg
/home/nano/Desktop/images/17082025/16/32/image_17082025_16_33_05_10672.jpg
/home/nano/Desktop/images/17082025/16/32/image_17082025_16_32_54_9637.jpg
/home/nano/Desktop/images/17082025/15/10/image_17082025_15_10_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672055","1377672049","1377672052","1377672051","1377672054","1377672056"],"photo_ids_order":["1377672049","1377672051","1377672052","1377672054","1377672055","1377672056"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6207b7f71133b984e8e117196f411aa2.jpg","text":"TemporaryFile(/tmp/multipartBody7061447286248706326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441260619,"filename":"image_17082025_16_32_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/95fc207db4b01ceb372cb32067e3dccb.jpg","text":"TemporaryFile(/tmp/multipartBody8446512631651216927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441260619,"filename":"image_17082025_16_33_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f7ff3eeb2a683c81cb962e526cf3a548.jpg","text":"TemporaryFile(/tmp/multipartBody1506683020194477815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441260619,"filename":"image_17082025_16_33_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8969829059596a92642cecc1909200af.jpg","text":"TemporaryFile(/tmp/multipartBody8176827931117039390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441260619,"filename":"image_17082025_16_33_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6448395e6dd21b69b724fb3961e2ec3c.jpg","text":"TemporaryFile(/tmp/multipartBody3964531167222582579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441260619,"filename":"image_17082025_16_33_05_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d9af7f65facc237d2f318906b3382a7a.jpg","text":"TemporaryFile(/tmp/multipartBody8309760921528732317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441260619,"filename":"image_17082025_15_10_54_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672052","file1":"1377672051","file0":"1377672049","file4":"1377672055","file5":"1377672056","file3":"1377672054"},"map_files_photo_id_array":[{"photo_id":"1377672056","filename":"file5"},{"photo_id":"1377672052","filename":"file2"},{"photo_id":"1377672055","filename":"file4"},{"photo_id":"1377672051","filename":"file1"},{"photo_id":"1377672049","filename":"file0"},{"photo_id":"1377672054","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672055":["hashtag1","hashtag2"]},{"1377672049":["hashtag1","hashtag2"]},{"1377672052":["hashtag1","hashtag2"]},{"1377672051":["hashtag1","hashtag2"]},{"1377672054":["hashtag1","hashtag2"]},{"1377672056":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672055, 1377672049, 1377672052, 1377672051, 1377672054, 1377672056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13584661483765 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:34:03.538405
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/10/image_17082025_15_10_45_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/10/image_17082025_15_10_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/10/image_17082025_15_10_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/15/09/image_17082025_15_10_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/15/09/image_17082025_15_09_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/15/09/image_17082025_15_09_44_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/10/image_17082025_15_10_45_10647.jpg', '/home/nano/Desktop/images/17082025/15/10/image_17082025_15_10_34_9638.jpg', '/home/nano/Desktop/images/17082025/15/10/image_17082025_15_10_14_9663.jpg', '/home/nano/Desktop/images/17082025/15/09/image_17082025_15_10_04_9653.jpg', '/home/nano/Desktop/images/17082025/15/09/image_17082025_15_09_54_10649.jpg', '/home/nano/Desktop/images/17082025/15/09/image_17082025_15_09_44_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/10/image_17082025_15_10_45_10647.jpg
/home/nano/Desktop/images/17082025/15/10/image_17082025_15_10_34_9638.jpg
/home/nano/Desktop/images/17082025/15/10/image_17082025_15_10_14_9663.jpg
/home/nano/Desktop/images/17082025/15/09/image_17082025_15_10_04_9653.jpg
/home/nano/Desktop/images/17082025/15/09/image_17082025_15_09_54_10649.jpg
/home/nano/Desktop/images/17082025/15/09/image_17082025_15_09_44_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672076","1377672078","1377672072","1377672069","1377672062","1377672074"],"photo_ids_order":["1377672062","1377672069","1377672072","1377672074","1377672076","1377672078"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0193793dd2a9849529eee82306b53124.jpg","text":"TemporaryFile(/tmp/multipartBody6942672192722947255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441305248,"filename":"image_17082025_15_09_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/744c51c33ee3bc53868aac66151dfd6a.jpg","text":"TemporaryFile(/tmp/multipartBody2135413197037592748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441305248,"filename":"image_17082025_15_09_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/17e4c48d7a0fcf185e8d86118f3400b7.jpg","text":"TemporaryFile(/tmp/multipartBody7878271773001639561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441305248,"filename":"image_17082025_15_10_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f82ca03f8273eb969e2aabb6315d8fb4.jpg","text":"TemporaryFile(/tmp/multipartBody928120455445132355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441305248,"filename":"image_17082025_15_10_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2b360573938d6eda8f2b51700632edb5.jpg","text":"TemporaryFile(/tmp/multipartBody7099624970312011930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441305248,"filename":"image_17082025_15_10_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dbbfc7510536c49741e6e8bdc1cf0d9e.jpg","text":"TemporaryFile(/tmp/multipartBody4560696259304231839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441305248,"filename":"image_17082025_15_10_04_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672072","file1":"1377672069","file0":"1377672062","file4":"1377672076","file5":"1377672078","file3":"1377672074"},"map_files_photo_id_array":[{"photo_id":"1377672078","filename":"file5"},{"photo_id":"1377672072","filename":"file2"},{"photo_id":"1377672076","filename":"file4"},{"photo_id":"1377672069","filename":"file1"},{"photo_id":"1377672062","filename":"file0"},{"photo_id":"1377672074","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672076":["hashtag1","hashtag2"]},{"1377672078":["hashtag1","hashtag2"]},{"1377672072":["hashtag1","hashtag2"]},{"1377672069":["hashtag1","hashtag2"]},{"1377672062":["hashtag1","hashtag2"]},{"1377672074":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672076, 1377672078, 1377672072, 1377672069, 1377672062, 1377672074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00933241844177 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:34:47.723534
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/34/image_17082025_16_34_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/16/34/image_17082025_16_34_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/16/34/image_17082025_16_34_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/16/33/image_17082025_16_34_04_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/16/33/image_17082025_16_33_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/09/image_17082025_15_09_34_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/34/image_17082025_16_34_44_9639.jpg', '/home/nano/Desktop/images/17082025/16/34/image_17082025_16_34_34_10648.jpg', '/home/nano/Desktop/images/17082025/16/34/image_17082025_16_34_24_9639.jpg', '/home/nano/Desktop/images/17082025/16/33/image_17082025_16_34_04_10648.jpg', '/home/nano/Desktop/images/17082025/16/33/image_17082025_16_33_44_9639.jpg', '/home/nano/Desktop/images/17082025/15/09/image_17082025_15_09_34_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/34/image_17082025_16_34_44_9639.jpg
/home/nano/Desktop/images/17082025/16/34/image_17082025_16_34_34_10648.jpg
/home/nano/Desktop/images/17082025/16/34/image_17082025_16_34_24_9639.jpg
/home/nano/Desktop/images/17082025/16/33/image_17082025_16_34_04_10648.jpg
/home/nano/Desktop/images/17082025/16/33/image_17082025_16_33_44_9639.jpg
/home/nano/Desktop/images/17082025/15/09/image_17082025_15_09_34_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672082","1377672093","1377672081","1377672080","1377672083","1377672085"],"photo_ids_order":["1377672080","1377672081","1377672082","1377672083","1377672085","1377672093"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2a6f691d56db22046d17f55abf9daa1e.jpg","text":"TemporaryFile(/tmp/multipartBody1570246644571567629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441349616,"filename":"image_17082025_16_34_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6539430ded19ab5059b836de9df41591.jpg","text":"TemporaryFile(/tmp/multipartBody8195597404566152759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441349616,"filename":"image_17082025_15_09_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6a5b29767deebe0f88e1f8d62376d3b9.jpg","text":"TemporaryFile(/tmp/multipartBody4395119956968033993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441349616,"filename":"image_17082025_16_34_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3553401885eb39530193cbaccdfd48f6.jpg","text":"TemporaryFile(/tmp/multipartBody8497506207495033837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441349616,"filename":"image_17082025_16_34_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c96ab2a9bf9d41e5633dad064012039e.jpg","text":"TemporaryFile(/tmp/multipartBody9048914672055500540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441349616,"filename":"image_17082025_16_34_04_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e91ba6405ccc7552f9b7d3443a83238b.jpg","text":"TemporaryFile(/tmp/multipartBody9148498639063540135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441349616,"filename":"image_17082025_16_33_44_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672082","file1":"1377672081","file0":"1377672080","file4":"1377672085","file5":"1377672093","file3":"1377672083"},"map_files_photo_id_array":[{"photo_id":"1377672093","filename":"file5"},{"photo_id":"1377672082","filename":"file2"},{"photo_id":"1377672085","filename":"file4"},{"photo_id":"1377672081","filename":"file1"},{"photo_id":"1377672080","filename":"file0"},{"photo_id":"1377672083","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672082":["hashtag1","hashtag2"]},{"1377672093":["hashtag1","hashtag2"]},{"1377672081":["hashtag1","hashtag2"]},{"1377672080":["hashtag1","hashtag2"]},{"1377672083":["hashtag1","hashtag2"]},{"1377672085":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672082, 1377672093, 1377672081, 1377672080, 1377672083, 1377672085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71451950073242 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:35:31.826252
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/35/image_17082025_16_35_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/16/35/image_17082025_16_35_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/16/34/image_17082025_16_34_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/09/image_17082025_15_09_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/09/image_17082025_15_09_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/15/08/image_17082025_15_09_04_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/35/image_17082025_16_35_24_9637.jpg', '/home/nano/Desktop/images/17082025/16/35/image_17082025_16_35_14_9658.jpg', '/home/nano/Desktop/images/17082025/16/34/image_17082025_16_34_54_9638.jpg', '/home/nano/Desktop/images/17082025/15/09/image_17082025_15_09_24_10647.jpg', '/home/nano/Desktop/images/17082025/15/09/image_17082025_15_09_14_9658.jpg', '/home/nano/Desktop/images/17082025/15/08/image_17082025_15_09_04_9648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/35/image_17082025_16_35_24_9637.jpg
/home/nano/Desktop/images/17082025/16/35/image_17082025_16_35_14_9658.jpg
/home/nano/Desktop/images/17082025/16/34/image_17082025_16_34_54_9638.jpg
/home/nano/Desktop/images/17082025/15/09/image_17082025_15_09_24_10647.jpg
/home/nano/Desktop/images/17082025/15/09/image_17082025_15_09_14_9658.jpg
/home/nano/Desktop/images/17082025/15/08/image_17082025_15_09_04_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672104","1377672103","1377672100","1377672102","1377672105","1377672098"],"photo_ids_order":["1377672098","1377672100","1377672102","1377672103","1377672104","1377672105"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0265f1eee54d90c9eddc1fbf49ea12dc.jpg","text":"TemporaryFile(/tmp/multipartBody8245950965600565455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441393508,"filename":"image_17082025_15_09_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/77b8ad016d628271bbe59470a037aa4a.jpg","text":"TemporaryFile(/tmp/multipartBody5361358490549090638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441393508,"filename":"image_17082025_15_09_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aabf563cc7603ef8631523c1e18ed77e.jpg","text":"TemporaryFile(/tmp/multipartBody1614032026637890098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441393508,"filename":"image_17082025_16_35_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2a946ff6e6f7dfed2820d5ad47eddf18.jpg","text":"TemporaryFile(/tmp/multipartBody9098857531140216406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441393508,"filename":"image_17082025_16_34_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bce2fed335042c39f3da3448c50b839b.jpg","text":"TemporaryFile(/tmp/multipartBody827100332168496276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441393508,"filename":"image_17082025_15_09_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e0d0e2028774c9ba768e8ba17c4b22fc.jpg","text":"TemporaryFile(/tmp/multipartBody4233904230609096305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441393508,"filename":"image_17082025_16_35_24_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672102","file1":"1377672100","file0":"1377672098","file4":"1377672104","file5":"1377672105","file3":"1377672103"},"map_files_photo_id_array":[{"photo_id":"1377672105","filename":"file5"},{"photo_id":"1377672102","filename":"file2"},{"photo_id":"1377672104","filename":"file4"},{"photo_id":"1377672100","filename":"file1"},{"photo_id":"1377672098","filename":"file0"},{"photo_id":"1377672103","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672104":["hashtag1","hashtag2"]},{"1377672103":["hashtag1","hashtag2"]},{"1377672100":["hashtag1","hashtag2"]},{"1377672102":["hashtag1","hashtag2"]},{"1377672105":["hashtag1","hashtag2"]},{"1377672098":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672104, 1377672103, 1377672100, 1377672102, 1377672105, 1377672098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62545728683472 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:36:16.925872
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/36/image_17082025_16_36_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/16/36/image_17082025_16_36_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/16/36/image_17082025_16_36_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/16/35/image_17082025_16_36_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/16/35/image_17082025_16_35_55_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/08/image_17082025_15_08_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/36/image_17082025_16_36_44_9637.jpg', '/home/nano/Desktop/images/17082025/16/36/image_17082025_16_36_24_10647.jpg', '/home/nano/Desktop/images/17082025/16/36/image_17082025_16_36_14_9658.jpg', '/home/nano/Desktop/images/17082025/16/35/image_17082025_16_36_04_9661.jpg', '/home/nano/Desktop/images/17082025/16/35/image_17082025_16_35_55_10647.jpg', '/home/nano/Desktop/images/17082025/15/08/image_17082025_15_08_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/36/image_17082025_16_36_44_9637.jpg
/home/nano/Desktop/images/17082025/16/36/image_17082025_16_36_24_10647.jpg
/home/nano/Desktop/images/17082025/16/36/image_17082025_16_36_14_9658.jpg
/home/nano/Desktop/images/17082025/16/35/image_17082025_16_36_04_9661.jpg
/home/nano/Desktop/images/17082025/16/35/image_17082025_16_35_55_10647.jpg
/home/nano/Desktop/images/17082025/15/08/image_17082025_15_08_44_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672119","1377672124","1377672115","1377672117","1377672126","1377672122"],"photo_ids_order":["1377672115","1377672117","1377672119","1377672122","1377672124","1377672126"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dff748458d55af047601e7f219c826dd.jpg","text":"TemporaryFile(/tmp/multipartBody4170173067737038699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441438767,"filename":"image_17082025_16_36_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3e3b05e491e0eb7d25a4c5725dadc2ca.jpg","text":"TemporaryFile(/tmp/multipartBody1980660517109051859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441438767,"filename":"image_17082025_16_35_55_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/325d460b9f5427290c799dc9e0a61427.jpg","text":"TemporaryFile(/tmp/multipartBody1850526300580914850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441438767,"filename":"image_17082025_16_36_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8a737bea8656d0d8b580e529199d9e45.jpg","text":"TemporaryFile(/tmp/multipartBody717055435039779667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441438767,"filename":"image_17082025_16_36_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fa1109a6d08bc24fd8ed2c9987eb517b.jpg","text":"TemporaryFile(/tmp/multipartBody3766562109498301581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441438767,"filename":"image_17082025_15_08_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/94320d5b90dec3f3422d8a1140f4fcd1.jpg","text":"TemporaryFile(/tmp/multipartBody2908250577463013479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441438767,"filename":"image_17082025_16_36_04_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672119","file1":"1377672117","file0":"1377672115","file4":"1377672124","file5":"1377672126","file3":"1377672122"},"map_files_photo_id_array":[{"photo_id":"1377672126","filename":"file5"},{"photo_id":"1377672119","filename":"file2"},{"photo_id":"1377672124","filename":"file4"},{"photo_id":"1377672117","filename":"file1"},{"photo_id":"1377672115","filename":"file0"},{"photo_id":"1377672122","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672119":["hashtag1","hashtag2"]},{"1377672124":["hashtag1","hashtag2"]},{"1377672115":["hashtag1","hashtag2"]},{"1377672117":["hashtag1","hashtag2"]},{"1377672126":["hashtag1","hashtag2"]},{"1377672122":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672119, 1377672124, 1377672115, 1377672117, 1377672126, 1377672122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71907019615173 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:37:02.797892
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/08/image_17082025_15_08_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/08/image_17082025_15_08_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/15/07/image_17082025_15_08_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/15/07/image_17082025_15_07_55_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/15/07/image_17082025_15_07_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/15/07/image_17082025_15_07_14_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/08/image_17082025_15_08_34_9638.jpg', '/home/nano/Desktop/images/17082025/15/08/image_17082025_15_08_14_9659.jpg', '/home/nano/Desktop/images/17082025/15/07/image_17082025_15_08_04_9652.jpg', '/home/nano/Desktop/images/17082025/15/07/image_17082025_15_07_55_10648.jpg', '/home/nano/Desktop/images/17082025/15/07/image_17082025_15_07_34_10649.jpg', '/home/nano/Desktop/images/17082025/15/07/image_17082025_15_07_14_9660.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/08/image_17082025_15_08_34_9638.jpg
/home/nano/Desktop/images/17082025/15/08/image_17082025_15_08_14_9659.jpg
/home/nano/Desktop/images/17082025/15/07/image_17082025_15_08_04_9652.jpg
/home/nano/Desktop/images/17082025/15/07/image_17082025_15_07_55_10648.jpg
/home/nano/Desktop/images/17082025/15/07/image_17082025_15_07_34_10649.jpg
/home/nano/Desktop/images/17082025/15/07/image_17082025_15_07_14_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672142","1377672139","1377672129","1377672144","1377672128","1377672137"],"photo_ids_order":["1377672128","1377672129","1377672137","1377672139","1377672142","1377672144"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a60f9ed2c840fdc810a15218d9579d9f.jpg","text":"TemporaryFile(/tmp/multipartBody1116182540924451823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441484314,"filename":"image_17082025_15_07_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cd767cb338a708a0aacee24a7458978b.jpg","text":"TemporaryFile(/tmp/multipartBody8623515191666290325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441484314,"filename":"image_17082025_15_07_55_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b41ad5c281186af77e1878824d43ed0a.jpg","text":"TemporaryFile(/tmp/multipartBody8300333627778663050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441484314,"filename":"image_17082025_15_08_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0a9ffee774dade8f9efca77949913d65.jpg","text":"TemporaryFile(/tmp/multipartBody3113858513526060624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441484314,"filename":"image_17082025_15_07_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e3dcf90dc26ed718bd154fb7ebc4494a.jpg","text":"TemporaryFile(/tmp/multipartBody1320770196609711171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441484314,"filename":"image_17082025_15_08_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f2ac4a7a9b9f5adab7ab3b119733ceb1.jpg","text":"TemporaryFile(/tmp/multipartBody3985372802669936916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441484314,"filename":"image_17082025_15_08_04_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672137","file1":"1377672129","file0":"1377672128","file4":"1377672142","file5":"1377672144","file3":"1377672139"},"map_files_photo_id_array":[{"photo_id":"1377672144","filename":"file5"},{"photo_id":"1377672137","filename":"file2"},{"photo_id":"1377672142","filename":"file4"},{"photo_id":"1377672129","filename":"file1"},{"photo_id":"1377672128","filename":"file0"},{"photo_id":"1377672139","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672142":["hashtag1","hashtag2"]},{"1377672139":["hashtag1","hashtag2"]},{"1377672129":["hashtag1","hashtag2"]},{"1377672144":["hashtag1","hashtag2"]},{"1377672128":["hashtag1","hashtag2"]},{"1377672137":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672142, 1377672139, 1377672129, 1377672144, 1377672128, 1377672137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59624886512756 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:37:47.065765
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/37/image_17082025_16_37_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/16/36/image_17082025_16_36_54_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/15/06/image_17082025_15_07_04_10677.jpg', 2), ('/home/nano/Desktop/images/17082025/15/06/image_17082025_15_06_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/06/image_17082025_15_06_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/15/06/image_17082025_15_06_34_10672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/37/image_17082025_16_37_24_10650.jpg', '/home/nano/Desktop/images/17082025/16/36/image_17082025_16_36_54_10650.jpg', '/home/nano/Desktop/images/17082025/15/06/image_17082025_15_07_04_10677.jpg', '/home/nano/Desktop/images/17082025/15/06/image_17082025_15_06_54_9639.jpg', '/home/nano/Desktop/images/17082025/15/06/image_17082025_15_06_44_9640.jpg', '/home/nano/Desktop/images/17082025/15/06/image_17082025_15_06_34_10672.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/37/image_17082025_16_37_24_10650.jpg
/home/nano/Desktop/images/17082025/16/36/image_17082025_16_36_54_10650.jpg
/home/nano/Desktop/images/17082025/15/06/image_17082025_15_07_04_10677.jpg
/home/nano/Desktop/images/17082025/15/06/image_17082025_15_06_54_9639.jpg
/home/nano/Desktop/images/17082025/15/06/image_17082025_15_06_44_9640.jpg
/home/nano/Desktop/images/17082025/15/06/image_17082025_15_06_34_10672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672150","1377672153","1377672147","1377672161","1377672146","1377672149"],"photo_ids_order":["1377672146","1377672147","1377672149","1377672150","1377672153","1377672161"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/42d8e095757843fa87a4eeb82422904d.jpg","text":"TemporaryFile(/tmp/multipartBody6455497167532583846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441528687,"filename":"image_17082025_15_06_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4ebeaabffd6a07aab38e76099d84c9de.jpg","text":"TemporaryFile(/tmp/multipartBody783041677689840225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441528687,"filename":"image_17082025_15_06_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/43c8d61e69ad9e8be862af48c143ad11.jpg","text":"TemporaryFile(/tmp/multipartBody1264650954572198359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441528687,"filename":"image_17082025_16_36_54_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b6cb859beb5f16fc3ea8b302db431314.jpg","text":"TemporaryFile(/tmp/multipartBody8179995764689792670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441528687,"filename":"image_17082025_15_06_34_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d64cc398a1e1dc919abcce51a3a4ef8d.jpg","text":"TemporaryFile(/tmp/multipartBody3276953091058651226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441528687,"filename":"image_17082025_16_37_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dcc00b3233982fff21f0024bc24d2ac7.jpg","text":"TemporaryFile(/tmp/multipartBody1071519226330894855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441528687,"filename":"image_17082025_15_07_04_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672149","file1":"1377672147","file0":"1377672146","file4":"1377672153","file5":"1377672161","file3":"1377672150"},"map_files_photo_id_array":[{"photo_id":"1377672161","filename":"file5"},{"photo_id":"1377672149","filename":"file2"},{"photo_id":"1377672153","filename":"file4"},{"photo_id":"1377672147","filename":"file1"},{"photo_id":"1377672146","filename":"file0"},{"photo_id":"1377672150","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672150":["hashtag1","hashtag2"]},{"1377672153":["hashtag1","hashtag2"]},{"1377672147":["hashtag1","hashtag2"]},{"1377672161":["hashtag1","hashtag2"]},{"1377672146":["hashtag1","hashtag2"]},{"1377672149":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672150, 1377672153, 1377672147, 1377672161, 1377672146, 1377672149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.376328229904175 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:38:32.138560
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/38/image_17082025_16_38_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/16/38/image_17082025_16_38_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/16/37/image_17082025_16_38_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/16/37/image_17082025_16_37_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/15/06/image_17082025_15_06_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/06/image_17082025_15_06_14_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/38/image_17082025_16_38_34_9640.jpg', '/home/nano/Desktop/images/17082025/16/38/image_17082025_16_38_24_10649.jpg', '/home/nano/Desktop/images/17082025/16/37/image_17082025_16_38_04_9643.jpg', '/home/nano/Desktop/images/17082025/16/37/image_17082025_16_37_34_9640.jpg', '/home/nano/Desktop/images/17082025/15/06/image_17082025_15_06_24_9638.jpg', '/home/nano/Desktop/images/17082025/15/06/image_17082025_15_06_14_9660.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/38/image_17082025_16_38_34_9640.jpg
/home/nano/Desktop/images/17082025/16/38/image_17082025_16_38_24_10649.jpg
/home/nano/Desktop/images/17082025/16/37/image_17082025_16_38_04_9643.jpg
/home/nano/Desktop/images/17082025/16/37/image_17082025_16_37_34_9640.jpg
/home/nano/Desktop/images/17082025/15/06/image_17082025_15_06_24_9638.jpg
/home/nano/Desktop/images/17082025/15/06/image_17082025_15_06_14_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672172","1377672169","1377672171","1377672174","1377672170","1377672173"],"photo_ids_order":["1377672169","1377672170","1377672171","1377672172","1377672173","1377672174"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bfd505c70b6fcc2bf48dbd11f58bf620.jpg","text":"TemporaryFile(/tmp/multipartBody4893745648571494972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441574022,"filename":"image_17082025_16_37_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4f14e5740cc58485a7d702348efb205f.jpg","text":"TemporaryFile(/tmp/multipartBody7607013534854444542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441574022,"filename":"image_17082025_16_38_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1561fc1c8483a208b25b25bc8b896688.jpg","text":"TemporaryFile(/tmp/multipartBody241193049076420955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441574022,"filename":"image_17082025_16_38_04_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/41b094e899226873ca983808860ff431.jpg","text":"TemporaryFile(/tmp/multipartBody4867910017336689245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441574022,"filename":"image_17082025_15_06_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1fbbbab6f1bfb5eec4458a5b544e9f8b.jpg","text":"TemporaryFile(/tmp/multipartBody3149078961983806345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441574022,"filename":"image_17082025_16_38_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a16bb03883685617bf29316ba08e76c1.jpg","text":"TemporaryFile(/tmp/multipartBody2412730523585675068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441574022,"filename":"image_17082025_15_06_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672171","file1":"1377672170","file0":"1377672169","file4":"1377672173","file5":"1377672174","file3":"1377672172"},"map_files_photo_id_array":[{"photo_id":"1377672174","filename":"file5"},{"photo_id":"1377672171","filename":"file2"},{"photo_id":"1377672173","filename":"file4"},{"photo_id":"1377672170","filename":"file1"},{"photo_id":"1377672169","filename":"file0"},{"photo_id":"1377672172","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672172":["hashtag1","hashtag2"]},{"1377672169":["hashtag1","hashtag2"]},{"1377672171":["hashtag1","hashtag2"]},{"1377672174":["hashtag1","hashtag2"]},{"1377672170":["hashtag1","hashtag2"]},{"1377672173":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672172, 1377672169, 1377672171, 1377672174, 1377672170, 1377672173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84612989425659 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:39:17.235754
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/39/image_17082025_16_39_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/16/39/image_17082025_16_39_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/16/38/image_17082025_16_39_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/16/38/image_17082025_16_38_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/05/image_17082025_15_06_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/15/05/image_17082025_15_05_54_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/39/image_17082025_16_39_44_10647.jpg', '/home/nano/Desktop/images/17082025/16/39/image_17082025_16_39_34_9638.jpg', '/home/nano/Desktop/images/17082025/16/38/image_17082025_16_39_04_9653.jpg', '/home/nano/Desktop/images/17082025/16/38/image_17082025_16_38_54_9639.jpg', '/home/nano/Desktop/images/17082025/15/05/image_17082025_15_06_04_10665.jpg', '/home/nano/Desktop/images/17082025/15/05/image_17082025_15_05_54_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/39/image_17082025_16_39_44_10647.jpg
/home/nano/Desktop/images/17082025/16/39/image_17082025_16_39_34_9638.jpg
/home/nano/Desktop/images/17082025/16/38/image_17082025_16_39_04_9653.jpg
/home/nano/Desktop/images/17082025/16/38/image_17082025_16_38_54_9639.jpg
/home/nano/Desktop/images/17082025/15/05/image_17082025_15_06_04_10665.jpg
/home/nano/Desktop/images/17082025/15/05/image_17082025_15_05_54_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672192","1377672186","1377672188","1377672191","1377672190","1377672184"],"photo_ids_order":["1377672184","1377672186","1377672188","1377672190","1377672191","1377672192"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/01e62681fac58b479fd6f8bad08725d4.jpg","text":"TemporaryFile(/tmp/multipartBody6862982697362912484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441618809,"filename":"image_17082025_15_05_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/86d59bde55b1d231473dd6a53597b403.jpg","text":"TemporaryFile(/tmp/multipartBody7430868500150424684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441618809,"filename":"image_17082025_16_39_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d6a857381812d623495ba6fe1596ffb0.jpg","text":"TemporaryFile(/tmp/multipartBody4002151822621388957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441618809,"filename":"image_17082025_16_39_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/297d0f72495f8487988ed5a7b35bb258.jpg","text":"TemporaryFile(/tmp/multipartBody6485661910923992486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441618809,"filename":"image_17082025_15_06_04_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b82031af152e4ceb65f47d7da5419683.jpg","text":"TemporaryFile(/tmp/multipartBody6149035531685608284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441618809,"filename":"image_17082025_16_38_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1e18e3c47539623e452166716e45908b.jpg","text":"TemporaryFile(/tmp/multipartBody1726434967076976242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441618809,"filename":"image_17082025_16_39_44_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672188","file1":"1377672186","file0":"1377672184","file4":"1377672191","file5":"1377672192","file3":"1377672190"},"map_files_photo_id_array":[{"photo_id":"1377672192","filename":"file5"},{"photo_id":"1377672188","filename":"file2"},{"photo_id":"1377672191","filename":"file4"},{"photo_id":"1377672186","filename":"file1"},{"photo_id":"1377672184","filename":"file0"},{"photo_id":"1377672190","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672192":["hashtag1","hashtag2"]},{"1377672186":["hashtag1","hashtag2"]},{"1377672188":["hashtag1","hashtag2"]},{"1377672191":["hashtag1","hashtag2"]},{"1377672190":["hashtag1","hashtag2"]},{"1377672184":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672192, 1377672186, 1377672188, 1377672191, 1377672190, 1377672184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39159965515137 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:40:02.923244
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/40/image_17082025_16_40_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/05/image_17082025_15_05_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/15/05/image_17082025_15_05_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/15/05/image_17082025_15_05_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/15/05/image_17082025_15_05_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/15/04/image_17082025_15_05_04_10660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/40/image_17082025_16_40_54_9638.jpg', '/home/nano/Desktop/images/17082025/15/05/image_17082025_15_05_44_9642.jpg', '/home/nano/Desktop/images/17082025/15/05/image_17082025_15_05_34_10648.jpg', '/home/nano/Desktop/images/17082025/15/05/image_17082025_15_05_24_9641.jpg', '/home/nano/Desktop/images/17082025/15/05/image_17082025_15_05_14_9658.jpg', '/home/nano/Desktop/images/17082025/15/04/image_17082025_15_05_04_10660.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/40/image_17082025_16_40_54_9638.jpg
/home/nano/Desktop/images/17082025/15/05/image_17082025_15_05_44_9642.jpg
/home/nano/Desktop/images/17082025/15/05/image_17082025_15_05_34_10648.jpg
/home/nano/Desktop/images/17082025/15/05/image_17082025_15_05_24_9641.jpg
/home/nano/Desktop/images/17082025/15/05/image_17082025_15_05_14_9658.jpg
/home/nano/Desktop/images/17082025/15/04/image_17082025_15_05_04_10660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672203","1377672205","1377672194","1377672207","1377672209","1377672199"],"photo_ids_order":["1377672194","1377672199","1377672203","1377672205","1377672207","1377672209"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/900bd5160b2dffb37440740e2c2f2dd7.jpg","text":"TemporaryFile(/tmp/multipartBody7368312097756060038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441664558,"filename":"image_17082025_15_05_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9602ae9663fdfbee2c970417db11e426.jpg","text":"TemporaryFile(/tmp/multipartBody8040082347317805081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441664558,"filename":"image_17082025_15_05_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4ebc37657b6d10e5178445cb285729ee.jpg","text":"TemporaryFile(/tmp/multipartBody7545252399968115551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441664558,"filename":"image_17082025_16_40_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a6af1bd8941a11484e51bae72be5878a.jpg","text":"TemporaryFile(/tmp/multipartBody2373554646878574359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441664558,"filename":"image_17082025_15_05_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b3725c8c0ccf58c4499fe0426188dfbf.jpg","text":"TemporaryFile(/tmp/multipartBody1901174506160770186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441664558,"filename":"image_17082025_15_05_04_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/da6e7b912f3956f1747d85e48974a60a.jpg","text":"TemporaryFile(/tmp/multipartBody1556424074186820702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441664558,"filename":"image_17082025_15_05_44_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672203","file1":"1377672199","file0":"1377672194","file4":"1377672207","file5":"1377672209","file3":"1377672205"},"map_files_photo_id_array":[{"photo_id":"1377672209","filename":"file5"},{"photo_id":"1377672203","filename":"file2"},{"photo_id":"1377672207","filename":"file4"},{"photo_id":"1377672199","filename":"file1"},{"photo_id":"1377672194","filename":"file0"},{"photo_id":"1377672205","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672203":["hashtag1","hashtag2"]},{"1377672205":["hashtag1","hashtag2"]},{"1377672194":["hashtag1","hashtag2"]},{"1377672207":["hashtag1","hashtag2"]},{"1377672209":["hashtag1","hashtag2"]},{"1377672199":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672203, 1377672205, 1377672194, 1377672207, 1377672209, 1377672199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.47528076171875 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:40:47.382391
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/40/image_17082025_16_40_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/16/40/image_17082025_16_40_24_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/16/40/image_17082025_16_40_14_10690.jpg', 2), ('/home/nano/Desktop/images/17082025/16/39/image_17082025_16_40_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/16/39/image_17082025_16_39_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/04/image_17082025_15_04_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/40/image_17082025_16_40_34_9639.jpg', '/home/nano/Desktop/images/17082025/16/40/image_17082025_16_40_24_9657.jpg', '/home/nano/Desktop/images/17082025/16/40/image_17082025_16_40_14_10690.jpg', '/home/nano/Desktop/images/17082025/16/39/image_17082025_16_40_04_9648.jpg', '/home/nano/Desktop/images/17082025/16/39/image_17082025_16_39_54_9639.jpg', '/home/nano/Desktop/images/17082025/15/04/image_17082025_15_04_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/40/image_17082025_16_40_34_9639.jpg
/home/nano/Desktop/images/17082025/16/40/image_17082025_16_40_24_9657.jpg
/home/nano/Desktop/images/17082025/16/40/image_17082025_16_40_14_10690.jpg
/home/nano/Desktop/images/17082025/16/39/image_17082025_16_40_04_9648.jpg
/home/nano/Desktop/images/17082025/16/39/image_17082025_16_39_54_9639.jpg
/home/nano/Desktop/images/17082025/15/04/image_17082025_15_04_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672211","1377672214","1377672216","1377672218","1377672227","1377672212"],"photo_ids_order":["1377672211","1377672212","1377672214","1377672216","1377672218","1377672227"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e1fb90019cfb7a6df6c4c10481035662.jpg","text":"TemporaryFile(/tmp/multipartBody6361271862183906688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441708998,"filename":"image_17082025_16_40_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/18dd1aa469173ab987617b84577ba5ae.jpg","text":"TemporaryFile(/tmp/multipartBody3121043145485003294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441708998,"filename":"image_17082025_16_40_14_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8545d608c97b28dc60fb77026a627907.jpg","text":"TemporaryFile(/tmp/multipartBody6574421803146693239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441708998,"filename":"image_17082025_16_40_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/96f8b5f32a37fa8798172813873719cd.jpg","text":"TemporaryFile(/tmp/multipartBody516629756299701275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441708998,"filename":"image_17082025_16_39_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4e8ce592a8a8dd58f0f1827f363a2be5.jpg","text":"TemporaryFile(/tmp/multipartBody972395942333868092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441708998,"filename":"image_17082025_15_04_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2f2e4c273d93db708c1da6271bb19270.jpg","text":"TemporaryFile(/tmp/multipartBody6157581011749862944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441708998,"filename":"image_17082025_16_40_24_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672214","file1":"1377672212","file0":"1377672211","file4":"1377672218","file5":"1377672227","file3":"1377672216"},"map_files_photo_id_array":[{"photo_id":"1377672227","filename":"file5"},{"photo_id":"1377672214","filename":"file2"},{"photo_id":"1377672218","filename":"file4"},{"photo_id":"1377672212","filename":"file1"},{"photo_id":"1377672211","filename":"file0"},{"photo_id":"1377672216","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672211":["hashtag1","hashtag2"]},{"1377672214":["hashtag1","hashtag2"]},{"1377672216":["hashtag1","hashtag2"]},{"1377672218":["hashtag1","hashtag2"]},{"1377672227":["hashtag1","hashtag2"]},{"1377672212":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672211, 1377672214, 1377672216, 1377672218, 1377672227, 1377672212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77586030960083 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:41:32.484518
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/41/image_17082025_16_41_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/16/41/image_17082025_16_41_14_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/16/40/image_17082025_16_41_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/16/40/image_17082025_16_40_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/15/04/image_17082025_15_04_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/15/04/image_17082025_15_04_34_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/41/image_17082025_16_41_34_9638.jpg', '/home/nano/Desktop/images/17082025/16/41/image_17082025_16_41_14_10663.jpg', '/home/nano/Desktop/images/17082025/16/40/image_17082025_16_41_04_9648.jpg', '/home/nano/Desktop/images/17082025/16/40/image_17082025_16_40_44_10648.jpg', '/home/nano/Desktop/images/17082025/15/04/image_17082025_15_04_44_9641.jpg', '/home/nano/Desktop/images/17082025/15/04/image_17082025_15_04_34_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/41/image_17082025_16_41_34_9638.jpg
/home/nano/Desktop/images/17082025/16/41/image_17082025_16_41_14_10663.jpg
/home/nano/Desktop/images/17082025/16/40/image_17082025_16_41_04_9648.jpg
/home/nano/Desktop/images/17082025/16/40/image_17082025_16_40_44_10648.jpg
/home/nano/Desktop/images/17082025/15/04/image_17082025_15_04_44_9641.jpg
/home/nano/Desktop/images/17082025/15/04/image_17082025_15_04_34_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672235","1377672238","1377672232","1377672234","1377672237","1377672236"],"photo_ids_order":["1377672232","1377672234","1377672235","1377672236","1377672237","1377672238"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/df589650624cdb549cb71de639668dcd.jpg","text":"TemporaryFile(/tmp/multipartBody7088513856346216724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441754264,"filename":"image_17082025_16_41_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cfe3b0e207008cc5940091bf94dc3357.jpg","text":"TemporaryFile(/tmp/multipartBody85457104205019253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441754264,"filename":"image_17082025_15_04_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6c05ee4c3fec547b53812cd5a09f9dcf.jpg","text":"TemporaryFile(/tmp/multipartBody7818638399808481743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441754264,"filename":"image_17082025_16_41_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/08dad9dd2655061111db92788efdcfa7.jpg","text":"TemporaryFile(/tmp/multipartBody4875708907903653756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441754264,"filename":"image_17082025_16_41_14_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c4286dc7c1b42c06519075582ed97a31.jpg","text":"TemporaryFile(/tmp/multipartBody6097908451995509283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441754264,"filename":"image_17082025_15_04_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ced438c3cd807360e0b039d128ac5ad2.jpg","text":"TemporaryFile(/tmp/multipartBody3695530592684628494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441754264,"filename":"image_17082025_16_40_44_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672235","file1":"1377672234","file0":"1377672232","file4":"1377672237","file5":"1377672238","file3":"1377672236"},"map_files_photo_id_array":[{"photo_id":"1377672238","filename":"file5"},{"photo_id":"1377672235","filename":"file2"},{"photo_id":"1377672237","filename":"file4"},{"photo_id":"1377672234","filename":"file1"},{"photo_id":"1377672232","filename":"file0"},{"photo_id":"1377672236","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672235":["hashtag1","hashtag2"]},{"1377672238":["hashtag1","hashtag2"]},{"1377672232":["hashtag1","hashtag2"]},{"1377672234":["hashtag1","hashtag2"]},{"1377672237":["hashtag1","hashtag2"]},{"1377672236":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672235, 1377672238, 1377672232, 1377672234, 1377672237, 1377672236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40865898132324 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:42:17.630671
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/42/image_17082025_16_42_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/16/42/image_17082025_16_42_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/16/42/image_17082025_16_42_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/16/41/image_17082025_16_42_05_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/16/41/image_17082025_16_41_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/15/04/image_17082025_15_04_24_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/42/image_17082025_16_42_44_9642.jpg', '/home/nano/Desktop/images/17082025/16/42/image_17082025_16_42_24_9639.jpg', '/home/nano/Desktop/images/17082025/16/42/image_17082025_16_42_14_9658.jpg', '/home/nano/Desktop/images/17082025/16/41/image_17082025_16_42_05_10668.jpg', '/home/nano/Desktop/images/17082025/16/41/image_17082025_16_41_44_10648.jpg', '/home/nano/Desktop/images/17082025/15/04/image_17082025_15_04_24_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/42/image_17082025_16_42_44_9642.jpg
/home/nano/Desktop/images/17082025/16/42/image_17082025_16_42_24_9639.jpg
/home/nano/Desktop/images/17082025/16/42/image_17082025_16_42_14_9658.jpg
/home/nano/Desktop/images/17082025/16/41/image_17082025_16_42_05_10668.jpg
/home/nano/Desktop/images/17082025/16/41/image_17082025_16_41_44_10648.jpg
/home/nano/Desktop/images/17082025/15/04/image_17082025_15_04_24_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672259","1377672252","1377672261","1377672255","1377672260","1377672257"],"photo_ids_order":["1377672252","1377672255","1377672257","1377672259","1377672260","1377672261"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/78b99cc487c5c04dc28da9a1aaf81e77.jpg","text":"TemporaryFile(/tmp/multipartBody7044976630621279854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441799599,"filename":"image_17082025_16_42_05_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8ae3f474f7427842b9b5b5e99fc86ce2.jpg","text":"TemporaryFile(/tmp/multipartBody1320309369112867574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441799599,"filename":"image_17082025_16_42_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fd6c943df734a9640ce2a3674f64da75.jpg","text":"TemporaryFile(/tmp/multipartBody8437199803522952817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441799599,"filename":"image_17082025_15_04_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/46271727e9beb4dff44ba14b3ff22193.jpg","text":"TemporaryFile(/tmp/multipartBody4821112557951269764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441799599,"filename":"image_17082025_16_42_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/77c88c08195786ace941c95e71807f4c.jpg","text":"TemporaryFile(/tmp/multipartBody6539504467635919748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441799599,"filename":"image_17082025_16_41_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3bb0c5d8c709963fd4ef599fe187b864.jpg","text":"TemporaryFile(/tmp/multipartBody8224234433381835820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441799599,"filename":"image_17082025_16_42_14_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672257","file1":"1377672255","file0":"1377672252","file4":"1377672260","file5":"1377672261","file3":"1377672259"},"map_files_photo_id_array":[{"photo_id":"1377672261","filename":"file5"},{"photo_id":"1377672257","filename":"file2"},{"photo_id":"1377672260","filename":"file4"},{"photo_id":"1377672255","filename":"file1"},{"photo_id":"1377672252","filename":"file0"},{"photo_id":"1377672259","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672259":["hashtag1","hashtag2"]},{"1377672252":["hashtag1","hashtag2"]},{"1377672261":["hashtag1","hashtag2"]},{"1377672255":["hashtag1","hashtag2"]},{"1377672260":["hashtag1","hashtag2"]},{"1377672257":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672259, 1377672252, 1377672261, 1377672255, 1377672260, 1377672257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01216721534729 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:43:03.353332
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/04/image_17082025_15_04_14_9668.jpg', 2), ('/home/nano/Desktop/images/17082025/15/03/image_17082025_15_03_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/15/03/image_17082025_15_03_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/15/03/image_17082025_15_03_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/03/image_17082025_15_03_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/03/image_17082025_15_03_14_10661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/04/image_17082025_15_04_14_9668.jpg', '/home/nano/Desktop/images/17082025/15/03/image_17082025_15_03_54_9640.jpg', '/home/nano/Desktop/images/17082025/15/03/image_17082025_15_03_44_10648.jpg', '/home/nano/Desktop/images/17082025/15/03/image_17082025_15_03_34_9638.jpg', '/home/nano/Desktop/images/17082025/15/03/image_17082025_15_03_24_9638.jpg', '/home/nano/Desktop/images/17082025/15/03/image_17082025_15_03_14_10661.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/04/image_17082025_15_04_14_9668.jpg
/home/nano/Desktop/images/17082025/15/03/image_17082025_15_03_54_9640.jpg
/home/nano/Desktop/images/17082025/15/03/image_17082025_15_03_44_10648.jpg
/home/nano/Desktop/images/17082025/15/03/image_17082025_15_03_34_9638.jpg
/home/nano/Desktop/images/17082025/15/03/image_17082025_15_03_24_9638.jpg
/home/nano/Desktop/images/17082025/15/03/image_17082025_15_03_14_10661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672265","1377672280","1377672268","1377672277","1377672282","1377672278"],"photo_ids_order":["1377672265","1377672268","1377672277","1377672278","1377672280","1377672282"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f1ec1ca755cf225812e5faf6869874a9.jpg","text":"TemporaryFile(/tmp/multipartBody8329304805867916536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441845056,"filename":"image_17082025_15_04_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/67e3ccd9c43de489c4699f65fd5d6dc2.jpg","text":"TemporaryFile(/tmp/multipartBody2950804027416156045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441845056,"filename":"image_17082025_15_03_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5af1391fefecde20c34be969e8c001a4.jpg","text":"TemporaryFile(/tmp/multipartBody5740252875075865995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441845056,"filename":"image_17082025_15_03_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4057a334fbf154a35377821c0bd51c6f.jpg","text":"TemporaryFile(/tmp/multipartBody8520639637870915714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441845056,"filename":"image_17082025_15_03_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6983d37639e90edc20e637e13253cc06.jpg","text":"TemporaryFile(/tmp/multipartBody1720418903573923341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441845056,"filename":"image_17082025_15_03_14_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3c53186d489f05b4b7f37b55e67f42c4.jpg","text":"TemporaryFile(/tmp/multipartBody3946465239874255511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441845056,"filename":"image_17082025_15_03_34_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672277","file1":"1377672268","file0":"1377672265","file4":"1377672280","file5":"1377672282","file3":"1377672278"},"map_files_photo_id_array":[{"photo_id":"1377672282","filename":"file5"},{"photo_id":"1377672277","filename":"file2"},{"photo_id":"1377672280","filename":"file4"},{"photo_id":"1377672268","filename":"file1"},{"photo_id":"1377672265","filename":"file0"},{"photo_id":"1377672278","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672265":["hashtag1","hashtag2"]},{"1377672280":["hashtag1","hashtag2"]},{"1377672268":["hashtag1","hashtag2"]},{"1377672277":["hashtag1","hashtag2"]},{"1377672282":["hashtag1","hashtag2"]},{"1377672278":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672265, 1377672280, 1377672268, 1377672277, 1377672282, 1377672278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52690243721008 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:43:47.663515
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/43/image_17082025_16_43_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/16/43/image_17082025_16_43_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/16/42/image_17082025_16_42_54_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/15/02/image_17082025_15_03_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_54_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_44_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/43/image_17082025_16_43_44_9639.jpg', '/home/nano/Desktop/images/17082025/16/43/image_17082025_16_43_34_10647.jpg', '/home/nano/Desktop/images/17082025/16/42/image_17082025_16_42_54_9657.jpg', '/home/nano/Desktop/images/17082025/15/02/image_17082025_15_03_04_9644.jpg', '/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_54_9635.jpg', '/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_44_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/43/image_17082025_16_43_44_9639.jpg
/home/nano/Desktop/images/17082025/16/43/image_17082025_16_43_34_10647.jpg
/home/nano/Desktop/images/17082025/16/42/image_17082025_16_42_54_9657.jpg
/home/nano/Desktop/images/17082025/15/02/image_17082025_15_03_04_9644.jpg
/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_54_9635.jpg
/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_44_10647.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5384726524353027 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:44:02.793470
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/43/image_17082025_16_43_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/16/43/image_17082025_16_43_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/16/42/image_17082025_16_42_54_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/15/02/image_17082025_15_03_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_54_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_44_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/43/image_17082025_16_43_44_9639.jpg', '/home/nano/Desktop/images/17082025/16/43/image_17082025_16_43_34_10647.jpg', '/home/nano/Desktop/images/17082025/16/42/image_17082025_16_42_54_9657.jpg', '/home/nano/Desktop/images/17082025/15/02/image_17082025_15_03_04_9644.jpg', '/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_54_9635.jpg', '/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_44_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/43/image_17082025_16_43_44_9639.jpg
/home/nano/Desktop/images/17082025/16/43/image_17082025_16_43_34_10647.jpg
/home/nano/Desktop/images/17082025/16/42/image_17082025_16_42_54_9657.jpg
/home/nano/Desktop/images/17082025/15/02/image_17082025_15_03_04_9644.jpg
/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_54_9635.jpg
/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_44_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672304","1377672313","1377672309","1377672290","1377672306","1377672298"],"photo_ids_order":["1377672290","1377672298","1377672304","1377672306","1377672309","1377672313"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d6bd4371de10327008c56f1d13a9c72e.jpg","text":"TemporaryFile(/tmp/multipartBody8728515436605767010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441904513,"filename":"image_17082025_16_42_54_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e085893f400c8d20611ad7e0e3aab41c.jpg","text":"TemporaryFile(/tmp/multipartBody3306812687957246179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441904513,"filename":"image_17082025_15_02_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/79df79ed1e4bab3b00078584e1383cca.jpg","text":"TemporaryFile(/tmp/multipartBody6326066848117007524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441904513,"filename":"image_17082025_15_02_54_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ec5f2852e1478c3ae9fa1863a3edefa2.jpg","text":"TemporaryFile(/tmp/multipartBody6934676392214575787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441904513,"filename":"image_17082025_16_43_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/323f621b710bf4530f4791b2c2a149a8.jpg","text":"TemporaryFile(/tmp/multipartBody7398176436833986474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441904513,"filename":"image_17082025_15_03_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/265147a8c44612eb5b621e53f3c5c824.jpg","text":"TemporaryFile(/tmp/multipartBody743540907732036583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441904513,"filename":"image_17082025_16_43_34_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672304","file1":"1377672298","file0":"1377672290","file4":"1377672309","file5":"1377672313","file3":"1377672306"},"map_files_photo_id_array":[{"photo_id":"1377672313","filename":"file5"},{"photo_id":"1377672304","filename":"file2"},{"photo_id":"1377672309","filename":"file4"},{"photo_id":"1377672298","filename":"file1"},{"photo_id":"1377672290","filename":"file0"},{"photo_id":"1377672306","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672304":["hashtag1","hashtag2"]},{"1377672313":["hashtag1","hashtag2"]},{"1377672309":["hashtag1","hashtag2"]},{"1377672290":["hashtag1","hashtag2"]},{"1377672306":["hashtag1","hashtag2"]},{"1377672298":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672304, 1377672313, 1377672309, 1377672290, 1377672306, 1377672298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.150200605392456 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:44:46.803039
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/44/image_17082025_16_44_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/16/44/image_17082025_16_44_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/16/44/image_17082025_16_44_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/16/44/image_17082025_16_44_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/16/43/image_17082025_16_44_04_10658.jpg', 2), ('/home/nano/Desktop/images/17082025/16/43/image_17082025_16_43_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/44/image_17082025_16_44_44_9637.jpg', '/home/nano/Desktop/images/17082025/16/44/image_17082025_16_44_34_10646.jpg', '/home/nano/Desktop/images/17082025/16/44/image_17082025_16_44_24_9638.jpg', '/home/nano/Desktop/images/17082025/16/44/image_17082025_16_44_14_9656.jpg', '/home/nano/Desktop/images/17082025/16/43/image_17082025_16_44_04_10658.jpg', '/home/nano/Desktop/images/17082025/16/43/image_17082025_16_43_54_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/44/image_17082025_16_44_44_9637.jpg
/home/nano/Desktop/images/17082025/16/44/image_17082025_16_44_34_10646.jpg
/home/nano/Desktop/images/17082025/16/44/image_17082025_16_44_24_9638.jpg
/home/nano/Desktop/images/17082025/16/44/image_17082025_16_44_14_9656.jpg
/home/nano/Desktop/images/17082025/16/43/image_17082025_16_44_04_10658.jpg
/home/nano/Desktop/images/17082025/16/43/image_17082025_16_43_54_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672316","1377672319","1377672321","1377672318","1377672317","1377672329"],"photo_ids_order":["1377672316","1377672317","1377672318","1377672319","1377672321","1377672329"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7a9b371930aeb1a7442a625ec5a6fd9a.jpg","text":"TemporaryFile(/tmp/multipartBody3111584067102093197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441948586,"filename":"image_17082025_16_44_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dc20c58d167d7df36f4cfa9104f3c841.jpg","text":"TemporaryFile(/tmp/multipartBody7176726413270491951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441948586,"filename":"image_17082025_16_44_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7ac9e314792e662b308d26850015319b.jpg","text":"TemporaryFile(/tmp/multipartBody8424983148660308340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441948586,"filename":"image_17082025_16_44_04_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7e430a91d134d916879e9243956c5f9e.jpg","text":"TemporaryFile(/tmp/multipartBody8963173171255077987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441948586,"filename":"image_17082025_16_44_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c1b6a5d063d90ecfd3d0536bf3769b2e.jpg","text":"TemporaryFile(/tmp/multipartBody5596667035512042074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441948586,"filename":"image_17082025_16_44_34_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/15682cf260decd277b80e36f4f8d1201.jpg","text":"TemporaryFile(/tmp/multipartBody7375100029576869052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441948586,"filename":"image_17082025_16_43_54_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672318","file1":"1377672317","file0":"1377672316","file4":"1377672321","file5":"1377672329","file3":"1377672319"},"map_files_photo_id_array":[{"photo_id":"1377672329","filename":"file5"},{"photo_id":"1377672318","filename":"file2"},{"photo_id":"1377672321","filename":"file4"},{"photo_id":"1377672317","filename":"file1"},{"photo_id":"1377672316","filename":"file0"},{"photo_id":"1377672319","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672316":["hashtag1","hashtag2"]},{"1377672319":["hashtag1","hashtag2"]},{"1377672321":["hashtag1","hashtag2"]},{"1377672318":["hashtag1","hashtag2"]},{"1377672317":["hashtag1","hashtag2"]},{"1377672329":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672316, 1377672319, 1377672321, 1377672318, 1377672317, 1377672329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32508301734924 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:45:31.891587
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/45/image_17082025_16_45_25_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/16/45/image_17082025_16_45_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/16/44/image_17082025_16_45_04_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/16/44/image_17082025_16_44_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_24_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/45/image_17082025_16_45_25_10648.jpg', '/home/nano/Desktop/images/17082025/16/45/image_17082025_16_45_14_9656.jpg', '/home/nano/Desktop/images/17082025/16/44/image_17082025_16_45_04_10666.jpg', '/home/nano/Desktop/images/17082025/16/44/image_17082025_16_44_54_9641.jpg', '/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_34_9638.jpg', '/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_24_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/45/image_17082025_16_45_25_10648.jpg
/home/nano/Desktop/images/17082025/16/45/image_17082025_16_45_14_9656.jpg
/home/nano/Desktop/images/17082025/16/44/image_17082025_16_45_04_10666.jpg
/home/nano/Desktop/images/17082025/16/44/image_17082025_16_44_54_9641.jpg
/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_34_9638.jpg
/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_24_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672340","1377672343","1377672337","1377672339","1377672341","1377672338"],"photo_ids_order":["1377672337","1377672338","1377672339","1377672340","1377672341","1377672343"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7f7d33927a95be70795fb0e01e1b6b10.jpg","text":"TemporaryFile(/tmp/multipartBody6886940705856157545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441993544,"filename":"image_17082025_16_44_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5fb1868e68120222b9ca83e6506b47a4.jpg","text":"TemporaryFile(/tmp/multipartBody1431454987571480652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441993544,"filename":"image_17082025_15_02_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f369af369c8711742b21102b507719eb.jpg","text":"TemporaryFile(/tmp/multipartBody1890425892010976197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441993544,"filename":"image_17082025_16_45_25_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c118f88bb71d97488144e6f426327c34.jpg","text":"TemporaryFile(/tmp/multipartBody5396050674022927387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441993544,"filename":"image_17082025_16_45_04_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2a8c5a3510bd4ed5e6d41cfea39b74c7.jpg","text":"TemporaryFile(/tmp/multipartBody3149466944665340734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441993544,"filename":"image_17082025_15_02_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/61e819e3a7bbb89bfe5b969e14334ab1.jpg","text":"TemporaryFile(/tmp/multipartBody5288327828644393378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755441993544,"filename":"image_17082025_16_45_14_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672339","file1":"1377672338","file0":"1377672337","file4":"1377672341","file5":"1377672343","file3":"1377672340"},"map_files_photo_id_array":[{"photo_id":"1377672343","filename":"file5"},{"photo_id":"1377672339","filename":"file2"},{"photo_id":"1377672341","filename":"file4"},{"photo_id":"1377672338","filename":"file1"},{"photo_id":"1377672337","filename":"file0"},{"photo_id":"1377672340","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672340":["hashtag1","hashtag2"]},{"1377672343":["hashtag1","hashtag2"]},{"1377672337":["hashtag1","hashtag2"]},{"1377672339":["hashtag1","hashtag2"]},{"1377672341":["hashtag1","hashtag2"]},{"1377672338":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672340, 1377672343, 1377672337, 1377672339, 1377672341, 1377672338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89651966094971 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:46:17.021374
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/46/image_17082025_16_46_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/16/46/image_17082025_16_46_14_9688.jpg', 2), ('/home/nano/Desktop/images/17082025/16/45/image_17082025_16_46_04_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/16/45/image_17082025_16_45_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/15/01/image_17082025_15_02_04_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/46/image_17082025_16_46_44_9640.jpg', '/home/nano/Desktop/images/17082025/16/46/image_17082025_16_46_14_9688.jpg', '/home/nano/Desktop/images/17082025/16/45/image_17082025_16_46_04_9658.jpg', '/home/nano/Desktop/images/17082025/16/45/image_17082025_16_45_34_9638.jpg', '/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_14_10668.jpg', '/home/nano/Desktop/images/17082025/15/01/image_17082025_15_02_04_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/46/image_17082025_16_46_44_9640.jpg
/home/nano/Desktop/images/17082025/16/46/image_17082025_16_46_14_9688.jpg
/home/nano/Desktop/images/17082025/16/45/image_17082025_16_46_04_9658.jpg
/home/nano/Desktop/images/17082025/16/45/image_17082025_16_45_34_9638.jpg
/home/nano/Desktop/images/17082025/15/02/image_17082025_15_02_14_10668.jpg
/home/nano/Desktop/images/17082025/15/01/image_17082025_15_02_04_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672361","1377672355","1377672358","1377672363","1377672353","1377672365"],"photo_ids_order":["1377672353","1377672355","1377672358","1377672361","1377672363","1377672365"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c583a674d443b5837c78a6f694d9f5ee.jpg","text":"TemporaryFile(/tmp/multipartBody8758609818344558707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442038618,"filename":"image_17082025_16_45_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6c0b786bddd0bbb2f020255348e956c9.jpg","text":"TemporaryFile(/tmp/multipartBody3376870222975916416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442038618,"filename":"image_17082025_16_46_14_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6ae796f824198c37c397c445d97d53a9.jpg","text":"TemporaryFile(/tmp/multipartBody845648088015033687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442038618,"filename":"image_17082025_16_46_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f24316955214070c82c08ac074cb0b4f.jpg","text":"TemporaryFile(/tmp/multipartBody6934449175019359371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442038618,"filename":"image_17082025_15_02_14_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0b2560e01b14f1f94ec29d19268f7fee.jpg","text":"TemporaryFile(/tmp/multipartBody7466134919436365978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442038618,"filename":"image_17082025_16_46_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/db915e158b831ea87e1d1469f80d385b.jpg","text":"TemporaryFile(/tmp/multipartBody1143399070148403732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442038618,"filename":"image_17082025_15_02_04_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672358","file1":"1377672355","file0":"1377672353","file4":"1377672363","file5":"1377672365","file3":"1377672361"},"map_files_photo_id_array":[{"photo_id":"1377672365","filename":"file5"},{"photo_id":"1377672358","filename":"file2"},{"photo_id":"1377672363","filename":"file4"},{"photo_id":"1377672355","filename":"file1"},{"photo_id":"1377672353","filename":"file0"},{"photo_id":"1377672361","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672361":["hashtag1","hashtag2"]},{"1377672355":["hashtag1","hashtag2"]},{"1377672358":["hashtag1","hashtag2"]},{"1377672363":["hashtag1","hashtag2"]},{"1377672353":["hashtag1","hashtag2"]},{"1377672365":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672361, 1377672355, 1377672358, 1377672363, 1377672353, 1377672365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.93782567977905 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:47:02.817883
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_15_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/15/00/image_17082025_15_01_04_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_54_9637.jpg', '/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_44_10646.jpg', '/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_34_9637.jpg', '/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_24_9639.jpg', '/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_15_10666.jpg', '/home/nano/Desktop/images/17082025/15/00/image_17082025_15_01_04_9658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_54_9637.jpg
/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_44_10646.jpg
/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_34_9637.jpg
/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_24_9639.jpg
/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_15_10666.jpg
/home/nano/Desktop/images/17082025/15/00/image_17082025_15_01_04_9658.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6494557857513428 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:47:17.141309
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/47/image_17082025_16_47_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/16/47/image_17082025_16_47_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/16/47/image_17082025_16_47_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/16/47/image_17082025_16_47_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/16/46/image_17082025_16_47_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/16/46/image_17082025_16_46_54_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/47/image_17082025_16_47_44_9641.jpg', '/home/nano/Desktop/images/17082025/16/47/image_17082025_16_47_34_9640.jpg', '/home/nano/Desktop/images/17082025/16/47/image_17082025_16_47_24_10650.jpg', '/home/nano/Desktop/images/17082025/16/47/image_17082025_16_47_14_9659.jpg', '/home/nano/Desktop/images/17082025/16/46/image_17082025_16_47_04_9643.jpg', '/home/nano/Desktop/images/17082025/16/46/image_17082025_16_46_54_10665.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/47/image_17082025_16_47_44_9641.jpg
/home/nano/Desktop/images/17082025/16/47/image_17082025_16_47_34_9640.jpg
/home/nano/Desktop/images/17082025/16/47/image_17082025_16_47_24_10650.jpg
/home/nano/Desktop/images/17082025/16/47/image_17082025_16_47_14_9659.jpg
/home/nano/Desktop/images/17082025/16/46/image_17082025_16_47_04_9643.jpg
/home/nano/Desktop/images/17082025/16/46/image_17082025_16_46_54_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672385","1377672379","1377672387","1377672389","1377672383","1377672377"],"photo_ids_order":["1377672377","1377672379","1377672383","1377672385","1377672387","1377672389"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fa86630c925da037e1fd22fa33d9d664.jpg","text":"TemporaryFile(/tmp/multipartBody1531709049420814442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442098589,"filename":"image_17082025_16_47_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0effc6b79bcaf017a62f37a9491c0d9d.jpg","text":"TemporaryFile(/tmp/multipartBody3143991744820301763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442098589,"filename":"image_17082025_16_47_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a3d2058554683c29ca35f2ce3fcea65c.jpg","text":"TemporaryFile(/tmp/multipartBody3831259069745706478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442098589,"filename":"image_17082025_16_47_04_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c21de856c3e2aab5eda17f02d6e8095c.jpg","text":"TemporaryFile(/tmp/multipartBody4154525878949531981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442098589,"filename":"image_17082025_16_46_54_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/813ebd9abd7c2307bceea01a98524789.jpg","text":"TemporaryFile(/tmp/multipartBody1175608121704640895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442098589,"filename":"image_17082025_16_47_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8e09783cae191c66d1b801383d68b969.jpg","text":"TemporaryFile(/tmp/multipartBody2030020481756358597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442098589,"filename":"image_17082025_16_47_44_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672383","file1":"1377672379","file0":"1377672377","file4":"1377672387","file5":"1377672389","file3":"1377672385"},"map_files_photo_id_array":[{"photo_id":"1377672389","filename":"file5"},{"photo_id":"1377672383","filename":"file2"},{"photo_id":"1377672387","filename":"file4"},{"photo_id":"1377672379","filename":"file1"},{"photo_id":"1377672377","filename":"file0"},{"photo_id":"1377672385","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672385":["hashtag1","hashtag2"]},{"1377672379":["hashtag1","hashtag2"]},{"1377672387":["hashtag1","hashtag2"]},{"1377672389":["hashtag1","hashtag2"]},{"1377672383":["hashtag1","hashtag2"]},{"1377672377":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672385, 1377672379, 1377672387, 1377672389, 1377672383, 1377672377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38081693649292 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:48:02.749208
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_15_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/15/00/image_17082025_15_01_04_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_54_9637.jpg', '/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_44_10646.jpg', '/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_34_9637.jpg', '/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_24_9639.jpg', '/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_15_10666.jpg', '/home/nano/Desktop/images/17082025/15/00/image_17082025_15_01_04_9658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_54_9637.jpg
/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_44_10646.jpg
/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_34_9637.jpg
/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_24_9639.jpg
/home/nano/Desktop/images/17082025/15/01/image_17082025_15_01_15_10666.jpg
/home/nano/Desktop/images/17082025/15/00/image_17082025_15_01_04_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672401","1377672412","1377672406","1377672396","1377672408","1377672405"],"photo_ids_order":["1377672396","1377672401","1377672405","1377672406","1377672408","1377672412"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3ef2be53a4275fff5231761828898d6b.jpg","text":"TemporaryFile(/tmp/multipartBody4840621196024610812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442144413,"filename":"image_17082025_15_01_44_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f99d4bf1ddfb09a4b8eb6a0b2d4418b5.jpg","text":"TemporaryFile(/tmp/multipartBody3476426991874748682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442144413,"filename":"image_17082025_15_01_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/30b2e9f7ca14c0c7f7fbb12d3447e91e.jpg","text":"TemporaryFile(/tmp/multipartBody9178397852252409844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442144413,"filename":"image_17082025_15_01_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/da4bb3cfd6a6e264327c21b8d749cf6d.jpg","text":"TemporaryFile(/tmp/multipartBody4736528504950208299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442144413,"filename":"image_17082025_15_01_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9003e1c0952d29a2e6950e1f346cd9fd.jpg","text":"TemporaryFile(/tmp/multipartBody1111014124277128796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442144413,"filename":"image_17082025_15_01_15_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a2212d211f069a30ff771435cda06553.jpg","text":"TemporaryFile(/tmp/multipartBody1628653973481601051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442144413,"filename":"image_17082025_15_01_34_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672405","file1":"1377672401","file0":"1377672396","file4":"1377672408","file5":"1377672412","file3":"1377672406"},"map_files_photo_id_array":[{"photo_id":"1377672412","filename":"file5"},{"photo_id":"1377672405","filename":"file2"},{"photo_id":"1377672408","filename":"file4"},{"photo_id":"1377672401","filename":"file1"},{"photo_id":"1377672396","filename":"file0"},{"photo_id":"1377672406","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672401":["hashtag1","hashtag2"]},{"1377672412":["hashtag1","hashtag2"]},{"1377672406":["hashtag1","hashtag2"]},{"1377672396":["hashtag1","hashtag2"]},{"1377672408":["hashtag1","hashtag2"]},{"1377672405":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672401, 1377672412, 1377672406, 1377672396, 1377672408, 1377672405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53186583518982 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:48:47.190385
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/48/image_17082025_16_48_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/16/47/image_17082025_16_48_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/16/47/image_17082025_16_47_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/15/00/image_17082025_15_00_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/15/00/image_17082025_15_00_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/15/00/image_17082025_15_00_34_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/48/image_17082025_16_48_34_9638.jpg', '/home/nano/Desktop/images/17082025/16/47/image_17082025_16_48_04_9664.jpg', '/home/nano/Desktop/images/17082025/16/47/image_17082025_16_47_54_10649.jpg', '/home/nano/Desktop/images/17082025/15/00/image_17082025_15_00_54_10647.jpg', '/home/nano/Desktop/images/17082025/15/00/image_17082025_15_00_44_9640.jpg', '/home/nano/Desktop/images/17082025/15/00/image_17082025_15_00_34_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/48/image_17082025_16_48_34_9638.jpg
/home/nano/Desktop/images/17082025/16/47/image_17082025_16_48_04_9664.jpg
/home/nano/Desktop/images/17082025/16/47/image_17082025_16_47_54_10649.jpg
/home/nano/Desktop/images/17082025/15/00/image_17082025_15_00_54_10647.jpg
/home/nano/Desktop/images/17082025/15/00/image_17082025_15_00_44_9640.jpg
/home/nano/Desktop/images/17082025/15/00/image_17082025_15_00_34_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672424","1377672438","1377672426","1377672429","1377672420","1377672422"],"photo_ids_order":["1377672420","1377672422","1377672424","1377672426","1377672429","1377672438"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0c314fd6e660d2b20c994a89a52d5e2d.jpg","text":"TemporaryFile(/tmp/multipartBody8420321305363599925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442188771,"filename":"image_17082025_16_47_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b525bf71edc88b9a6976d9c325e50ca1.jpg","text":"TemporaryFile(/tmp/multipartBody5257389707803573682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442188771,"filename":"image_17082025_15_00_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8cf15fa2378019771fc36e0259291b52.jpg","text":"TemporaryFile(/tmp/multipartBody7090380389033656359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442188771,"filename":"image_17082025_15_00_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6917e5eda2dc81ca86256492f2375152.jpg","text":"TemporaryFile(/tmp/multipartBody2629384800361712919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442188771,"filename":"image_17082025_15_00_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d869693892de44749337c71b901d1d76.jpg","text":"TemporaryFile(/tmp/multipartBody1541008197318442788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442188771,"filename":"image_17082025_16_48_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a22d9751abc46f520c543b651f8a7d03.jpg","text":"TemporaryFile(/tmp/multipartBody8204539693861681987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442188771,"filename":"image_17082025_16_48_04_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672424","file1":"1377672422","file0":"1377672420","file4":"1377672429","file5":"1377672438","file3":"1377672426"},"map_files_photo_id_array":[{"photo_id":"1377672438","filename":"file5"},{"photo_id":"1377672424","filename":"file2"},{"photo_id":"1377672429","filename":"file4"},{"photo_id":"1377672422","filename":"file1"},{"photo_id":"1377672420","filename":"file0"},{"photo_id":"1377672426","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672424":["hashtag1","hashtag2"]},{"1377672438":["hashtag1","hashtag2"]},{"1377672426":["hashtag1","hashtag2"]},{"1377672429":["hashtag1","hashtag2"]},{"1377672420":["hashtag1","hashtag2"]},{"1377672422":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672424, 1377672438, 1377672426, 1377672429, 1377672420, 1377672422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.208176136016846 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:49:32.317905
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/49/image_17082025_16_49_15_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/16/48/image_17082025_16_49_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/16/48/image_17082025_16_48_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/15/00/image_17082025_15_00_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/14/59/image_17082025_15_00_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/49/image_17082025_16_49_15_10665.jpg', '/home/nano/Desktop/images/17082025/16/48/image_17082025_16_49_04_9644.jpg', '/home/nano/Desktop/images/17082025/16/48/image_17082025_16_48_44_9641.jpg', '/home/nano/Desktop/images/17082025/15/00/image_17082025_15_00_14_9662.jpg', '/home/nano/Desktop/images/17082025/14/59/image_17082025_15_00_04_9654.jpg', '/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_54_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/49/image_17082025_16_49_15_10665.jpg
/home/nano/Desktop/images/17082025/16/48/image_17082025_16_49_04_9644.jpg
/home/nano/Desktop/images/17082025/16/48/image_17082025_16_48_44_9641.jpg
/home/nano/Desktop/images/17082025/15/00/image_17082025_15_00_14_9662.jpg
/home/nano/Desktop/images/17082025/14/59/image_17082025_15_00_04_9654.jpg
/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_54_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672460","1377672456","1377672447","1377672449","1377672458","1377672446"],"photo_ids_order":["1377672446","1377672447","1377672449","1377672456","1377672458","1377672460"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cc2647675b97755deefd250ee5ab0a63.jpg","text":"TemporaryFile(/tmp/multipartBody6259863558240500071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442234025,"filename":"image_17082025_14_59_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e0e10f10e04f3a289b6230fee6dd4865.jpg","text":"TemporaryFile(/tmp/multipartBody8866331202052674593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442234025,"filename":"image_17082025_15_00_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1df355c36be76261bfc070ccb2ffea5c.jpg","text":"TemporaryFile(/tmp/multipartBody9142353144496309761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442234025,"filename":"image_17082025_16_49_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/47166087d0d4b2df5ab51462dcbbfc07.jpg","text":"TemporaryFile(/tmp/multipartBody7774196083570918502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442234025,"filename":"image_17082025_16_48_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c40bfa710d30a32e9c3c132f110309bb.jpg","text":"TemporaryFile(/tmp/multipartBody2731721015332642625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442234025,"filename":"image_17082025_15_00_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5bf2dfe87d3c175124be536c0c3662e1.jpg","text":"TemporaryFile(/tmp/multipartBody4803842661567340754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442234025,"filename":"image_17082025_16_49_15_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672449","file1":"1377672447","file0":"1377672446","file4":"1377672458","file5":"1377672460","file3":"1377672456"},"map_files_photo_id_array":[{"photo_id":"1377672460","filename":"file5"},{"photo_id":"1377672449","filename":"file2"},{"photo_id":"1377672458","filename":"file4"},{"photo_id":"1377672447","filename":"file1"},{"photo_id":"1377672446","filename":"file0"},{"photo_id":"1377672456","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672460":["hashtag1","hashtag2"]},{"1377672456":["hashtag1","hashtag2"]},{"1377672447":["hashtag1","hashtag2"]},{"1377672449":["hashtag1","hashtag2"]},{"1377672458":["hashtag1","hashtag2"]},{"1377672446":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672460, 1377672456, 1377672447, 1377672449, 1377672458, 1377672446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00384521484375 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:50:17.409920
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/50/image_17082025_16_50_34_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/16/50/image_17082025_16_50_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/16/49/image_17082025_16_50_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/16/49/image_17082025_16_49_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_34_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/50/image_17082025_16_50_34_9660.jpg', '/home/nano/Desktop/images/17082025/16/50/image_17082025_16_50_24_9642.jpg', '/home/nano/Desktop/images/17082025/16/49/image_17082025_16_50_04_9650.jpg', '/home/nano/Desktop/images/17082025/16/49/image_17082025_16_49_54_9641.jpg', '/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_44_9638.jpg', '/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_34_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/50/image_17082025_16_50_34_9660.jpg
/home/nano/Desktop/images/17082025/16/50/image_17082025_16_50_24_9642.jpg
/home/nano/Desktop/images/17082025/16/49/image_17082025_16_50_04_9650.jpg
/home/nano/Desktop/images/17082025/16/49/image_17082025_16_49_54_9641.jpg
/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_44_9638.jpg
/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_34_9639.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.212313175201416 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:50:32.403263
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/50/image_17082025_16_50_34_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/16/50/image_17082025_16_50_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/16/49/image_17082025_16_50_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/16/49/image_17082025_16_49_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_34_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/50/image_17082025_16_50_34_9660.jpg', '/home/nano/Desktop/images/17082025/16/50/image_17082025_16_50_24_9642.jpg', '/home/nano/Desktop/images/17082025/16/49/image_17082025_16_50_04_9650.jpg', '/home/nano/Desktop/images/17082025/16/49/image_17082025_16_49_54_9641.jpg', '/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_44_9638.jpg', '/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_34_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/50/image_17082025_16_50_34_9660.jpg
/home/nano/Desktop/images/17082025/16/50/image_17082025_16_50_24_9642.jpg
/home/nano/Desktop/images/17082025/16/49/image_17082025_16_50_04_9650.jpg
/home/nano/Desktop/images/17082025/16/49/image_17082025_16_49_54_9641.jpg
/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_44_9638.jpg
/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_34_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672484","1377672478","1377672486","1377672480","1377672482","1377672476"],"photo_ids_order":["1377672476","1377672478","1377672480","1377672482","1377672484","1377672486"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/54657381d47ae7d44e340bb39fed6c34.jpg","text":"TemporaryFile(/tmp/multipartBody1979346233062885414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442293901,"filename":"image_17082025_14_59_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d4dc2689b254fe87193ac6c1eddc1902.jpg","text":"TemporaryFile(/tmp/multipartBody746753949202074164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442293901,"filename":"image_17082025_16_50_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0796df1528c31bef312719d2c17a301b.jpg","text":"TemporaryFile(/tmp/multipartBody8001679176573770191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442293901,"filename":"image_17082025_14_59_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a94a85fddacd6404f3a9a911141acd17.jpg","text":"TemporaryFile(/tmp/multipartBody113322976653194270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442293901,"filename":"image_17082025_16_50_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2497c95701cc873095903f0a3f167ebf.jpg","text":"TemporaryFile(/tmp/multipartBody2237578009635679025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442293901,"filename":"image_17082025_16_49_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e297d822948e331c0919f535672eac84.jpg","text":"TemporaryFile(/tmp/multipartBody8622820001983657304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442293901,"filename":"image_17082025_16_50_34_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672480","file1":"1377672478","file0":"1377672476","file4":"1377672484","file5":"1377672486","file3":"1377672482"},"map_files_photo_id_array":[{"photo_id":"1377672486","filename":"file5"},{"photo_id":"1377672480","filename":"file2"},{"photo_id":"1377672484","filename":"file4"},{"photo_id":"1377672478","filename":"file1"},{"photo_id":"1377672476","filename":"file0"},{"photo_id":"1377672482","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672484":["hashtag1","hashtag2"]},{"1377672478":["hashtag1","hashtag2"]},{"1377672486":["hashtag1","hashtag2"]},{"1377672480":["hashtag1","hashtag2"]},{"1377672482":["hashtag1","hashtag2"]},{"1377672476":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672484, 1377672478, 1377672486, 1377672480, 1377672482, 1377672476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.798683404922485 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:51:17.571536
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/51/image_17082025_16_51_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/16/51/image_17082025_16_51_14_10686.jpg', 2), ('/home/nano/Desktop/images/17082025/16/50/image_17082025_16_51_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/16/50/image_17082025_16_50_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_14_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/51/image_17082025_16_51_44_10648.jpg', '/home/nano/Desktop/images/17082025/16/51/image_17082025_16_51_14_10686.jpg', '/home/nano/Desktop/images/17082025/16/50/image_17082025_16_51_04_9651.jpg', '/home/nano/Desktop/images/17082025/16/50/image_17082025_16_50_44_10651.jpg', '/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_24_10647.jpg', '/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_14_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/51/image_17082025_16_51_44_10648.jpg
/home/nano/Desktop/images/17082025/16/51/image_17082025_16_51_14_10686.jpg
/home/nano/Desktop/images/17082025/16/50/image_17082025_16_51_04_9651.jpg
/home/nano/Desktop/images/17082025/16/50/image_17082025_16_50_44_10651.jpg
/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_24_10647.jpg
/home/nano/Desktop/images/17082025/14/59/image_17082025_14_59_14_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672500","1377672505","1377672507","1377672497","1377672503","1377672506"],"photo_ids_order":["1377672497","1377672500","1377672503","1377672505","1377672506","1377672507"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9816c216c489f59a69dc22494def299a.jpg","text":"TemporaryFile(/tmp/multipartBody395344659070723124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442339139,"filename":"image_17082025_16_51_14_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d9792a83d77fb965f953d3d9f66cd7ed.jpg","text":"TemporaryFile(/tmp/multipartBody8968623375380273484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442339139,"filename":"image_17082025_16_50_44_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e33ebcefda7c971350d3f7815943f919.jpg","text":"TemporaryFile(/tmp/multipartBody4407845801189614695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442339139,"filename":"image_17082025_14_59_14_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d73a274ca29dddf0eaa9da1d6b8300ca.jpg","text":"TemporaryFile(/tmp/multipartBody8956747564141880447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442339139,"filename":"image_17082025_16_51_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1390547fa28a2918af5ed034af6a4c5b.jpg","text":"TemporaryFile(/tmp/multipartBody5939881437207999512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442339139,"filename":"image_17082025_16_51_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2436ea2f8860df8584da57a914f35db5.jpg","text":"TemporaryFile(/tmp/multipartBody6628108852077182270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442339139,"filename":"image_17082025_14_59_24_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672503","file1":"1377672500","file0":"1377672497","file4":"1377672506","file5":"1377672507","file3":"1377672505"},"map_files_photo_id_array":[{"photo_id":"1377672507","filename":"file5"},{"photo_id":"1377672503","filename":"file2"},{"photo_id":"1377672506","filename":"file4"},{"photo_id":"1377672500","filename":"file1"},{"photo_id":"1377672497","filename":"file0"},{"photo_id":"1377672505","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672500":["hashtag1","hashtag2"]},{"1377672505":["hashtag1","hashtag2"]},{"1377672507":["hashtag1","hashtag2"]},{"1377672497":["hashtag1","hashtag2"]},{"1377672503":["hashtag1","hashtag2"]},{"1377672506":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672500, 1377672505, 1377672507, 1377672497, 1377672503, 1377672506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.560028314590454 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:52:03.073133
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/58/image_17082025_14_59_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/14/58/image_17082025_14_58_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/58/image_17082025_14_58_44_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/14/58/image_17082025_14_58_34_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/58/image_17082025_14_58_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/14/57/image_17082025_14_58_04_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/58/image_17082025_14_59_04_9641.jpg', '/home/nano/Desktop/images/17082025/14/58/image_17082025_14_58_54_10647.jpg', '/home/nano/Desktop/images/17082025/14/58/image_17082025_14_58_44_9657.jpg', '/home/nano/Desktop/images/17082025/14/58/image_17082025_14_58_34_9647.jpg', '/home/nano/Desktop/images/17082025/14/58/image_17082025_14_58_24_10650.jpg', '/home/nano/Desktop/images/17082025/14/57/image_17082025_14_58_04_9648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/58/image_17082025_14_59_04_9641.jpg
/home/nano/Desktop/images/17082025/14/58/image_17082025_14_58_54_10647.jpg
/home/nano/Desktop/images/17082025/14/58/image_17082025_14_58_44_9657.jpg
/home/nano/Desktop/images/17082025/14/58/image_17082025_14_58_34_9647.jpg
/home/nano/Desktop/images/17082025/14/58/image_17082025_14_58_24_10650.jpg
/home/nano/Desktop/images/17082025/14/57/image_17082025_14_58_04_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672532","1377672526","1377672529","1377672514","1377672523","1377672531"],"photo_ids_order":["1377672514","1377672523","1377672526","1377672529","1377672531","1377672532"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2ec0045397ad2cc1fb3809f90b55f61b.jpg","text":"TemporaryFile(/tmp/multipartBody1333135652120492036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442385000,"filename":"image_17082025_14_58_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1884ff4233884c53432423aeebb54adb.jpg","text":"TemporaryFile(/tmp/multipartBody756537756056943979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442385000,"filename":"image_17082025_14_58_44_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/602fb0b50b5859b1e5e51b857a2b0d27.jpg","text":"TemporaryFile(/tmp/multipartBody2093767016675181784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442385000,"filename":"image_17082025_14_58_34_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/13a5b6a23bbb795a926a3c8d38a6c133.jpg","text":"TemporaryFile(/tmp/multipartBody3198862321442973595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442385000,"filename":"image_17082025_14_59_04_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a88010f76c9f3e0ce836b1855f3d0e86.jpg","text":"TemporaryFile(/tmp/multipartBody2010290151214019088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442385000,"filename":"image_17082025_14_58_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d8223dfe2f6ccd6cf788d6874c3ba835.jpg","text":"TemporaryFile(/tmp/multipartBody2229865087819735891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442385000,"filename":"image_17082025_14_58_24_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672526","file1":"1377672523","file0":"1377672514","file4":"1377672531","file5":"1377672532","file3":"1377672529"},"map_files_photo_id_array":[{"photo_id":"1377672532","filename":"file5"},{"photo_id":"1377672526","filename":"file2"},{"photo_id":"1377672531","filename":"file4"},{"photo_id":"1377672523","filename":"file1"},{"photo_id":"1377672514","filename":"file0"},{"photo_id":"1377672529","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672532":["hashtag1","hashtag2"]},{"1377672526":["hashtag1","hashtag2"]},{"1377672529":["hashtag1","hashtag2"]},{"1377672514":["hashtag1","hashtag2"]},{"1377672523":["hashtag1","hashtag2"]},{"1377672531":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672532, 1377672526, 1377672529, 1377672514, 1377672523, 1377672531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.44117069244385 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:52:47.608076
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/52/image_17082025_16_52_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/16/51/image_17082025_16_52_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/16/51/image_17082025_16_51_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_24_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/52/image_17082025_16_52_24_9640.jpg', '/home/nano/Desktop/images/17082025/16/51/image_17082025_16_52_04_9646.jpg', '/home/nano/Desktop/images/17082025/16/51/image_17082025_16_51_54_9638.jpg', '/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_44_9637.jpg', '/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_34_10649.jpg', '/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_24_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/52/image_17082025_16_52_24_9640.jpg
/home/nano/Desktop/images/17082025/16/51/image_17082025_16_52_04_9646.jpg
/home/nano/Desktop/images/17082025/16/51/image_17082025_16_51_54_9638.jpg
/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_44_9637.jpg
/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_34_10649.jpg
/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_24_9637.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.549919366836548 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:53:03.401726
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/52/image_17082025_16_52_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/16/51/image_17082025_16_52_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/16/51/image_17082025_16_51_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_24_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/52/image_17082025_16_52_24_9640.jpg', '/home/nano/Desktop/images/17082025/16/51/image_17082025_16_52_04_9646.jpg', '/home/nano/Desktop/images/17082025/16/51/image_17082025_16_51_54_9638.jpg', '/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_44_9637.jpg', '/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_34_10649.jpg', '/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_24_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/52/image_17082025_16_52_24_9640.jpg
/home/nano/Desktop/images/17082025/16/51/image_17082025_16_52_04_9646.jpg
/home/nano/Desktop/images/17082025/16/51/image_17082025_16_51_54_9638.jpg
/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_44_9637.jpg
/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_34_10649.jpg
/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_24_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672553","1377672555","1377672551","1377672548","1377672557","1377672539"],"photo_ids_order":["1377672539","1377672548","1377672551","1377672553","1377672555","1377672557"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/01cb4b0c97d10e3dc92425d453dfee06.jpg","text":"TemporaryFile(/tmp/multipartBody3517905598723742257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442444726,"filename":"image_17082025_14_57_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d9a1a64cfd3efc3887dee72bacbac5b1.jpg","text":"TemporaryFile(/tmp/multipartBody1648840515100161977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442444726,"filename":"image_17082025_14_57_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/03d76ba61f07ef6b3e37ad49e0ba7ed5.jpg","text":"TemporaryFile(/tmp/multipartBody1753356166046534736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442444726,"filename":"image_17082025_16_51_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2d47d233ffefab9381206c9d4f2ba0c6.jpg","text":"TemporaryFile(/tmp/multipartBody7640395356786776210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442444726,"filename":"image_17082025_16_52_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/616dbf7c6cb6538e3793d263610e7389.jpg","text":"TemporaryFile(/tmp/multipartBody1263973806257213001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442444726,"filename":"image_17082025_14_57_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/461113e669e0ed73e44f8441a4a98f97.jpg","text":"TemporaryFile(/tmp/multipartBody3398566446661840032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442444726,"filename":"image_17082025_16_52_24_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672551","file1":"1377672548","file0":"1377672539","file4":"1377672555","file5":"1377672557","file3":"1377672553"},"map_files_photo_id_array":[{"photo_id":"1377672557","filename":"file5"},{"photo_id":"1377672551","filename":"file2"},{"photo_id":"1377672555","filename":"file4"},{"photo_id":"1377672548","filename":"file1"},{"photo_id":"1377672539","filename":"file0"},{"photo_id":"1377672553","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672553":["hashtag1","hashtag2"]},{"1377672555":["hashtag1","hashtag2"]},{"1377672551":["hashtag1","hashtag2"]},{"1377672548":["hashtag1","hashtag2"]},{"1377672557":["hashtag1","hashtag2"]},{"1377672539":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672553, 1377672555, 1377672551, 1377672548, 1377672557, 1377672539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81294822692871 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:53:47.711251
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/53/image_17082025_16_53_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/16/52/image_17082025_16_53_05_10680.jpg', 2), ('/home/nano/Desktop/images/17082025/16/52/image_17082025_16_52_44_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_14_9683.jpg', 2), ('/home/nano/Desktop/images/17082025/14/56/image_17082025_14_57_04_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/14/56/image_17082025_14_56_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/53/image_17082025_16_53_24_9638.jpg', '/home/nano/Desktop/images/17082025/16/52/image_17082025_16_53_05_10680.jpg', '/home/nano/Desktop/images/17082025/16/52/image_17082025_16_52_44_9656.jpg', '/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_14_9683.jpg', '/home/nano/Desktop/images/17082025/14/56/image_17082025_14_57_04_10653.jpg', '/home/nano/Desktop/images/17082025/14/56/image_17082025_14_56_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/53/image_17082025_16_53_24_9638.jpg
/home/nano/Desktop/images/17082025/16/52/image_17082025_16_53_05_10680.jpg
/home/nano/Desktop/images/17082025/16/52/image_17082025_16_52_44_9656.jpg
/home/nano/Desktop/images/17082025/14/57/image_17082025_14_57_14_9683.jpg
/home/nano/Desktop/images/17082025/14/56/image_17082025_14_57_04_10653.jpg
/home/nano/Desktop/images/17082025/14/56/image_17082025_14_56_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672562","1377672567","1377672564","1377672566","1377672575","1377672560"],"photo_ids_order":["1377672560","1377672562","1377672564","1377672566","1377672567","1377672575"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bd62e2ca7b654d363061d2d2d373dbe7.jpg","text":"TemporaryFile(/tmp/multipartBody1571090450409901333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442489303,"filename":"image_17082025_16_53_05_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8097c5b55db76854673db2ce009b729b.jpg","text":"TemporaryFile(/tmp/multipartBody1995476161529386488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442489303,"filename":"image_17082025_14_57_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3e0944ea092cb06d93faee2cdf5dd43c.jpg","text":"TemporaryFile(/tmp/multipartBody3005326253083467747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442489303,"filename":"image_17082025_16_52_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/04533829f012e9a1469d46716f56c9d8.jpg","text":"TemporaryFile(/tmp/multipartBody2579989038592395287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442489303,"filename":"image_17082025_14_57_14_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/88904e2c81de0d670aeecda669f63ccb.jpg","text":"TemporaryFile(/tmp/multipartBody6856729225126810672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442489303,"filename":"image_17082025_14_56_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/49985c32837fbdbe755a2bdffece83b8.jpg","text":"TemporaryFile(/tmp/multipartBody6934130831399779138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442489303,"filename":"image_17082025_16_53_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672564","file1":"1377672562","file0":"1377672560","file4":"1377672567","file5":"1377672575","file3":"1377672566"},"map_files_photo_id_array":[{"photo_id":"1377672575","filename":"file5"},{"photo_id":"1377672564","filename":"file2"},{"photo_id":"1377672567","filename":"file4"},{"photo_id":"1377672562","filename":"file1"},{"photo_id":"1377672560","filename":"file0"},{"photo_id":"1377672566","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672562":["hashtag1","hashtag2"]},{"1377672567":["hashtag1","hashtag2"]},{"1377672564":["hashtag1","hashtag2"]},{"1377672566":["hashtag1","hashtag2"]},{"1377672575":["hashtag1","hashtag2"]},{"1377672560":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672562, 1377672567, 1377672564, 1377672566, 1377672575, 1377672560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8138484954834 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:54:31.820431
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/54/image_17082025_16_54_34_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/16/54/image_17082025_16_54_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/16/53/image_17082025_16_54_04_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/16/53/image_17082025_16_53_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/56/image_17082025_14_56_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/56/image_17082025_14_56_34_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/54/image_17082025_16_54_34_10664.jpg', '/home/nano/Desktop/images/17082025/16/54/image_17082025_16_54_14_9655.jpg', '/home/nano/Desktop/images/17082025/16/53/image_17082025_16_54_04_10671.jpg', '/home/nano/Desktop/images/17082025/16/53/image_17082025_16_53_34_10647.jpg', '/home/nano/Desktop/images/17082025/14/56/image_17082025_14_56_44_9638.jpg', '/home/nano/Desktop/images/17082025/14/56/image_17082025_14_56_34_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/54/image_17082025_16_54_34_10664.jpg
/home/nano/Desktop/images/17082025/16/54/image_17082025_16_54_14_9655.jpg
/home/nano/Desktop/images/17082025/16/53/image_17082025_16_54_04_10671.jpg
/home/nano/Desktop/images/17082025/16/53/image_17082025_16_53_34_10647.jpg
/home/nano/Desktop/images/17082025/14/56/image_17082025_14_56_44_9638.jpg
/home/nano/Desktop/images/17082025/14/56/image_17082025_14_56_34_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672586","1377672588","1377672582","1377672590","1377672584","1377672592"],"photo_ids_order":["1377672582","1377672584","1377672586","1377672588","1377672590","1377672592"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d544861bf92aa6e6ab6d51fdb88557d2.jpg","text":"TemporaryFile(/tmp/multipartBody2269169802282814440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442533484,"filename":"image_17082025_16_54_04_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5fb218ea4b98c3e5f5e5b165f1605dd6.jpg","text":"TemporaryFile(/tmp/multipartBody3792814682340092025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442533484,"filename":"image_17082025_16_53_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8bfafa81d6a37ef94d85ab9f303d48a3.jpg","text":"TemporaryFile(/tmp/multipartBody6101750703926311029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442533484,"filename":"image_17082025_16_54_34_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3aa17636305b89c8f3d9c245318df418.jpg","text":"TemporaryFile(/tmp/multipartBody3238405928939822699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442533484,"filename":"image_17082025_14_56_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9dcf72d775fcb81ce4126aa85e271fbe.jpg","text":"TemporaryFile(/tmp/multipartBody6647019140439772185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442533484,"filename":"image_17082025_16_54_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e0459b5792b15ff750f856125ebdfd6c.jpg","text":"TemporaryFile(/tmp/multipartBody3169028143068528217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442533484,"filename":"image_17082025_14_56_34_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672586","file1":"1377672584","file0":"1377672582","file4":"1377672590","file5":"1377672592","file3":"1377672588"},"map_files_photo_id_array":[{"photo_id":"1377672592","filename":"file5"},{"photo_id":"1377672586","filename":"file2"},{"photo_id":"1377672590","filename":"file4"},{"photo_id":"1377672584","filename":"file1"},{"photo_id":"1377672582","filename":"file0"},{"photo_id":"1377672588","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672586":["hashtag1","hashtag2"]},{"1377672588":["hashtag1","hashtag2"]},{"1377672582":["hashtag1","hashtag2"]},{"1377672590":["hashtag1","hashtag2"]},{"1377672584":["hashtag1","hashtag2"]},{"1377672592":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672586, 1377672588, 1377672582, 1377672590, 1377672584, 1377672592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88055777549744 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:55:16.962783
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/55/image_17082025_16_55_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/16/55/image_17082025_16_55_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/16/55/image_17082025_16_55_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/16/55/image_17082025_16_55_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/16/54/image_17082025_16_54_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/56/image_17082025_14_56_24_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/55/image_17082025_16_55_44_9637.jpg', '/home/nano/Desktop/images/17082025/16/55/image_17082025_16_55_34_10649.jpg', '/home/nano/Desktop/images/17082025/16/55/image_17082025_16_55_24_9637.jpg', '/home/nano/Desktop/images/17082025/16/55/image_17082025_16_55_14_9662.jpg', '/home/nano/Desktop/images/17082025/16/54/image_17082025_16_54_44_9638.jpg', '/home/nano/Desktop/images/17082025/14/56/image_17082025_14_56_24_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/55/image_17082025_16_55_44_9637.jpg
/home/nano/Desktop/images/17082025/16/55/image_17082025_16_55_34_10649.jpg
/home/nano/Desktop/images/17082025/16/55/image_17082025_16_55_24_9637.jpg
/home/nano/Desktop/images/17082025/16/55/image_17082025_16_55_14_9662.jpg
/home/nano/Desktop/images/17082025/16/54/image_17082025_16_54_44_9638.jpg
/home/nano/Desktop/images/17082025/14/56/image_17082025_14_56_24_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672601","1377672604","1377672603","1377672606","1377672609","1377672611"],"photo_ids_order":["1377672601","1377672603","1377672604","1377672606","1377672609","1377672611"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a181cb3068a31b056efdb22b7ad6dcde.jpg","text":"TemporaryFile(/tmp/multipartBody2568904579180085101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442578625,"filename":"image_17082025_16_55_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0b30cdfb3833ae8c6a2d186cab10d7f7.jpg","text":"TemporaryFile(/tmp/multipartBody6751105502706334766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442578625,"filename":"image_17082025_16_55_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/30840e188da91520b35ad1ad8baaa7cc.jpg","text":"TemporaryFile(/tmp/multipartBody1287008808276482163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442578625,"filename":"image_17082025_16_55_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e521276f8e79e755954f22d3d6f9701d.jpg","text":"TemporaryFile(/tmp/multipartBody3388984759297826312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442578625,"filename":"image_17082025_16_55_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/91e73943d8ccca07328f273e26ee42a8.jpg","text":"TemporaryFile(/tmp/multipartBody6110202850130015169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442578625,"filename":"image_17082025_16_54_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f875d31ade2d935788399342f63c793d.jpg","text":"TemporaryFile(/tmp/multipartBody6363710340045460891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442578625,"filename":"image_17082025_14_56_24_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672604","file1":"1377672603","file0":"1377672601","file4":"1377672609","file5":"1377672611","file3":"1377672606"},"map_files_photo_id_array":[{"photo_id":"1377672611","filename":"file5"},{"photo_id":"1377672604","filename":"file2"},{"photo_id":"1377672609","filename":"file4"},{"photo_id":"1377672603","filename":"file1"},{"photo_id":"1377672601","filename":"file0"},{"photo_id":"1377672606","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672601":["hashtag1","hashtag2"]},{"1377672604":["hashtag1","hashtag2"]},{"1377672603":["hashtag1","hashtag2"]},{"1377672606":["hashtag1","hashtag2"]},{"1377672609":["hashtag1","hashtag2"]},{"1377672611":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672601, 1377672604, 1377672603, 1377672606, 1377672609, 1377672611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.168453216552734 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:56:02.681368
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/56/image_17082025_14_56_14_9672.jpg', 2), ('/home/nano/Desktop/images/17082025/14/55/image_17082025_14_56_04_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/14/55/image_17082025_14_55_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/55/image_17082025_14_55_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/55/image_17082025_14_55_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/55/image_17082025_14_55_14_9663.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/56/image_17082025_14_56_14_9672.jpg', '/home/nano/Desktop/images/17082025/14/55/image_17082025_14_56_04_10656.jpg', '/home/nano/Desktop/images/17082025/14/55/image_17082025_14_55_54_9639.jpg', '/home/nano/Desktop/images/17082025/14/55/image_17082025_14_55_44_9637.jpg', '/home/nano/Desktop/images/17082025/14/55/image_17082025_14_55_24_9640.jpg', '/home/nano/Desktop/images/17082025/14/55/image_17082025_14_55_14_9663.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/56/image_17082025_14_56_14_9672.jpg
/home/nano/Desktop/images/17082025/14/55/image_17082025_14_56_04_10656.jpg
/home/nano/Desktop/images/17082025/14/55/image_17082025_14_55_54_9639.jpg
/home/nano/Desktop/images/17082025/14/55/image_17082025_14_55_44_9637.jpg
/home/nano/Desktop/images/17082025/14/55/image_17082025_14_55_24_9640.jpg
/home/nano/Desktop/images/17082025/14/55/image_17082025_14_55_14_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672628","1377672630","1377672627","1377672620","1377672617","1377672626"],"photo_ids_order":["1377672617","1377672620","1377672626","1377672627","1377672628","1377672630"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9c3fbb33ae81a2e38ead1df8b92c3d52.jpg","text":"TemporaryFile(/tmp/multipartBody5841085111562979735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442624341,"filename":"image_17082025_14_55_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d2fb61dc4ba7df9bd9c48ea4eacd2477.jpg","text":"TemporaryFile(/tmp/multipartBody7734584850413817571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442624341,"filename":"image_17082025_14_55_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c6bd087deb11ee53be70e5141c5189bb.jpg","text":"TemporaryFile(/tmp/multipartBody6758789618994502793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442624341,"filename":"image_17082025_14_55_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b18d8fce71236d5b011dbccfd2c40d9f.jpg","text":"TemporaryFile(/tmp/multipartBody616085402412858825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442624341,"filename":"image_17082025_14_56_04_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3c08d14783f5bb14efd2c07ff137e9f4.jpg","text":"TemporaryFile(/tmp/multipartBody5605565563194377795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442624341,"filename":"image_17082025_14_56_14_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f5fedbb3ef7ed2a98102ef37bba24b6f.jpg","text":"TemporaryFile(/tmp/multipartBody3957345762573672479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442624341,"filename":"image_17082025_14_55_54_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672626","file1":"1377672620","file0":"1377672617","file4":"1377672628","file5":"1377672630","file3":"1377672627"},"map_files_photo_id_array":[{"photo_id":"1377672630","filename":"file5"},{"photo_id":"1377672626","filename":"file2"},{"photo_id":"1377672628","filename":"file4"},{"photo_id":"1377672620","filename":"file1"},{"photo_id":"1377672617","filename":"file0"},{"photo_id":"1377672627","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672628":["hashtag1","hashtag2"]},{"1377672630":["hashtag1","hashtag2"]},{"1377672627":["hashtag1","hashtag2"]},{"1377672620":["hashtag1","hashtag2"]},{"1377672617":["hashtag1","hashtag2"]},{"1377672626":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672628, 1377672630, 1377672627, 1377672620, 1377672617, 1377672626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42374324798584 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:56:47.016897
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/56/image_17082025_16_56_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/16/56/image_17082025_16_56_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/16/56/image_17082025_16_56_25_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/16/56/image_17082025_16_56_14_9680.jpg', 2), ('/home/nano/Desktop/images/17082025/16/55/image_17082025_16_56_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/16/55/image_17082025_16_55_55_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/56/image_17082025_16_56_44_9638.jpg', '/home/nano/Desktop/images/17082025/16/56/image_17082025_16_56_34_9639.jpg', '/home/nano/Desktop/images/17082025/16/56/image_17082025_16_56_25_10656.jpg', '/home/nano/Desktop/images/17082025/16/56/image_17082025_16_56_14_9680.jpg', '/home/nano/Desktop/images/17082025/16/55/image_17082025_16_56_04_9645.jpg', '/home/nano/Desktop/images/17082025/16/55/image_17082025_16_55_55_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/56/image_17082025_16_56_44_9638.jpg
/home/nano/Desktop/images/17082025/16/56/image_17082025_16_56_34_9639.jpg
/home/nano/Desktop/images/17082025/16/56/image_17082025_16_56_25_10656.jpg
/home/nano/Desktop/images/17082025/16/56/image_17082025_16_56_14_9680.jpg
/home/nano/Desktop/images/17082025/16/55/image_17082025_16_56_04_9645.jpg
/home/nano/Desktop/images/17082025/16/55/image_17082025_16_55_55_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672649","1377672640","1377672642","1377672636","1377672639","1377672641"],"photo_ids_order":["1377672636","1377672639","1377672640","1377672641","1377672642","1377672649"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d6c13a27d8b2974aba2433ea10313a0c.jpg","text":"TemporaryFile(/tmp/multipartBody120919152607592765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442668874,"filename":"image_17082025_16_55_55_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b7a2f177bf9a4cb13b77fa3958ea383d.jpg","text":"TemporaryFile(/tmp/multipartBody136757778875444055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442668874,"filename":"image_17082025_16_56_25_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8575e0fabe2b0d63b2fe8b878421826a.jpg","text":"TemporaryFile(/tmp/multipartBody3511777008373416733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442668874,"filename":"image_17082025_16_56_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6b79c5eab7db639d0fbe99b699626a11.jpg","text":"TemporaryFile(/tmp/multipartBody8357037958094642285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442668874,"filename":"image_17082025_16_56_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e5c5fa10425371dd4e54cb1d8162e980.jpg","text":"TemporaryFile(/tmp/multipartBody6855304667914203837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442668874,"filename":"image_17082025_16_56_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dc732fd3f2cce1319c1ef1118630090a.jpg","text":"TemporaryFile(/tmp/multipartBody8012214379373794773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442668874,"filename":"image_17082025_16_56_14_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672640","file1":"1377672639","file0":"1377672636","file4":"1377672642","file5":"1377672649","file3":"1377672641"},"map_files_photo_id_array":[{"photo_id":"1377672649","filename":"file5"},{"photo_id":"1377672640","filename":"file2"},{"photo_id":"1377672642","filename":"file4"},{"photo_id":"1377672639","filename":"file1"},{"photo_id":"1377672636","filename":"file0"},{"photo_id":"1377672641","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672649":["hashtag1","hashtag2"]},{"1377672640":["hashtag1","hashtag2"]},{"1377672642":["hashtag1","hashtag2"]},{"1377672636":["hashtag1","hashtag2"]},{"1377672639":["hashtag1","hashtag2"]},{"1377672641":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672649, 1377672640, 1377672642, 1377672636, 1377672639, 1377672641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.349008560180664 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:57:32.134315
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/57/image_17082025_16_57_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/16/57/image_17082025_16_57_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/16/57/image_17082025_16_57_14_9702.jpg', 2), ('/home/nano/Desktop/images/17082025/16/56/image_17082025_16_57_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/16/56/image_17082025_16_56_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/54/image_17082025_14_55_05_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/57/image_17082025_16_57_34_9637.jpg', '/home/nano/Desktop/images/17082025/16/57/image_17082025_16_57_24_10647.jpg', '/home/nano/Desktop/images/17082025/16/57/image_17082025_16_57_14_9702.jpg', '/home/nano/Desktop/images/17082025/16/56/image_17082025_16_57_04_9653.jpg', '/home/nano/Desktop/images/17082025/16/56/image_17082025_16_56_54_10647.jpg', '/home/nano/Desktop/images/17082025/14/54/image_17082025_14_55_05_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/57/image_17082025_16_57_34_9637.jpg
/home/nano/Desktop/images/17082025/16/57/image_17082025_16_57_24_10647.jpg
/home/nano/Desktop/images/17082025/16/57/image_17082025_16_57_14_9702.jpg
/home/nano/Desktop/images/17082025/16/56/image_17082025_16_57_04_9653.jpg
/home/nano/Desktop/images/17082025/16/56/image_17082025_16_56_54_10647.jpg
/home/nano/Desktop/images/17082025/14/54/image_17082025_14_55_05_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:59:03.647577
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/58/image_17082025_16_58_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/16/58/image_17082025_16_58_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/16/57/image_17082025_16_58_04_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/16/57/image_17082025_16_57_54_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/16/57/image_17082025_16_57_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/16/57/image_17082025_16_57_24_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/58/image_17082025_16_58_34_9641.jpg', '/home/nano/Desktop/images/17082025/16/58/image_17082025_16_58_24_10648.jpg', '/home/nano/Desktop/images/17082025/16/57/image_17082025_16_58_04_9663.jpg', '/home/nano/Desktop/images/17082025/16/57/image_17082025_16_57_54_10651.jpg', '/home/nano/Desktop/images/17082025/16/57/image_17082025_16_57_34_9637.jpg', '/home/nano/Desktop/images/17082025/16/57/image_17082025_16_57_24_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/58/image_17082025_16_58_34_9641.jpg
/home/nano/Desktop/images/17082025/16/58/image_17082025_16_58_24_10648.jpg
/home/nano/Desktop/images/17082025/16/57/image_17082025_16_58_04_9663.jpg
/home/nano/Desktop/images/17082025/16/57/image_17082025_16_57_54_10651.jpg
/home/nano/Desktop/images/17082025/16/57/image_17082025_16_57_34_9637.jpg
/home/nano/Desktop/images/17082025/16/57/image_17082025_16_57_24_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672670","1377672687","1377672681","1377672675","1377672683","1377672686"],"photo_ids_order":["1377672670","1377672675","1377672681","1377672683","1377672686","1377672687"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4eddb1b1e1b7f78e66b9f5a1adb732d7.jpg","text":"TemporaryFile(/tmp/multipartBody6150207515985705125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442805156,"filename":"image_17082025_16_58_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/37034ac07770f93db2f9377fb47245b5.jpg","text":"TemporaryFile(/tmp/multipartBody7393783455036899456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442805156,"filename":"image_17082025_16_57_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f72bc70658eef673f65ec90753577893.jpg","text":"TemporaryFile(/tmp/multipartBody7189606422524687975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442805156,"filename":"image_17082025_16_58_04_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7c52c38f59951eef9425e1eec7754f9b.jpg","text":"TemporaryFile(/tmp/multipartBody2047611782135579819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442805156,"filename":"image_17082025_16_58_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4df308457a77033e50bba8816779915d.jpg","text":"TemporaryFile(/tmp/multipartBody2856282958765995299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442805156,"filename":"image_17082025_16_57_54_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/146bc917ac9dc0398c1be52b55cecd29.jpg","text":"TemporaryFile(/tmp/multipartBody7811022276590323168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442805156,"filename":"image_17082025_16_57_34_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672681","file1":"1377672675","file0":"1377672670","file4":"1377672686","file5":"1377672687","file3":"1377672683"},"map_files_photo_id_array":[{"photo_id":"1377672687","filename":"file5"},{"photo_id":"1377672681","filename":"file2"},{"photo_id":"1377672686","filename":"file4"},{"photo_id":"1377672675","filename":"file1"},{"photo_id":"1377672670","filename":"file0"},{"photo_id":"1377672683","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672670":["hashtag1","hashtag2"]},{"1377672687":["hashtag1","hashtag2"]},{"1377672681":["hashtag1","hashtag2"]},{"1377672675":["hashtag1","hashtag2"]},{"1377672683":["hashtag1","hashtag2"]},{"1377672686":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672670, 1377672687, 1377672681, 1377672675, 1377672683, 1377672686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.338953256607056 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 16:59:47.685648
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/59/image_17082025_16_59_45_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/16/59/image_17082025_16_59_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/16/58/image_17082025_16_59_04_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/16/58/image_17082025_16_58_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/16/57/image_17082025_16_57_14_9702.jpg', 2), ('/home/nano/Desktop/images/17082025/16/56/image_17082025_16_57_04_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/59/image_17082025_16_59_45_10648.jpg', '/home/nano/Desktop/images/17082025/16/59/image_17082025_16_59_34_9638.jpg', '/home/nano/Desktop/images/17082025/16/58/image_17082025_16_59_04_9639.jpg', '/home/nano/Desktop/images/17082025/16/58/image_17082025_16_58_54_10647.jpg', '/home/nano/Desktop/images/17082025/16/57/image_17082025_16_57_14_9702.jpg', '/home/nano/Desktop/images/17082025/16/56/image_17082025_16_57_04_9653.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/59/image_17082025_16_59_45_10648.jpg
/home/nano/Desktop/images/17082025/16/59/image_17082025_16_59_34_9638.jpg
/home/nano/Desktop/images/17082025/16/58/image_17082025_16_59_04_9639.jpg
/home/nano/Desktop/images/17082025/16/58/image_17082025_16_58_54_10647.jpg
/home/nano/Desktop/images/17082025/16/57/image_17082025_16_57_14_9702.jpg
/home/nano/Desktop/images/17082025/16/56/image_17082025_16_57_04_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672693","1377672777","1377672717","1377672746","1377672815","1377672694"],"photo_ids_order":["1377672693","1377672694","1377672717","1377672746","1377672777","1377672815"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d337be54bcc82193aa4ae8cf4b6bce2e.jpg","text":"TemporaryFile(/tmp/multipartBody9023007121742505446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442849208,"filename":"image_17082025_16_59_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6fa9c9989f22190fbfb80c1740042537.jpg","text":"TemporaryFile(/tmp/multipartBody4325368428431812832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442849208,"filename":"image_17082025_16_57_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5bafd18ee38ae78e981cf9fb58c05eef.jpg","text":"TemporaryFile(/tmp/multipartBody878594923148464988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442849208,"filename":"image_17082025_16_59_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/408a9e19c9b19d52a5fab1e456462e73.jpg","text":"TemporaryFile(/tmp/multipartBody5514737317301211042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442849208,"filename":"image_17082025_16_58_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c1e056b85a7a8973f84348a2378181a0.jpg","text":"TemporaryFile(/tmp/multipartBody4154710508758073503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442849208,"filename":"image_17082025_16_57_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0d5ff8a34216062fb336b8b735511abe.jpg","text":"TemporaryFile(/tmp/multipartBody3882752825421542923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442849208,"filename":"image_17082025_16_59_34_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377672717","file1":"1377672694","file0":"1377672693","file4":"1377672777","file5":"1377672815","file3":"1377672746"},"map_files_photo_id_array":[{"photo_id":"1377672815","filename":"file5"},{"photo_id":"1377672717","filename":"file2"},{"photo_id":"1377672777","filename":"file4"},{"photo_id":"1377672694","filename":"file1"},{"photo_id":"1377672693","filename":"file0"},{"photo_id":"1377672746","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672693":["hashtag1","hashtag2"]},{"1377672777":["hashtag1","hashtag2"]},{"1377672717":["hashtag1","hashtag2"]},{"1377672746":["hashtag1","hashtag2"]},{"1377672815":["hashtag1","hashtag2"]},{"1377672694":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672693, 1377672777, 1377672717, 1377672746, 1377672815, 1377672694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46269202232361 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:00:31.784145
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/16/59/image_17082025_16_59_54_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/16/56/image_17082025_16_56_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/54/image_17082025_14_55_05_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/14/54/image_17082025_14_54_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/54/image_17082025_14_54_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/14/54/image_17082025_14_54_34_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/16/59/image_17082025_16_59_54_9658.jpg', '/home/nano/Desktop/images/17082025/16/56/image_17082025_16_56_54_10647.jpg', '/home/nano/Desktop/images/17082025/14/54/image_17082025_14_55_05_10651.jpg', '/home/nano/Desktop/images/17082025/14/54/image_17082025_14_54_54_9637.jpg', '/home/nano/Desktop/images/17082025/14/54/image_17082025_14_54_44_10650.jpg', '/home/nano/Desktop/images/17082025/14/54/image_17082025_14_54_34_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/16/59/image_17082025_16_59_54_9658.jpg
/home/nano/Desktop/images/17082025/16/56/image_17082025_16_56_54_10647.jpg
/home/nano/Desktop/images/17082025/14/54/image_17082025_14_55_05_10651.jpg
/home/nano/Desktop/images/17082025/14/54/image_17082025_14_54_54_9637.jpg
/home/nano/Desktop/images/17082025/14/54/image_17082025_14_54_44_10650.jpg
/home/nano/Desktop/images/17082025/14/54/image_17082025_14_54_34_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377672952","1377673044","1377672984","1377673014","1377673106","1377673075"],"photo_ids_order":["1377672952","1377672984","1377673014","1377673044","1377673075","1377673106"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cb0a284111d50d484fe4cd41278f88e8.jpg","text":"TemporaryFile(/tmp/multipartBody1994191173792397959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442893486,"filename":"image_17082025_16_59_54_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8aed544135e0ad9ed3a6873971bb022c.jpg","text":"TemporaryFile(/tmp/multipartBody5620767865797639260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442893486,"filename":"image_17082025_14_54_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/495d36f1a45be82af091b8e9515f5288.jpg","text":"TemporaryFile(/tmp/multipartBody984301386854830899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442893486,"filename":"image_17082025_16_56_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1ab53a2d7646d516902021e320e6eb4a.jpg","text":"TemporaryFile(/tmp/multipartBody5375521127177249915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442893486,"filename":"image_17082025_14_55_05_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7bdacb15feee1d63d420fe8f39b4666d.jpg","text":"TemporaryFile(/tmp/multipartBody9221515640780893647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442893486,"filename":"image_17082025_14_54_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7c98d89ff8809173901e228382b80ceb.jpg","text":"TemporaryFile(/tmp/multipartBody5642089149816796445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442893486,"filename":"image_17082025_14_54_44_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377673014","file1":"1377672984","file0":"1377672952","file4":"1377673075","file5":"1377673106","file3":"1377673044"},"map_files_photo_id_array":[{"photo_id":"1377673106","filename":"file5"},{"photo_id":"1377673014","filename":"file2"},{"photo_id":"1377673075","filename":"file4"},{"photo_id":"1377672984","filename":"file1"},{"photo_id":"1377672952","filename":"file0"},{"photo_id":"1377673044","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377672952":["hashtag1","hashtag2"]},{"1377673044":["hashtag1","hashtag2"]},{"1377672984":["hashtag1","hashtag2"]},{"1377673014":["hashtag1","hashtag2"]},{"1377673106":["hashtag1","hashtag2"]},{"1377673075":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377672952, 1377673044, 1377672984, 1377673014, 1377673106, 1377673075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.46228075027466 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:01:16.966048
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/01/image_17082025_17_01_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/01/image_17082025_17_01_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/17/00/image_17082025_17_00_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/54/image_17082025_14_54_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/14/54/image_17082025_14_54_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/14/53/image_17082025_14_54_04_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/01/image_17082025_17_01_24_9639.jpg', '/home/nano/Desktop/images/17082025/17/01/image_17082025_17_01_14_10665.jpg', '/home/nano/Desktop/images/17082025/17/00/image_17082025_17_00_24_9640.jpg', '/home/nano/Desktop/images/17082025/14/54/image_17082025_14_54_24_9636.jpg', '/home/nano/Desktop/images/17082025/14/54/image_17082025_14_54_14_10668.jpg', '/home/nano/Desktop/images/17082025/14/53/image_17082025_14_54_04_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/01/image_17082025_17_01_24_9639.jpg
/home/nano/Desktop/images/17082025/17/01/image_17082025_17_01_14_10665.jpg
/home/nano/Desktop/images/17082025/17/00/image_17082025_17_00_24_9640.jpg
/home/nano/Desktop/images/17082025/14/54/image_17082025_14_54_24_9636.jpg
/home/nano/Desktop/images/17082025/14/54/image_17082025_14_54_14_10668.jpg
/home/nano/Desktop/images/17082025/14/53/image_17082025_14_54_04_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377673557","1377673676","1377673499","1377673379","1377673439","1377673616"],"photo_ids_order":["1377673379","1377673439","1377673499","1377673557","1377673616","1377673676"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/56fdfdb28e883546136570ff8cd12e39.jpg","text":"TemporaryFile(/tmp/multipartBody3552253140659552119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442938622,"filename":"image_17082025_14_54_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/65949a4a3681a9cfefcff14de788b8da.jpg","text":"TemporaryFile(/tmp/multipartBody1442865856548553917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442938622,"filename":"image_17082025_14_54_04_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8fa3bdf52979eabaad8a5603f3b28197.jpg","text":"TemporaryFile(/tmp/multipartBody5336866407492258128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442938622,"filename":"image_17082025_17_00_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/429d411d64951672e933e1d9b8e95514.jpg","text":"TemporaryFile(/tmp/multipartBody6859375563771216574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442938622,"filename":"image_17082025_17_01_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/907e869f76ee2f0ed49b5821e1680b5e.jpg","text":"TemporaryFile(/tmp/multipartBody3198945566969452109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442938622,"filename":"image_17082025_17_01_14_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7e870ade64a99924d9c336c6118fe464.jpg","text":"TemporaryFile(/tmp/multipartBody1731418076349637449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442938622,"filename":"image_17082025_14_54_14_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377673499","file1":"1377673439","file0":"1377673379","file4":"1377673616","file5":"1377673676","file3":"1377673557"},"map_files_photo_id_array":[{"photo_id":"1377673676","filename":"file5"},{"photo_id":"1377673499","filename":"file2"},{"photo_id":"1377673616","filename":"file4"},{"photo_id":"1377673439","filename":"file1"},{"photo_id":"1377673379","filename":"file0"},{"photo_id":"1377673557","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377673557":["hashtag1","hashtag2"]},{"1377673676":["hashtag1","hashtag2"]},{"1377673499":["hashtag1","hashtag2"]},{"1377673379":["hashtag1","hashtag2"]},{"1377673439":["hashtag1","hashtag2"]},{"1377673616":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377673557, 1377673676, 1377673499, 1377673379, 1377673439, 1377673616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.873818159103394 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:02:02.463447
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/53/image_17082025_14_53_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/53/image_17082025_14_53_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/53/image_17082025_14_53_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/14/53/image_17082025_14_53_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/53/image_17082025_14_53_14_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/14/52/image_17082025_14_53_04_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/53/image_17082025_14_53_54_9639.jpg', '/home/nano/Desktop/images/17082025/14/53/image_17082025_14_53_44_10649.jpg', '/home/nano/Desktop/images/17082025/14/53/image_17082025_14_53_34_9636.jpg', '/home/nano/Desktop/images/17082025/14/53/image_17082025_14_53_24_9640.jpg', '/home/nano/Desktop/images/17082025/14/53/image_17082025_14_53_14_10662.jpg', '/home/nano/Desktop/images/17082025/14/52/image_17082025_14_53_04_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/53/image_17082025_14_53_54_9639.jpg
/home/nano/Desktop/images/17082025/14/53/image_17082025_14_53_44_10649.jpg
/home/nano/Desktop/images/17082025/14/53/image_17082025_14_53_34_9636.jpg
/home/nano/Desktop/images/17082025/14/53/image_17082025_14_53_24_9640.jpg
/home/nano/Desktop/images/17082025/14/53/image_17082025_14_53_14_10662.jpg
/home/nano/Desktop/images/17082025/14/52/image_17082025_14_53_04_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377674229","1377674103","1377674046","1377674171","1377673961","1377673904"],"photo_ids_order":["1377673904","1377673961","1377674046","1377674103","1377674171","1377674229"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d6c8e8465653799d20cb8fbc3af5d266.jpg","text":"TemporaryFile(/tmp/multipartBody8553578598861876771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442984057,"filename":"image_17082025_14_53_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7c06e42486ee84d1b4250e5071dcaa30.jpg","text":"TemporaryFile(/tmp/multipartBody3732188504816622245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442984057,"filename":"image_17082025_14_53_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/25db79ef75ddb3b32ba465f88d75ecf6.jpg","text":"TemporaryFile(/tmp/multipartBody6004276846155226280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442984057,"filename":"image_17082025_14_53_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9e57d8aed45abeaebe1eae766f441caa.jpg","text":"TemporaryFile(/tmp/multipartBody1449576504144075701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442984057,"filename":"image_17082025_14_53_14_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bb02838314d0346610f1ac483290de47.jpg","text":"TemporaryFile(/tmp/multipartBody4206055134106070468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442984057,"filename":"image_17082025_14_53_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5b9b925a930a4581431855697f1ef11b.jpg","text":"TemporaryFile(/tmp/multipartBody8148812239615551286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755442984057,"filename":"image_17082025_14_53_54_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377674046","file1":"1377673961","file0":"1377673904","file4":"1377674171","file5":"1377674229","file3":"1377674103"},"map_files_photo_id_array":[{"photo_id":"1377674229","filename":"file5"},{"photo_id":"1377674046","filename":"file2"},{"photo_id":"1377674171","filename":"file4"},{"photo_id":"1377673961","filename":"file1"},{"photo_id":"1377673904","filename":"file0"},{"photo_id":"1377674103","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377674229":["hashtag1","hashtag2"]},{"1377674103":["hashtag1","hashtag2"]},{"1377674046":["hashtag1","hashtag2"]},{"1377674171":["hashtag1","hashtag2"]},{"1377673961":["hashtag1","hashtag2"]},{"1377673904":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377674229, 1377674103, 1377674046, 1377674171, 1377673961, 1377673904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.0039222240448 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:02:47.015894
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/02/image_17082025_17_02_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/17/02/image_17082025_17_02_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/17/02/image_17082025_17_02_14_10702.jpg', 2), ('/home/nano/Desktop/images/17082025/17/01/image_17082025_17_02_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/17/01/image_17082025_17_01_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/14/52/image_17082025_14_52_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/02/image_17082025_17_02_44_10648.jpg', '/home/nano/Desktop/images/17082025/17/02/image_17082025_17_02_34_9641.jpg', '/home/nano/Desktop/images/17082025/17/02/image_17082025_17_02_14_10702.jpg', '/home/nano/Desktop/images/17082025/17/01/image_17082025_17_02_04_9652.jpg', '/home/nano/Desktop/images/17082025/17/01/image_17082025_17_01_44_10650.jpg', '/home/nano/Desktop/images/17082025/14/52/image_17082025_14_52_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/02/image_17082025_17_02_44_10648.jpg
/home/nano/Desktop/images/17082025/17/02/image_17082025_17_02_34_9641.jpg
/home/nano/Desktop/images/17082025/17/02/image_17082025_17_02_14_10702.jpg
/home/nano/Desktop/images/17082025/17/01/image_17082025_17_02_04_9652.jpg
/home/nano/Desktop/images/17082025/17/01/image_17082025_17_01_44_10650.jpg
/home/nano/Desktop/images/17082025/14/52/image_17082025_14_52_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377674640","1377674555","1377674729","1377674923","1377674872","1377674809"],"photo_ids_order":["1377674555","1377674640","1377674729","1377674809","1377674872","1377674923"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/362bdea771ba322aa4c9f4a25487f702.jpg","text":"TemporaryFile(/tmp/multipartBody8352339590007472805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443028666,"filename":"image_17082025_17_02_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1cf94888f0734c16bb6514e6b3214a50.jpg","text":"TemporaryFile(/tmp/multipartBody8051908384587154045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443028666,"filename":"image_17082025_17_02_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7f869fc705f9ab9a17134bbfb4a31a4d.jpg","text":"TemporaryFile(/tmp/multipartBody2166523518479957503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443028666,"filename":"image_17082025_17_02_14_10702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4f59a5767df572b197fa486ced922cf5.jpg","text":"TemporaryFile(/tmp/multipartBody838700612577387520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443028666,"filename":"image_17082025_14_52_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d97f9c17c2488071e8debcaa4a3e799f.jpg","text":"TemporaryFile(/tmp/multipartBody474577928641840864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443028666,"filename":"image_17082025_17_01_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/61d13d331868e8974e7be7b50eea8f54.jpg","text":"TemporaryFile(/tmp/multipartBody2603295402320046038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443028666,"filename":"image_17082025_17_02_04_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377674729","file1":"1377674640","file0":"1377674555","file4":"1377674872","file5":"1377674923","file3":"1377674809"},"map_files_photo_id_array":[{"photo_id":"1377674923","filename":"file5"},{"photo_id":"1377674729","filename":"file2"},{"photo_id":"1377674872","filename":"file4"},{"photo_id":"1377674640","filename":"file1"},{"photo_id":"1377674555","filename":"file0"},{"photo_id":"1377674809","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377674640":["hashtag1","hashtag2"]},{"1377674555":["hashtag1","hashtag2"]},{"1377674729":["hashtag1","hashtag2"]},{"1377674923":["hashtag1","hashtag2"]},{"1377674872":["hashtag1","hashtag2"]},{"1377674809":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377674640, 1377674555, 1377674729, 1377674923, 1377674872, 1377674809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.057387590408325 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:03:32.103283
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/03/image_17082025_17_03_44_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/17/03/image_17082025_17_03_35_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/17/03/image_17082025_17_03_24_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/17/03/image_17082025_17_03_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/17/02/image_17082025_17_03_04_9669.jpg', 2), ('/home/nano/Desktop/images/17082025/17/02/image_17082025_17_02_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/03/image_17082025_17_03_44_9654.jpg', '/home/nano/Desktop/images/17082025/17/03/image_17082025_17_03_35_10651.jpg', '/home/nano/Desktop/images/17082025/17/03/image_17082025_17_03_24_9635.jpg', '/home/nano/Desktop/images/17082025/17/03/image_17082025_17_03_14_10668.jpg', '/home/nano/Desktop/images/17082025/17/02/image_17082025_17_03_04_9669.jpg', '/home/nano/Desktop/images/17082025/17/02/image_17082025_17_02_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/03/image_17082025_17_03_44_9654.jpg
/home/nano/Desktop/images/17082025/17/03/image_17082025_17_03_35_10651.jpg
/home/nano/Desktop/images/17082025/17/03/image_17082025_17_03_24_9635.jpg
/home/nano/Desktop/images/17082025/17/03/image_17082025_17_03_14_10668.jpg
/home/nano/Desktop/images/17082025/17/02/image_17082025_17_03_04_9669.jpg
/home/nano/Desktop/images/17082025/17/02/image_17082025_17_02_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377675234","1377675105","1377675172","1377675136","1377675297","1377675072"],"photo_ids_order":["1377675072","1377675105","1377675136","1377675172","1377675234","1377675297"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dcb8edd49e2968d4b5b8bba38792f8b2.jpg","text":"TemporaryFile(/tmp/multipartBody7626409475082592019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443073976,"filename":"image_17082025_17_03_04_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/69d077e5614da49c08a4eff143dfeb25.jpg","text":"TemporaryFile(/tmp/multipartBody1138204280403114264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443073976,"filename":"image_17082025_17_03_35_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a1aeb205ca225ba59398953f91e70153.jpg","text":"TemporaryFile(/tmp/multipartBody3828510758939524740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443073976,"filename":"image_17082025_17_03_14_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/381379d98026925da6d7da6d283a3ee6.jpg","text":"TemporaryFile(/tmp/multipartBody4978793131136672530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443073976,"filename":"image_17082025_17_03_24_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c25b5ae762165d14ea8488a438cadfb1.jpg","text":"TemporaryFile(/tmp/multipartBody4403220702662885690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443073976,"filename":"image_17082025_17_02_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4ddbadf077f80e4f07725eb2c1e2fbab.jpg","text":"TemporaryFile(/tmp/multipartBody4132562738455010330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443073976,"filename":"image_17082025_17_03_44_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377675136","file1":"1377675105","file0":"1377675072","file4":"1377675234","file5":"1377675297","file3":"1377675172"},"map_files_photo_id_array":[{"photo_id":"1377675297","filename":"file5"},{"photo_id":"1377675136","filename":"file2"},{"photo_id":"1377675234","filename":"file4"},{"photo_id":"1377675105","filename":"file1"},{"photo_id":"1377675072","filename":"file0"},{"photo_id":"1377675172","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377675234":["hashtag1","hashtag2"]},{"1377675105":["hashtag1","hashtag2"]},{"1377675172":["hashtag1","hashtag2"]},{"1377675136":["hashtag1","hashtag2"]},{"1377675297":["hashtag1","hashtag2"]},{"1377675072":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377675234, 1377675105, 1377675172, 1377675136, 1377675297, 1377675072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99961066246033 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:04:17.304000
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/04/image_17082025_17_04_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/04/image_17082025_17_04_14_9668.jpg', 2), ('/home/nano/Desktop/images/17082025/17/03/image_17082025_17_04_04_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/17/03/image_17082025_17_03_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/52/image_17082025_14_52_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/14/52/image_17082025_14_52_34_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/04/image_17082025_17_04_44_9639.jpg', '/home/nano/Desktop/images/17082025/17/04/image_17082025_17_04_14_9668.jpg', '/home/nano/Desktop/images/17082025/17/03/image_17082025_17_04_04_10657.jpg', '/home/nano/Desktop/images/17082025/17/03/image_17082025_17_03_54_9637.jpg', '/home/nano/Desktop/images/17082025/14/52/image_17082025_14_52_44_10646.jpg', '/home/nano/Desktop/images/17082025/14/52/image_17082025_14_52_34_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/04/image_17082025_17_04_44_9639.jpg
/home/nano/Desktop/images/17082025/17/04/image_17082025_17_04_14_9668.jpg
/home/nano/Desktop/images/17082025/17/03/image_17082025_17_04_04_10657.jpg
/home/nano/Desktop/images/17082025/17/03/image_17082025_17_03_54_9637.jpg
/home/nano/Desktop/images/17082025/14/52/image_17082025_14_52_44_10646.jpg
/home/nano/Desktop/images/17082025/14/52/image_17082025_14_52_34_9637.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4137415885925293 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:04:32.293178
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/04/image_17082025_17_04_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/04/image_17082025_17_04_14_9668.jpg', 2), ('/home/nano/Desktop/images/17082025/17/03/image_17082025_17_04_04_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/17/03/image_17082025_17_03_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/52/image_17082025_14_52_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/14/52/image_17082025_14_52_34_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/04/image_17082025_17_04_44_9639.jpg', '/home/nano/Desktop/images/17082025/17/04/image_17082025_17_04_14_9668.jpg', '/home/nano/Desktop/images/17082025/17/03/image_17082025_17_04_04_10657.jpg', '/home/nano/Desktop/images/17082025/17/03/image_17082025_17_03_54_9637.jpg', '/home/nano/Desktop/images/17082025/14/52/image_17082025_14_52_44_10646.jpg', '/home/nano/Desktop/images/17082025/14/52/image_17082025_14_52_34_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/04/image_17082025_17_04_44_9639.jpg
/home/nano/Desktop/images/17082025/17/04/image_17082025_17_04_14_9668.jpg
/home/nano/Desktop/images/17082025/17/03/image_17082025_17_04_04_10657.jpg
/home/nano/Desktop/images/17082025/17/03/image_17082025_17_03_54_9637.jpg
/home/nano/Desktop/images/17082025/14/52/image_17082025_14_52_44_10646.jpg
/home/nano/Desktop/images/17082025/14/52/image_17082025_14_52_34_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377675890","1377675878","1377675694","1377675796","1377675754","1377675826"],"photo_ids_order":["1377675694","1377675754","1377675796","1377675826","1377675878","1377675890"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/95b55b362dc1cd7c324c7826f930f3b6.jpg","text":"TemporaryFile(/tmp/multipartBody8293740807581156359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443133745,"filename":"image_17082025_14_52_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5f6ae5736f9148cad0ba3452cd21577a.jpg","text":"TemporaryFile(/tmp/multipartBody2978705664847734801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443133745,"filename":"image_17082025_14_52_44_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/daae830e45717dcd3519f46774157232.jpg","text":"TemporaryFile(/tmp/multipartBody2004474046013352961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443133745,"filename":"image_17082025_17_04_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dc675c0e0c97be3740031f283841e0ff.jpg","text":"TemporaryFile(/tmp/multipartBody8083746492365831482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443133745,"filename":"image_17082025_17_04_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1eba4ef63a4fb08ee478e8b03d878a92.jpg","text":"TemporaryFile(/tmp/multipartBody3710473296657904252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443133745,"filename":"image_17082025_17_04_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8da269aa8fe51dcb818bf824bc625053.jpg","text":"TemporaryFile(/tmp/multipartBody4099776577811731961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443133745,"filename":"image_17082025_17_03_54_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377675796","file1":"1377675754","file0":"1377675694","file4":"1377675878","file5":"1377675890","file3":"1377675826"},"map_files_photo_id_array":[{"photo_id":"1377675890","filename":"file5"},{"photo_id":"1377675796","filename":"file2"},{"photo_id":"1377675878","filename":"file4"},{"photo_id":"1377675754","filename":"file1"},{"photo_id":"1377675694","filename":"file0"},{"photo_id":"1377675826","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377675890":["hashtag1","hashtag2"]},{"1377675878":["hashtag1","hashtag2"]},{"1377675694":["hashtag1","hashtag2"]},{"1377675796":["hashtag1","hashtag2"]},{"1377675754":["hashtag1","hashtag2"]},{"1377675826":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377675890, 1377675878, 1377675694, 1377675796, 1377675754, 1377675826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75206017494202 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:05:17.434649
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/05/image_17082025_17_05_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/17/05/image_17082025_17_05_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/17/04/image_17082025_17_05_04_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/17/04/image_17082025_17_04_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/52/image_17082025_14_52_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/52/image_17082025_14_52_14_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/05/image_17082025_17_05_34_10650.jpg', '/home/nano/Desktop/images/17082025/17/05/image_17082025_17_05_14_9657.jpg', '/home/nano/Desktop/images/17082025/17/04/image_17082025_17_05_04_10670.jpg', '/home/nano/Desktop/images/17082025/17/04/image_17082025_17_04_54_9640.jpg', '/home/nano/Desktop/images/17082025/14/52/image_17082025_14_52_24_10649.jpg', '/home/nano/Desktop/images/17082025/14/52/image_17082025_14_52_14_9652.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/05/image_17082025_17_05_34_10650.jpg
/home/nano/Desktop/images/17082025/17/05/image_17082025_17_05_14_9657.jpg
/home/nano/Desktop/images/17082025/17/04/image_17082025_17_05_04_10670.jpg
/home/nano/Desktop/images/17082025/17/04/image_17082025_17_04_54_9640.jpg
/home/nano/Desktop/images/17082025/14/52/image_17082025_14_52_24_10649.jpg
/home/nano/Desktop/images/17082025/14/52/image_17082025_14_52_14_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377675953","1377676028","1377675922","1377675984","1377676041","1377676014"],"photo_ids_order":["1377675922","1377675953","1377675984","1377676014","1377676028","1377676041"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/72537054b75c08924abae95f7f91a6db.jpg","text":"TemporaryFile(/tmp/multipartBody391723719632506079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443179039,"filename":"image_17082025_17_05_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1e3a5a48f12325a700d443f461fe2572.jpg","text":"TemporaryFile(/tmp/multipartBody2266497819705921575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443179039,"filename":"image_17082025_14_52_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cb4c6dd88539651e56dd1b27bbcd782b.jpg","text":"TemporaryFile(/tmp/multipartBody530194663057537141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443179039,"filename":"image_17082025_17_05_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b2a72f00f656b627e0462ce91acd5ef4.jpg","text":"TemporaryFile(/tmp/multipartBody8173250714767349149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443179039,"filename":"image_17082025_17_05_04_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/64b2ab66738c13f33fc274662779949a.jpg","text":"TemporaryFile(/tmp/multipartBody6819973617897297246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443179039,"filename":"image_17082025_14_52_14_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/819c97ec8e89355d88175dd435a5710d.jpg","text":"TemporaryFile(/tmp/multipartBody3779007751713925525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443179039,"filename":"image_17082025_17_04_54_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377675984","file1":"1377675953","file0":"1377675922","file4":"1377676028","file5":"1377676041","file3":"1377676014"},"map_files_photo_id_array":[{"photo_id":"1377676041","filename":"file5"},{"photo_id":"1377675984","filename":"file2"},{"photo_id":"1377676028","filename":"file4"},{"photo_id":"1377675953","filename":"file1"},{"photo_id":"1377675922","filename":"file0"},{"photo_id":"1377676014","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377675953":["hashtag1","hashtag2"]},{"1377676028":["hashtag1","hashtag2"]},{"1377675922":["hashtag1","hashtag2"]},{"1377675984":["hashtag1","hashtag2"]},{"1377676041":["hashtag1","hashtag2"]},{"1377676014":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377675953, 1377676028, 1377675922, 1377675984, 1377676041, 1377676014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.134541034698486 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:06:03.073765
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/51/image_17082025_14_52_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_54_10693.jpg', 2), ('/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_14_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/51/image_17082025_14_52_04_9644.jpg', '/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_54_10693.jpg', '/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_44_9638.jpg', '/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_34_9637.jpg', '/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_24_10649.jpg', '/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_14_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/51/image_17082025_14_52_04_9644.jpg
/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_54_10693.jpg
/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_44_9638.jpg
/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_34_9637.jpg
/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_24_10649.jpg
/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_14_9656.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2751727104187012 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:06:17.545203
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/06/image_17082025_17_06_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/06/image_17082025_17_06_34_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/17/06/image_17082025_17_06_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/06/image_17082025_17_06_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/17/05/image_17082025_17_06_04_10658.jpg', 2), ('/home/nano/Desktop/images/17082025/17/05/image_17082025_17_05_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/06/image_17082025_17_06_44_9639.jpg', '/home/nano/Desktop/images/17082025/17/06/image_17082025_17_06_34_10667.jpg', '/home/nano/Desktop/images/17082025/17/06/image_17082025_17_06_24_9639.jpg', '/home/nano/Desktop/images/17082025/17/06/image_17082025_17_06_14_9655.jpg', '/home/nano/Desktop/images/17082025/17/05/image_17082025_17_06_04_10658.jpg', '/home/nano/Desktop/images/17082025/17/05/image_17082025_17_05_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/06/image_17082025_17_06_44_9639.jpg
/home/nano/Desktop/images/17082025/17/06/image_17082025_17_06_34_10667.jpg
/home/nano/Desktop/images/17082025/17/06/image_17082025_17_06_24_9639.jpg
/home/nano/Desktop/images/17082025/17/06/image_17082025_17_06_14_9655.jpg
/home/nano/Desktop/images/17082025/17/05/image_17082025_17_06_04_10658.jpg
/home/nano/Desktop/images/17082025/17/05/image_17082025_17_05_44_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676103","1377676106","1377676109","1377676100","1377676108","1377676110"],"photo_ids_order":["1377676100","1377676103","1377676106","1377676108","1377676109","1377676110"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a9ee5f00aaa21c3af6c6b67f9e2dc71a.jpg","text":"TemporaryFile(/tmp/multipartBody1245247490765639272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443239446,"filename":"image_17082025_17_06_34_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d66c5575dffca0f2b38225e861b835d7.jpg","text":"TemporaryFile(/tmp/multipartBody6907576296009923408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443239446,"filename":"image_17082025_17_06_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a2067a97f9eedc556f87a4f8bfe74178.jpg","text":"TemporaryFile(/tmp/multipartBody8605111465849873351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443239446,"filename":"image_17082025_17_06_04_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6e74870b3f2e6e152ca281d9c046e260.jpg","text":"TemporaryFile(/tmp/multipartBody9181251900206821855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443239446,"filename":"image_17082025_17_06_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/67a625e0fd4e228a3d6bdefc23a0aebd.jpg","text":"TemporaryFile(/tmp/multipartBody6392925994518081407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443239446,"filename":"image_17082025_17_06_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b3ff464e383aa36eda2b80bab966677e.jpg","text":"TemporaryFile(/tmp/multipartBody2059824255175108881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443239446,"filename":"image_17082025_17_05_44_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676106","file1":"1377676103","file0":"1377676100","file4":"1377676109","file5":"1377676110","file3":"1377676108"},"map_files_photo_id_array":[{"photo_id":"1377676110","filename":"file5"},{"photo_id":"1377676106","filename":"file2"},{"photo_id":"1377676109","filename":"file4"},{"photo_id":"1377676103","filename":"file1"},{"photo_id":"1377676100","filename":"file0"},{"photo_id":"1377676108","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676103":["hashtag1","hashtag2"]},{"1377676106":["hashtag1","hashtag2"]},{"1377676109":["hashtag1","hashtag2"]},{"1377676100":["hashtag1","hashtag2"]},{"1377676108":["hashtag1","hashtag2"]},{"1377676110":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676103, 1377676106, 1377676109, 1377676100, 1377676108, 1377676110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88201904296875 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:07:03.428287
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/51/image_17082025_14_52_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_54_10693.jpg', 2), ('/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_14_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/51/image_17082025_14_52_04_9644.jpg', '/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_54_10693.jpg', '/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_44_9638.jpg', '/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_34_9637.jpg', '/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_24_10649.jpg', '/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_14_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/51/image_17082025_14_52_04_9644.jpg
/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_54_10693.jpg
/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_44_9638.jpg
/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_34_9637.jpg
/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_24_10649.jpg
/home/nano/Desktop/images/17082025/14/51/image_17082025_14_51_14_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676115","1377676130","1377676127","1377676117","1377676131","1377676125"],"photo_ids_order":["1377676115","1377676117","1377676125","1377676127","1377676130","1377676131"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/09e3041f02079d1447b55d0f8a8b1171.jpg","text":"TemporaryFile(/tmp/multipartBody367507452572700671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443285190,"filename":"image_17082025_14_52_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9b8aa497dd7c91dab51f985d7ed48b50.jpg","text":"TemporaryFile(/tmp/multipartBody6548336891191214408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443285190,"filename":"image_17082025_14_51_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bfc502944ae4c833d47a100e0ef93e84.jpg","text":"TemporaryFile(/tmp/multipartBody2911137383199972296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443285190,"filename":"image_17082025_14_51_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/58085f5d5a666428f6f65cae0dbf4773.jpg","text":"TemporaryFile(/tmp/multipartBody292668248402229181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443285190,"filename":"image_17082025_14_51_54_10693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1bdd41c5243e202ce6b02a76b495abfd.jpg","text":"TemporaryFile(/tmp/multipartBody155107379407831473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443285190,"filename":"image_17082025_14_51_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9128eeb140f0ed369725241fa81d8c21.jpg","text":"TemporaryFile(/tmp/multipartBody668854433916410164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443285190,"filename":"image_17082025_14_51_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676125","file1":"1377676117","file0":"1377676115","file4":"1377676130","file5":"1377676131","file3":"1377676127"},"map_files_photo_id_array":[{"photo_id":"1377676131","filename":"file5"},{"photo_id":"1377676125","filename":"file2"},{"photo_id":"1377676130","filename":"file4"},{"photo_id":"1377676117","filename":"file1"},{"photo_id":"1377676115","filename":"file0"},{"photo_id":"1377676127","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676115":["hashtag1","hashtag2"]},{"1377676130":["hashtag1","hashtag2"]},{"1377676127":["hashtag1","hashtag2"]},{"1377676117":["hashtag1","hashtag2"]},{"1377676131":["hashtag1","hashtag2"]},{"1377676125":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676115, 1377676130, 1377676127, 1377676117, 1377676131, 1377676125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59610176086426 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:07:47.663308
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/07/image_17082025_17_07_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/17/07/image_17082025_17_07_14_9668.jpg', 2), ('/home/nano/Desktop/images/17082025/17/06/image_17082025_17_06_55_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/14/50/image_17082025_14_51_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/14/50/image_17082025_14_50_54_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/14/50/image_17082025_14_50_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/07/image_17082025_17_07_34_9640.jpg', '/home/nano/Desktop/images/17082025/17/07/image_17082025_17_07_14_9668.jpg', '/home/nano/Desktop/images/17082025/17/06/image_17082025_17_06_55_10667.jpg', '/home/nano/Desktop/images/17082025/14/50/image_17082025_14_51_04_9645.jpg', '/home/nano/Desktop/images/17082025/14/50/image_17082025_14_50_54_10664.jpg', '/home/nano/Desktop/images/17082025/14/50/image_17082025_14_50_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/07/image_17082025_17_07_34_9640.jpg
/home/nano/Desktop/images/17082025/17/07/image_17082025_17_07_14_9668.jpg
/home/nano/Desktop/images/17082025/17/06/image_17082025_17_06_55_10667.jpg
/home/nano/Desktop/images/17082025/14/50/image_17082025_14_51_04_9645.jpg
/home/nano/Desktop/images/17082025/14/50/image_17082025_14_50_54_10664.jpg
/home/nano/Desktop/images/17082025/14/50/image_17082025_14_50_44_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676133","1377676136","1377676139","1377676135","1377676146","1377676134"],"photo_ids_order":["1377676133","1377676134","1377676135","1377676136","1377676139","1377676146"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/81515a13d16be0727d0adddd9f4bb45d.jpg","text":"TemporaryFile(/tmp/multipartBody7360592410362300440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443329492,"filename":"image_17082025_17_07_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3125c0a75a6d9d133e487a1c883e250d.jpg","text":"TemporaryFile(/tmp/multipartBody5532927694557503456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443329492,"filename":"image_17082025_14_51_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/381c7ccbdfea07ad00cf11c3364d71e9.jpg","text":"TemporaryFile(/tmp/multipartBody1364594849635204807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443329492,"filename":"image_17082025_14_50_54_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/264bfc925ecd38bf933d027b9f46c2aa.jpg","text":"TemporaryFile(/tmp/multipartBody7297754495911511412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443329492,"filename":"image_17082025_17_06_55_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4ff807ee319c595d3a758841618abf32.jpg","text":"TemporaryFile(/tmp/multipartBody5884800345674033213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443329492,"filename":"image_17082025_14_50_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/df2f57ac2c5effc34bb22a151ea45e11.jpg","text":"TemporaryFile(/tmp/multipartBody1630914570354789056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443329492,"filename":"image_17082025_17_07_14_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676135","file1":"1377676134","file0":"1377676133","file4":"1377676139","file5":"1377676146","file3":"1377676136"},"map_files_photo_id_array":[{"photo_id":"1377676146","filename":"file5"},{"photo_id":"1377676135","filename":"file2"},{"photo_id":"1377676139","filename":"file4"},{"photo_id":"1377676134","filename":"file1"},{"photo_id":"1377676133","filename":"file0"},{"photo_id":"1377676136","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676133":["hashtag1","hashtag2"]},{"1377676136":["hashtag1","hashtag2"]},{"1377676139":["hashtag1","hashtag2"]},{"1377676135":["hashtag1","hashtag2"]},{"1377676146":["hashtag1","hashtag2"]},{"1377676134":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676133, 1377676136, 1377676139, 1377676135, 1377676146, 1377676134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51853585243225 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:08:31.794106
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/08/image_17082025_17_08_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/17/08/image_17082025_17_08_14_9684.jpg', 2), ('/home/nano/Desktop/images/17082025/17/07/image_17082025_17_08_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/17/07/image_17082025_17_07_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/50/image_17082025_14_50_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/50/image_17082025_14_50_24_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/08/image_17082025_17_08_44_9637.jpg', '/home/nano/Desktop/images/17082025/17/08/image_17082025_17_08_14_9684.jpg', '/home/nano/Desktop/images/17082025/17/07/image_17082025_17_08_04_9656.jpg', '/home/nano/Desktop/images/17082025/17/07/image_17082025_17_07_44_9638.jpg', '/home/nano/Desktop/images/17082025/14/50/image_17082025_14_50_34_9637.jpg', '/home/nano/Desktop/images/17082025/14/50/image_17082025_14_50_24_10646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/08/image_17082025_17_08_44_9637.jpg
/home/nano/Desktop/images/17082025/17/08/image_17082025_17_08_14_9684.jpg
/home/nano/Desktop/images/17082025/17/07/image_17082025_17_08_04_9656.jpg
/home/nano/Desktop/images/17082025/17/07/image_17082025_17_07_44_9638.jpg
/home/nano/Desktop/images/17082025/14/50/image_17082025_14_50_34_9637.jpg
/home/nano/Desktop/images/17082025/14/50/image_17082025_14_50_24_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676157","1377676153","1377676156","1377676155","1377676158","1377676152"],"photo_ids_order":["1377676152","1377676153","1377676155","1377676156","1377676157","1377676158"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/265b082cf1f97510166637d16b5325c1.jpg","text":"TemporaryFile(/tmp/multipartBody5548152681247790550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443373489,"filename":"image_17082025_14_50_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e8968bc03f378b0dd0b2e815387e4a67.jpg","text":"TemporaryFile(/tmp/multipartBody418632203955508842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443373489,"filename":"image_17082025_17_08_14_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/92e292abaf273c5206f891b18ebf076f.jpg","text":"TemporaryFile(/tmp/multipartBody2982427346716803662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443373489,"filename":"image_17082025_17_07_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/18a3a0732fb135bfb7ec3f43116d41f6.jpg","text":"TemporaryFile(/tmp/multipartBody3831221977215477295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443373489,"filename":"image_17082025_17_08_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/21fc97f62fd494f98f66797cd6d67451.jpg","text":"TemporaryFile(/tmp/multipartBody1039515659856611144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443373489,"filename":"image_17082025_14_50_24_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f3c2acdbfe37b3810c83b8836dba8dbd.jpg","text":"TemporaryFile(/tmp/multipartBody4401454363651282903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443373489,"filename":"image_17082025_17_08_44_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676155","file1":"1377676153","file0":"1377676152","file4":"1377676157","file5":"1377676158","file3":"1377676156"},"map_files_photo_id_array":[{"photo_id":"1377676158","filename":"file5"},{"photo_id":"1377676155","filename":"file2"},{"photo_id":"1377676157","filename":"file4"},{"photo_id":"1377676153","filename":"file1"},{"photo_id":"1377676152","filename":"file0"},{"photo_id":"1377676156","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676157":["hashtag1","hashtag2"]},{"1377676153":["hashtag1","hashtag2"]},{"1377676156":["hashtag1","hashtag2"]},{"1377676155":["hashtag1","hashtag2"]},{"1377676158":["hashtag1","hashtag2"]},{"1377676152":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676157, 1377676153, 1377676156, 1377676155, 1377676158, 1377676152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57726979255676 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:09:16.892006
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/09/image_17082025_17_09_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/17/09/image_17082025_17_09_14_9675.jpg', 2), ('/home/nano/Desktop/images/17082025/17/08/image_17082025_17_09_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/17/08/image_17082025_17_08_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/14/50/image_17082025_14_50_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/14/49/image_17082025_14_50_04_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/09/image_17082025_17_09_34_9640.jpg', '/home/nano/Desktop/images/17082025/17/09/image_17082025_17_09_14_9675.jpg', '/home/nano/Desktop/images/17082025/17/08/image_17082025_17_09_04_9656.jpg', '/home/nano/Desktop/images/17082025/17/08/image_17082025_17_08_54_10648.jpg', '/home/nano/Desktop/images/17082025/14/50/image_17082025_14_50_14_9654.jpg', '/home/nano/Desktop/images/17082025/14/49/image_17082025_14_50_04_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/09/image_17082025_17_09_34_9640.jpg
/home/nano/Desktop/images/17082025/17/09/image_17082025_17_09_14_9675.jpg
/home/nano/Desktop/images/17082025/17/08/image_17082025_17_09_04_9656.jpg
/home/nano/Desktop/images/17082025/17/08/image_17082025_17_08_54_10648.jpg
/home/nano/Desktop/images/17082025/14/50/image_17082025_14_50_14_9654.jpg
/home/nano/Desktop/images/17082025/14/49/image_17082025_14_50_04_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676175","1377676177","1377676171","1377676173","1377676179","1377676178"],"photo_ids_order":["1377676171","1377676173","1377676175","1377676177","1377676178","1377676179"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f244bff11fdcdb8a729f924bf27a02a6.jpg","text":"TemporaryFile(/tmp/multipartBody6984221524628334223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443418606,"filename":"image_17082025_17_09_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c1a48bc638bf1af579e5a1e8819be88d.jpg","text":"TemporaryFile(/tmp/multipartBody929111509421253363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443418606,"filename":"image_17082025_17_08_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/312f0f8dbcb211fa1a415b74d2dfa1cd.jpg","text":"TemporaryFile(/tmp/multipartBody2129860284132019125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443418606,"filename":"image_17082025_17_09_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9d3094dbffd956fd6dc2b46a4c447d23.jpg","text":"TemporaryFile(/tmp/multipartBody8527327965524944658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443418606,"filename":"image_17082025_17_09_14_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e54181e26126c11bb74125efcf6c01d3.jpg","text":"TemporaryFile(/tmp/multipartBody8813829930983078834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443418606,"filename":"image_17082025_14_50_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a5775e2b2d8120e668dafb52936742ba.jpg","text":"TemporaryFile(/tmp/multipartBody2067191706970678568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443418606,"filename":"image_17082025_14_50_14_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676175","file1":"1377676173","file0":"1377676171","file4":"1377676178","file5":"1377676179","file3":"1377676177"},"map_files_photo_id_array":[{"photo_id":"1377676179","filename":"file5"},{"photo_id":"1377676175","filename":"file2"},{"photo_id":"1377676178","filename":"file4"},{"photo_id":"1377676173","filename":"file1"},{"photo_id":"1377676171","filename":"file0"},{"photo_id":"1377676177","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676175":["hashtag1","hashtag2"]},{"1377676177":["hashtag1","hashtag2"]},{"1377676171":["hashtag1","hashtag2"]},{"1377676173":["hashtag1","hashtag2"]},{"1377676179":["hashtag1","hashtag2"]},{"1377676178":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676175, 1377676177, 1377676171, 1377676173, 1377676179, 1377676178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95306944847107 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:10:02.493545
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/49/image_17082025_14_49_54_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/14/49/image_17082025_14_49_44_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/14/49/image_17082025_14_49_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/49/image_17082025_14_49_24_10655.jpg', 2), ('/home/nano/Desktop/images/17082025/14/49/image_17082025_14_49_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/14/48/image_17082025_14_49_04_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/49/image_17082025_14_49_54_10664.jpg', '/home/nano/Desktop/images/17082025/14/49/image_17082025_14_49_44_9652.jpg', '/home/nano/Desktop/images/17082025/14/49/image_17082025_14_49_34_9639.jpg', '/home/nano/Desktop/images/17082025/14/49/image_17082025_14_49_24_10655.jpg', '/home/nano/Desktop/images/17082025/14/49/image_17082025_14_49_14_9656.jpg', '/home/nano/Desktop/images/17082025/14/48/image_17082025_14_49_04_9645.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/49/image_17082025_14_49_54_10664.jpg
/home/nano/Desktop/images/17082025/14/49/image_17082025_14_49_44_9652.jpg
/home/nano/Desktop/images/17082025/14/49/image_17082025_14_49_34_9639.jpg
/home/nano/Desktop/images/17082025/14/49/image_17082025_14_49_24_10655.jpg
/home/nano/Desktop/images/17082025/14/49/image_17082025_14_49_14_9656.jpg
/home/nano/Desktop/images/17082025/14/48/image_17082025_14_49_04_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676193","1377676183","1377676194","1377676188","1377676197","1377676199"],"photo_ids_order":["1377676183","1377676188","1377676193","1377676194","1377676197","1377676199"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a04027847ac60a27a022f9de158db4cc.jpg","text":"TemporaryFile(/tmp/multipartBody7613988953849620954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443464535,"filename":"image_17082025_14_49_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/34a9f5cb59da175445225aa5d7c2cbb3.jpg","text":"TemporaryFile(/tmp/multipartBody7775100799852987711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443464535,"filename":"image_17082025_14_49_54_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/544aaf5e040d357787c51fc6c1893fd0.jpg","text":"TemporaryFile(/tmp/multipartBody7241871168756094067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443464535,"filename":"image_17082025_14_49_24_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/145b95a3c29789f06c62e6f13217f753.jpg","text":"TemporaryFile(/tmp/multipartBody1649804581719495145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443464535,"filename":"image_17082025_14_49_44_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6de7211b4413c76adc04c6e3e454a7ff.jpg","text":"TemporaryFile(/tmp/multipartBody7962395502805011600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443464535,"filename":"image_17082025_14_49_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/416f615643a41070e6ad1d8b2c59552b.jpg","text":"TemporaryFile(/tmp/multipartBody5369903794741028431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443464535,"filename":"image_17082025_14_49_04_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676193","file1":"1377676188","file0":"1377676183","file4":"1377676197","file5":"1377676199","file3":"1377676194"},"map_files_photo_id_array":[{"photo_id":"1377676199","filename":"file5"},{"photo_id":"1377676193","filename":"file2"},{"photo_id":"1377676197","filename":"file4"},{"photo_id":"1377676188","filename":"file1"},{"photo_id":"1377676183","filename":"file0"},{"photo_id":"1377676194","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676193":["hashtag1","hashtag2"]},{"1377676183":["hashtag1","hashtag2"]},{"1377676194":["hashtag1","hashtag2"]},{"1377676188":["hashtag1","hashtag2"]},{"1377676197":["hashtag1","hashtag2"]},{"1377676199":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676193, 1377676183, 1377676194, 1377676188, 1377676197, 1377676199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40467143058777 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:10:47.072490
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/10/image_17082025_17_10_45_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/17/10/image_17082025_17_10_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/10/image_17082025_17_10_24_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/17/10/image_17082025_17_10_14_9670.jpg', 2), ('/home/nano/Desktop/images/17082025/17/09/image_17082025_17_09_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/48/image_17082025_14_48_55_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/10/image_17082025_17_10_45_10647.jpg', '/home/nano/Desktop/images/17082025/17/10/image_17082025_17_10_34_9638.jpg', '/home/nano/Desktop/images/17082025/17/10/image_17082025_17_10_24_10669.jpg', '/home/nano/Desktop/images/17082025/17/10/image_17082025_17_10_14_9670.jpg', '/home/nano/Desktop/images/17082025/17/09/image_17082025_17_09_54_10649.jpg', '/home/nano/Desktop/images/17082025/14/48/image_17082025_14_48_55_10645.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/10/image_17082025_17_10_45_10647.jpg
/home/nano/Desktop/images/17082025/17/10/image_17082025_17_10_34_9638.jpg
/home/nano/Desktop/images/17082025/17/10/image_17082025_17_10_24_10669.jpg
/home/nano/Desktop/images/17082025/17/10/image_17082025_17_10_14_9670.jpg
/home/nano/Desktop/images/17082025/17/09/image_17082025_17_09_54_10649.jpg
/home/nano/Desktop/images/17082025/14/48/image_17082025_14_48_55_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676202","1377676201","1377676204","1377676218","1377676206","1377676209"],"photo_ids_order":["1377676201","1377676202","1377676204","1377676206","1377676209","1377676218"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0bd11c7aa20a3d8e98ea91f1d407fd48.jpg","text":"TemporaryFile(/tmp/multipartBody1552301752880035383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443509005,"filename":"image_17082025_17_10_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/402e8b49c45e56a0ece57fd3ced496c5.jpg","text":"TemporaryFile(/tmp/multipartBody169023130868513068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443509005,"filename":"image_17082025_17_10_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cb987f54d055f56dee86cb0bfbe387f5.jpg","text":"TemporaryFile(/tmp/multipartBody345080569533883034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443509005,"filename":"image_17082025_17_10_24_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5978e5db26e367e39c5db82daa7652a1.jpg","text":"TemporaryFile(/tmp/multipartBody5253181963474500010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443509005,"filename":"image_17082025_14_48_55_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/954a7823be6fe53d785818ef4610c0ef.jpg","text":"TemporaryFile(/tmp/multipartBody8563650494167417392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443509005,"filename":"image_17082025_17_10_14_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1560bbed753f91fff2c808f76f782caa.jpg","text":"TemporaryFile(/tmp/multipartBody394320770549948194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443509005,"filename":"image_17082025_17_09_54_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676204","file1":"1377676202","file0":"1377676201","file4":"1377676209","file5":"1377676218","file3":"1377676206"},"map_files_photo_id_array":[{"photo_id":"1377676218","filename":"file5"},{"photo_id":"1377676204","filename":"file2"},{"photo_id":"1377676209","filename":"file4"},{"photo_id":"1377676202","filename":"file1"},{"photo_id":"1377676201","filename":"file0"},{"photo_id":"1377676206","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676202":["hashtag1","hashtag2"]},{"1377676201":["hashtag1","hashtag2"]},{"1377676204":["hashtag1","hashtag2"]},{"1377676218":["hashtag1","hashtag2"]},{"1377676206":["hashtag1","hashtag2"]},{"1377676209":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676202, 1377676201, 1377676204, 1377676218, 1377676206, 1377676209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34821939468384 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:11:32.175231
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/11/image_17082025_17_11_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/17/11/image_17082025_17_11_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/17/11/image_17082025_17_11_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/11/image_17082025_17_11_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/17/10/image_17082025_17_11_04_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/10/image_17082025_17_10_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/11/image_17082025_17_11_44_10647.jpg', '/home/nano/Desktop/images/17082025/17/11/image_17082025_17_11_34_9640.jpg', '/home/nano/Desktop/images/17082025/17/11/image_17082025_17_11_24_9639.jpg', '/home/nano/Desktop/images/17082025/17/11/image_17082025_17_11_14_10666.jpg', '/home/nano/Desktop/images/17082025/17/10/image_17082025_17_11_04_9639.jpg', '/home/nano/Desktop/images/17082025/17/10/image_17082025_17_10_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/11/image_17082025_17_11_44_10647.jpg
/home/nano/Desktop/images/17082025/17/11/image_17082025_17_11_34_9640.jpg
/home/nano/Desktop/images/17082025/17/11/image_17082025_17_11_24_9639.jpg
/home/nano/Desktop/images/17082025/17/11/image_17082025_17_11_14_10666.jpg
/home/nano/Desktop/images/17082025/17/10/image_17082025_17_11_04_9639.jpg
/home/nano/Desktop/images/17082025/17/10/image_17082025_17_10_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676229","1377676231","1377676225","1377676228","1377676230","1377676227"],"photo_ids_order":["1377676225","1377676227","1377676228","1377676229","1377676230","1377676231"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f35f1d13327e7df7b5f6d70b44b056c7.jpg","text":"TemporaryFile(/tmp/multipartBody4443455129549280357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443554010,"filename":"image_17082025_17_11_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1609719e481e0bcc54d4e21480f47b0b.jpg","text":"TemporaryFile(/tmp/multipartBody3703329814064737237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443554010,"filename":"image_17082025_17_10_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/876991b75c49ec18f7a9608d5cc2eefa.jpg","text":"TemporaryFile(/tmp/multipartBody2911023184277548760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443554010,"filename":"image_17082025_17_11_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/720f13f6fc606ea3ac7d6861bbf74b90.jpg","text":"TemporaryFile(/tmp/multipartBody3851863501409323907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443554010,"filename":"image_17082025_17_11_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/43afd8b8d8e64ac35ae94c4c948f0bc4.jpg","text":"TemporaryFile(/tmp/multipartBody5223761174331731861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443554010,"filename":"image_17082025_17_11_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/096063587ef3bd51b5d6432d91997cb7.jpg","text":"TemporaryFile(/tmp/multipartBody5232251870447003953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443554010,"filename":"image_17082025_17_11_34_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676228","file1":"1377676227","file0":"1377676225","file4":"1377676230","file5":"1377676231","file3":"1377676229"},"map_files_photo_id_array":[{"photo_id":"1377676231","filename":"file5"},{"photo_id":"1377676228","filename":"file2"},{"photo_id":"1377676230","filename":"file4"},{"photo_id":"1377676227","filename":"file1"},{"photo_id":"1377676225","filename":"file0"},{"photo_id":"1377676229","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676229":["hashtag1","hashtag2"]},{"1377676231":["hashtag1","hashtag2"]},{"1377676225":["hashtag1","hashtag2"]},{"1377676228":["hashtag1","hashtag2"]},{"1377676230":["hashtag1","hashtag2"]},{"1377676227":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676229, 1377676231, 1377676225, 1377676228, 1377676230, 1377676227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.687394857406616 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:12:17.271752
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/12/image_17082025_17_12_44_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/17/12/image_17082025_17_12_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/12/image_17082025_17_12_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/12/image_17082025_17_12_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/17/11/image_17082025_17_12_04_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/17/11/image_17082025_17_11_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/12/image_17082025_17_12_44_10666.jpg', '/home/nano/Desktop/images/17082025/17/12/image_17082025_17_12_34_9639.jpg', '/home/nano/Desktop/images/17082025/17/12/image_17082025_17_12_24_9639.jpg', '/home/nano/Desktop/images/17082025/17/12/image_17082025_17_12_14_10665.jpg', '/home/nano/Desktop/images/17082025/17/11/image_17082025_17_12_04_9640.jpg', '/home/nano/Desktop/images/17082025/17/11/image_17082025_17_11_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/12/image_17082025_17_12_44_10666.jpg
/home/nano/Desktop/images/17082025/17/12/image_17082025_17_12_34_9639.jpg
/home/nano/Desktop/images/17082025/17/12/image_17082025_17_12_24_9639.jpg
/home/nano/Desktop/images/17082025/17/12/image_17082025_17_12_14_10665.jpg
/home/nano/Desktop/images/17082025/17/11/image_17082025_17_12_04_9640.jpg
/home/nano/Desktop/images/17082025/17/11/image_17082025_17_11_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676250","1377676247","1377676243","1377676249","1377676251","1377676245"],"photo_ids_order":["1377676243","1377676245","1377676247","1377676249","1377676250","1377676251"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/271310e68a91b9ee8b0e31ed54ad02dc.jpg","text":"TemporaryFile(/tmp/multipartBody3102760618052578416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443598975,"filename":"image_17082025_17_12_04_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/67d1358b01fa801397d429b1eefcb74e.jpg","text":"TemporaryFile(/tmp/multipartBody8281822049750821246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443598975,"filename":"image_17082025_17_12_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/149e0d1063b57eaa6fd919de9e5151e9.jpg","text":"TemporaryFile(/tmp/multipartBody1659818802081922936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443598975,"filename":"image_17082025_17_12_44_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4a258639deae511cb41d110820caaab0.jpg","text":"TemporaryFile(/tmp/multipartBody3475275386566236750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443598975,"filename":"image_17082025_17_12_14_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6bb0c0bc034ff6dd218809aa5c1cc5f1.jpg","text":"TemporaryFile(/tmp/multipartBody3633845053152043789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443598975,"filename":"image_17082025_17_11_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d2a42789fff518c8847a5be35dd646db.jpg","text":"TemporaryFile(/tmp/multipartBody1282471225508118728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443598975,"filename":"image_17082025_17_12_34_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676247","file1":"1377676245","file0":"1377676243","file4":"1377676250","file5":"1377676251","file3":"1377676249"},"map_files_photo_id_array":[{"photo_id":"1377676251","filename":"file5"},{"photo_id":"1377676247","filename":"file2"},{"photo_id":"1377676250","filename":"file4"},{"photo_id":"1377676245","filename":"file1"},{"photo_id":"1377676243","filename":"file0"},{"photo_id":"1377676249","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676250":["hashtag1","hashtag2"]},{"1377676247":["hashtag1","hashtag2"]},{"1377676243":["hashtag1","hashtag2"]},{"1377676249":["hashtag1","hashtag2"]},{"1377676251":["hashtag1","hashtag2"]},{"1377676245":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676250, 1377676247, 1377676243, 1377676249, 1377676251, 1377676245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69939970970154 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:13:02.995006
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/48/image_17082025_14_48_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/14/48/image_17082025_14_48_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/48/image_17082025_14_48_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/48/image_17082025_14_48_14_9681.jpg', 2), ('/home/nano/Desktop/images/17082025/14/47/image_17082025_14_48_04_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/48/image_17082025_14_48_44_9655.jpg', '/home/nano/Desktop/images/17082025/14/48/image_17082025_14_48_34_10649.jpg', '/home/nano/Desktop/images/17082025/14/48/image_17082025_14_48_24_9639.jpg', '/home/nano/Desktop/images/17082025/14/48/image_17082025_14_48_14_9681.jpg', '/home/nano/Desktop/images/17082025/14/47/image_17082025_14_48_04_10664.jpg', '/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_54_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/48/image_17082025_14_48_44_9655.jpg
/home/nano/Desktop/images/17082025/14/48/image_17082025_14_48_34_10649.jpg
/home/nano/Desktop/images/17082025/14/48/image_17082025_14_48_24_9639.jpg
/home/nano/Desktop/images/17082025/14/48/image_17082025_14_48_14_9681.jpg
/home/nano/Desktop/images/17082025/14/47/image_17082025_14_48_04_10664.jpg
/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_54_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676271","1377676265","1377676256","1377676258","1377676267","1377676269"],"photo_ids_order":["1377676256","1377676258","1377676265","1377676267","1377676269","1377676271"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/382063baddffba3f5162f1d1c435864e.jpg","text":"TemporaryFile(/tmp/multipartBody7649226033625475513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443644755,"filename":"image_17082025_14_47_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5b8627d0dc3eb616b4625f6b1eca4995.jpg","text":"TemporaryFile(/tmp/multipartBody7182245428396525203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443644755,"filename":"image_17082025_14_48_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b453085a228dc69ae9ffdb4015a736d2.jpg","text":"TemporaryFile(/tmp/multipartBody4868156659235929274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443644755,"filename":"image_17082025_14_48_44_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c919104fca7f523eb86f155d66377edf.jpg","text":"TemporaryFile(/tmp/multipartBody5018845447111455090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443644755,"filename":"image_17082025_14_48_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/531d1bc162d21590d25a973f02c52c68.jpg","text":"TemporaryFile(/tmp/multipartBody3072013775465255493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443644755,"filename":"image_17082025_14_48_14_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a39cfbbc3dda45c63503dfc8b7fcf92e.jpg","text":"TemporaryFile(/tmp/multipartBody116326512562004669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443644755,"filename":"image_17082025_14_48_04_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676265","file1":"1377676258","file0":"1377676256","file4":"1377676269","file5":"1377676271","file3":"1377676267"},"map_files_photo_id_array":[{"photo_id":"1377676271","filename":"file5"},{"photo_id":"1377676265","filename":"file2"},{"photo_id":"1377676269","filename":"file4"},{"photo_id":"1377676258","filename":"file1"},{"photo_id":"1377676256","filename":"file0"},{"photo_id":"1377676267","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676271":["hashtag1","hashtag2"]},{"1377676265":["hashtag1","hashtag2"]},{"1377676256":["hashtag1","hashtag2"]},{"1377676258":["hashtag1","hashtag2"]},{"1377676267":["hashtag1","hashtag2"]},{"1377676269":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676271, 1377676265, 1377676256, 1377676258, 1377676267, 1377676269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76418495178223 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:13:47.375183
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/13/image_17082025_17_13_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/17/13/image_17082025_17_13_35_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/17/13/image_17082025_17_13_24_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/17/12/image_17082025_17_13_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/17/12/image_17082025_17_12_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/13/image_17082025_17_13_44_9640.jpg', '/home/nano/Desktop/images/17082025/17/13/image_17082025_17_13_35_10653.jpg', '/home/nano/Desktop/images/17082025/17/13/image_17082025_17_13_24_9645.jpg', '/home/nano/Desktop/images/17082025/17/12/image_17082025_17_13_04_9654.jpg', '/home/nano/Desktop/images/17082025/17/12/image_17082025_17_12_54_9640.jpg', '/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/13/image_17082025_17_13_44_9640.jpg
/home/nano/Desktop/images/17082025/17/13/image_17082025_17_13_35_10653.jpg
/home/nano/Desktop/images/17082025/17/13/image_17082025_17_13_24_9645.jpg
/home/nano/Desktop/images/17082025/17/12/image_17082025_17_13_04_9654.jpg
/home/nano/Desktop/images/17082025/17/12/image_17082025_17_12_54_9640.jpg
/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_44_9637.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5983002185821533 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:14:03.454659
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/13/image_17082025_17_13_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/17/13/image_17082025_17_13_35_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/17/13/image_17082025_17_13_24_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/17/12/image_17082025_17_13_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/17/12/image_17082025_17_12_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/13/image_17082025_17_13_44_9640.jpg', '/home/nano/Desktop/images/17082025/17/13/image_17082025_17_13_35_10653.jpg', '/home/nano/Desktop/images/17082025/17/13/image_17082025_17_13_24_9645.jpg', '/home/nano/Desktop/images/17082025/17/12/image_17082025_17_13_04_9654.jpg', '/home/nano/Desktop/images/17082025/17/12/image_17082025_17_12_54_9640.jpg', '/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/13/image_17082025_17_13_44_9640.jpg
/home/nano/Desktop/images/17082025/17/13/image_17082025_17_13_35_10653.jpg
/home/nano/Desktop/images/17082025/17/13/image_17082025_17_13_24_9645.jpg
/home/nano/Desktop/images/17082025/17/12/image_17082025_17_13_04_9654.jpg
/home/nano/Desktop/images/17082025/17/12/image_17082025_17_12_54_9640.jpg
/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_44_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676279","1377676300","1377676290","1377676293","1377676296","1377676298"],"photo_ids_order":["1377676279","1377676290","1377676293","1377676296","1377676298","1377676300"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e769d35d4055855262caf38b6769887b.jpg","text":"TemporaryFile(/tmp/multipartBody8724254766693259875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443705023,"filename":"image_17082025_17_13_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/07733efa04fc823709515d062ac07524.jpg","text":"TemporaryFile(/tmp/multipartBody2034308740242983277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443705023,"filename":"image_17082025_14_47_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b91f8303b9bf03e23e9e639a1a1fb7c0.jpg","text":"TemporaryFile(/tmp/multipartBody8435309514978406298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443705023,"filename":"image_17082025_17_13_35_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bf8506f8b9aba0c60faa4333a0fba1dc.jpg","text":"TemporaryFile(/tmp/multipartBody79149582258445652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443705023,"filename":"image_17082025_17_13_24_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a66e0c307c43a8e66c1d5dddffe884e7.jpg","text":"TemporaryFile(/tmp/multipartBody8565167206503636404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443705023,"filename":"image_17082025_17_13_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ad0d9639469efed687a7757c7b3d3dd0.jpg","text":"TemporaryFile(/tmp/multipartBody6057644068576298929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443705023,"filename":"image_17082025_17_12_54_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676293","file1":"1377676290","file0":"1377676279","file4":"1377676298","file5":"1377676300","file3":"1377676296"},"map_files_photo_id_array":[{"photo_id":"1377676300","filename":"file5"},{"photo_id":"1377676293","filename":"file2"},{"photo_id":"1377676298","filename":"file4"},{"photo_id":"1377676290","filename":"file1"},{"photo_id":"1377676279","filename":"file0"},{"photo_id":"1377676296","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676279":["hashtag1","hashtag2"]},{"1377676300":["hashtag1","hashtag2"]},{"1377676290":["hashtag1","hashtag2"]},{"1377676293":["hashtag1","hashtag2"]},{"1377676296":["hashtag1","hashtag2"]},{"1377676298":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676279, 1377676300, 1377676290, 1377676293, 1377676296, 1377676298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41288089752197 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:14:47.500797
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/14/image_17082025_17_14_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/14/image_17082025_17_14_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/17/14/image_17082025_17_14_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/17/14/image_17082025_17_14_14_9668.jpg', 2), ('/home/nano/Desktop/images/17082025/17/13/image_17082025_17_14_04_10654.jpg', 2), ('/home/nano/Desktop/images/17082025/17/13/image_17082025_17_13_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/14/image_17082025_17_14_44_9639.jpg', '/home/nano/Desktop/images/17082025/17/14/image_17082025_17_14_34_10647.jpg', '/home/nano/Desktop/images/17082025/17/14/image_17082025_17_14_24_9637.jpg', '/home/nano/Desktop/images/17082025/17/14/image_17082025_17_14_14_9668.jpg', '/home/nano/Desktop/images/17082025/17/13/image_17082025_17_14_04_10654.jpg', '/home/nano/Desktop/images/17082025/17/13/image_17082025_17_13_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/14/image_17082025_17_14_44_9639.jpg
/home/nano/Desktop/images/17082025/17/14/image_17082025_17_14_34_10647.jpg
/home/nano/Desktop/images/17082025/17/14/image_17082025_17_14_24_9637.jpg
/home/nano/Desktop/images/17082025/17/14/image_17082025_17_14_14_9668.jpg
/home/nano/Desktop/images/17082025/17/13/image_17082025_17_14_04_10654.jpg
/home/nano/Desktop/images/17082025/17/13/image_17082025_17_13_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676322","1377676307","1377676312","1377676309","1377676311","1377676314"],"photo_ids_order":["1377676307","1377676309","1377676311","1377676312","1377676314","1377676322"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/05d3b111ff4f7089ea1c1fbd45edbaab.jpg","text":"TemporaryFile(/tmp/multipartBody199415790372609069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443749486,"filename":"image_17082025_17_13_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2807a839b90f4a0891a125372f7bf4ba.jpg","text":"TemporaryFile(/tmp/multipartBody4659772052749021119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443749486,"filename":"image_17082025_17_14_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f58697675d36632cb43a88959c88bfb3.jpg","text":"TemporaryFile(/tmp/multipartBody862503990781797356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443749486,"filename":"image_17082025_17_14_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1771a7c643507ffed5db2188ecb3b559.jpg","text":"TemporaryFile(/tmp/multipartBody1086017056176979187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443749486,"filename":"image_17082025_17_14_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c677801bf5fa30dbcee9098c5476c237.jpg","text":"TemporaryFile(/tmp/multipartBody117599166491574371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443749486,"filename":"image_17082025_17_14_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f33f0a872a9c7f60b44f0fc591fbea03.jpg","text":"TemporaryFile(/tmp/multipartBody6039119675584272232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443749486,"filename":"image_17082025_17_14_04_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676311","file1":"1377676309","file0":"1377676307","file4":"1377676314","file5":"1377676322","file3":"1377676312"},"map_files_photo_id_array":[{"photo_id":"1377676322","filename":"file5"},{"photo_id":"1377676311","filename":"file2"},{"photo_id":"1377676314","filename":"file4"},{"photo_id":"1377676309","filename":"file1"},{"photo_id":"1377676307","filename":"file0"},{"photo_id":"1377676312","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676322":["hashtag1","hashtag2"]},{"1377676307":["hashtag1","hashtag2"]},{"1377676312":["hashtag1","hashtag2"]},{"1377676309":["hashtag1","hashtag2"]},{"1377676311":["hashtag1","hashtag2"]},{"1377676314":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676322, 1377676307, 1377676312, 1377676309, 1377676311, 1377676314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87621569633484 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:15:32.625837
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/15/image_17082025_17_15_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/15/image_17082025_17_15_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/15/image_17082025_17_15_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/17/14/image_17082025_17_15_04_10676.jpg', 2), ('/home/nano/Desktop/images/17082025/17/14/image_17082025_17_14_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_34_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/15/image_17082025_17_15_44_9638.jpg', '/home/nano/Desktop/images/17082025/17/15/image_17082025_17_15_24_9638.jpg', '/home/nano/Desktop/images/17082025/17/15/image_17082025_17_15_14_9653.jpg', '/home/nano/Desktop/images/17082025/17/14/image_17082025_17_15_04_10676.jpg', '/home/nano/Desktop/images/17082025/17/14/image_17082025_17_14_54_9639.jpg', '/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_34_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/15/image_17082025_17_15_44_9638.jpg
/home/nano/Desktop/images/17082025/17/15/image_17082025_17_15_24_9638.jpg
/home/nano/Desktop/images/17082025/17/15/image_17082025_17_15_14_9653.jpg
/home/nano/Desktop/images/17082025/17/14/image_17082025_17_15_04_10676.jpg
/home/nano/Desktop/images/17082025/17/14/image_17082025_17_14_54_9639.jpg
/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_34_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676331","1377676328","1377676333","1377676327","1377676335","1377676329"],"photo_ids_order":["1377676327","1377676328","1377676329","1377676331","1377676333","1377676335"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e9d912a69405c3c5eb7efdacf2fe5909.jpg","text":"TemporaryFile(/tmp/multipartBody7648040501444562051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443794747,"filename":"image_17082025_17_15_04_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ac2b56332f38e03be3c5495e394531fc.jpg","text":"TemporaryFile(/tmp/multipartBody886098466144107330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443794747,"filename":"image_17082025_17_15_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/010ce1a4dc019e83ad472fb0ad038446.jpg","text":"TemporaryFile(/tmp/multipartBody3475474358330692915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443794747,"filename":"image_17082025_17_14_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3b065865ae3783caf0afa429690d7735.jpg","text":"TemporaryFile(/tmp/multipartBody6374618686688580659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443794747,"filename":"image_17082025_17_15_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1c6c0f0c9c14a62f9f8bf7a4fc732986.jpg","text":"TemporaryFile(/tmp/multipartBody6580736687119941869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443794747,"filename":"image_17082025_14_47_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6c619f72300313b71b7f5f37bf84c416.jpg","text":"TemporaryFile(/tmp/multipartBody6682923527599734773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443794747,"filename":"image_17082025_17_15_14_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676329","file1":"1377676328","file0":"1377676327","file4":"1377676333","file5":"1377676335","file3":"1377676331"},"map_files_photo_id_array":[{"photo_id":"1377676335","filename":"file5"},{"photo_id":"1377676329","filename":"file2"},{"photo_id":"1377676333","filename":"file4"},{"photo_id":"1377676328","filename":"file1"},{"photo_id":"1377676327","filename":"file0"},{"photo_id":"1377676331","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676331":["hashtag1","hashtag2"]},{"1377676328":["hashtag1","hashtag2"]},{"1377676333":["hashtag1","hashtag2"]},{"1377676327":["hashtag1","hashtag2"]},{"1377676335":["hashtag1","hashtag2"]},{"1377676329":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676331, 1377676328, 1377676333, 1377676327, 1377676335, 1377676329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84937357902527 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:16:17.724231
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/16/image_17082025_17_16_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/17/16/image_17082025_17_16_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/17/16/image_17082025_17_16_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/17/16/image_17082025_17_16_14_9665.jpg', 2), ('/home/nano/Desktop/images/17082025/17/15/image_17082025_17_16_04_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/17/15/image_17082025_17_15_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/16/image_17082025_17_16_44_9636.jpg', '/home/nano/Desktop/images/17082025/17/16/image_17082025_17_16_34_10648.jpg', '/home/nano/Desktop/images/17082025/17/16/image_17082025_17_16_24_9637.jpg', '/home/nano/Desktop/images/17082025/17/16/image_17082025_17_16_14_9665.jpg', '/home/nano/Desktop/images/17082025/17/15/image_17082025_17_16_04_10657.jpg', '/home/nano/Desktop/images/17082025/17/15/image_17082025_17_15_54_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/16/image_17082025_17_16_44_9636.jpg
/home/nano/Desktop/images/17082025/17/16/image_17082025_17_16_34_10648.jpg
/home/nano/Desktop/images/17082025/17/16/image_17082025_17_16_24_9637.jpg
/home/nano/Desktop/images/17082025/17/16/image_17082025_17_16_14_9665.jpg
/home/nano/Desktop/images/17082025/17/15/image_17082025_17_16_04_10657.jpg
/home/nano/Desktop/images/17082025/17/15/image_17082025_17_15_54_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676352","1377676355","1377676349","1377676357","1377676345","1377676354"],"photo_ids_order":["1377676345","1377676349","1377676352","1377676354","1377676355","1377676357"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/160167eac9c9f3ac35a54b052bc937e7.jpg","text":"TemporaryFile(/tmp/multipartBody5889984342532693118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443839911,"filename":"image_17082025_17_16_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/452f0bae77d4ad40a116f96680216987.jpg","text":"TemporaryFile(/tmp/multipartBody121942258013957539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443839911,"filename":"image_17082025_17_16_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5483ddedbc4edd77351066fc41de7387.jpg","text":"TemporaryFile(/tmp/multipartBody8192571459801037074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443839911,"filename":"image_17082025_17_16_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d8ebb82675e7008d2a83b70ebd021ce7.jpg","text":"TemporaryFile(/tmp/multipartBody6291048453268654936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443839911,"filename":"image_17082025_17_15_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8f1ea60d1ee0637ba83dcb1d700c1344.jpg","text":"TemporaryFile(/tmp/multipartBody5401547033195993184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443839911,"filename":"image_17082025_17_16_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1c3635e0a0076ea5b249e4fa9585e66d.jpg","text":"TemporaryFile(/tmp/multipartBody5213542188785568169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443839911,"filename":"image_17082025_17_16_14_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676352","file1":"1377676349","file0":"1377676345","file4":"1377676355","file5":"1377676357","file3":"1377676354"},"map_files_photo_id_array":[{"photo_id":"1377676357","filename":"file5"},{"photo_id":"1377676352","filename":"file2"},{"photo_id":"1377676355","filename":"file4"},{"photo_id":"1377676349","filename":"file1"},{"photo_id":"1377676345","filename":"file0"},{"photo_id":"1377676354","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676352":["hashtag1","hashtag2"]},{"1377676355":["hashtag1","hashtag2"]},{"1377676349":["hashtag1","hashtag2"]},{"1377676357":["hashtag1","hashtag2"]},{"1377676345":["hashtag1","hashtag2"]},{"1377676354":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676352, 1377676355, 1377676349, 1377676357, 1377676345, 1377676354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.225353479385376 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:17:02.435074
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_14_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/14/46/image_17082025_14_47_04_10660.jpg', 2), ('/home/nano/Desktop/images/17082025/14/46/image_17082025_14_46_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/46/image_17082025_14_46_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/46/image_17082025_14_46_34_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_24_9637.jpg', '/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_14_9652.jpg', '/home/nano/Desktop/images/17082025/14/46/image_17082025_14_47_04_10660.jpg', '/home/nano/Desktop/images/17082025/14/46/image_17082025_14_46_54_9640.jpg', '/home/nano/Desktop/images/17082025/14/46/image_17082025_14_46_44_9637.jpg', '/home/nano/Desktop/images/17082025/14/46/image_17082025_14_46_34_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_24_9637.jpg
/home/nano/Desktop/images/17082025/14/47/image_17082025_14_47_14_9652.jpg
/home/nano/Desktop/images/17082025/14/46/image_17082025_14_47_04_10660.jpg
/home/nano/Desktop/images/17082025/14/46/image_17082025_14_46_54_9640.jpg
/home/nano/Desktop/images/17082025/14/46/image_17082025_14_46_44_9637.jpg
/home/nano/Desktop/images/17082025/14/46/image_17082025_14_46_34_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676364","1377676372","1377676374","1377676377","1377676362","1377676376"],"photo_ids_order":["1377676362","1377676364","1377676372","1377676374","1377676376","1377676377"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dd8d53e26a33989b1e59521d0ac65ed3.jpg","text":"TemporaryFile(/tmp/multipartBody2070845461500919479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443884290,"filename":"image_17082025_14_47_14_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dd3f9abc26656f90f0e2a633d6b06135.jpg","text":"TemporaryFile(/tmp/multipartBody5001158220371887404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443884290,"filename":"image_17082025_14_47_04_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/811f0333cccfc0c56242d78197c5f336.jpg","text":"TemporaryFile(/tmp/multipartBody3483858440172774446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443884290,"filename":"image_17082025_14_46_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8d6924e84d532bd3db7262383d30715f.jpg","text":"TemporaryFile(/tmp/multipartBody9151407294054917922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443884290,"filename":"image_17082025_14_46_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3ed2fbf9291260cd1c55d939fff47901.jpg","text":"TemporaryFile(/tmp/multipartBody3885039183925266192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443884290,"filename":"image_17082025_14_47_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/802485209f0fcfa857756a39d1a9881b.jpg","text":"TemporaryFile(/tmp/multipartBody2339054379223632785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443884290,"filename":"image_17082025_14_46_44_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676372","file1":"1377676364","file0":"1377676362","file4":"1377676376","file5":"1377676377","file3":"1377676374"},"map_files_photo_id_array":[{"photo_id":"1377676377","filename":"file5"},{"photo_id":"1377676372","filename":"file2"},{"photo_id":"1377676376","filename":"file4"},{"photo_id":"1377676364","filename":"file1"},{"photo_id":"1377676362","filename":"file0"},{"photo_id":"1377676374","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676364":["hashtag1","hashtag2"]},{"1377676372":["hashtag1","hashtag2"]},{"1377676374":["hashtag1","hashtag2"]},{"1377676377":["hashtag1","hashtag2"]},{"1377676362":["hashtag1","hashtag2"]},{"1377676376":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676364, 1377676372, 1377676374, 1377676377, 1377676362, 1377676376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62577724456787 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:17:46.840383
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/17/image_17082025_17_17_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/17/17/image_17082025_17_17_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/17/17/image_17082025_17_17_25_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/17/17/image_17082025_17_17_14_9680.jpg', 2), ('/home/nano/Desktop/images/17082025/17/16/image_17082025_17_17_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/17/16/image_17082025_17_16_55_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/17/image_17082025_17_17_44_9637.jpg', '/home/nano/Desktop/images/17082025/17/17/image_17082025_17_17_34_9640.jpg', '/home/nano/Desktop/images/17082025/17/17/image_17082025_17_17_25_10665.jpg', '/home/nano/Desktop/images/17082025/17/17/image_17082025_17_17_14_9680.jpg', '/home/nano/Desktop/images/17082025/17/16/image_17082025_17_17_04_9641.jpg', '/home/nano/Desktop/images/17082025/17/16/image_17082025_17_16_55_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/17/image_17082025_17_17_44_9637.jpg
/home/nano/Desktop/images/17082025/17/17/image_17082025_17_17_34_9640.jpg
/home/nano/Desktop/images/17082025/17/17/image_17082025_17_17_25_10665.jpg
/home/nano/Desktop/images/17082025/17/17/image_17082025_17_17_14_9680.jpg
/home/nano/Desktop/images/17082025/17/16/image_17082025_17_17_04_9641.jpg
/home/nano/Desktop/images/17082025/17/16/image_17082025_17_16_55_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676433","1377676441","1377676432","1377676426","1377676434","1377676431"],"photo_ids_order":["1377676426","1377676431","1377676432","1377676433","1377676434","1377676441"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/301b83f8803987a9d1d3269ebc8efc69.jpg","text":"TemporaryFile(/tmp/multipartBody7690862177107198374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443928907,"filename":"image_17082025_17_17_14_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ae524cd124f16bb90f366844ad3c780f.jpg","text":"TemporaryFile(/tmp/multipartBody7785348015783517992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443928907,"filename":"image_17082025_17_16_55_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6906411a97f3d110ae87e3b9a5f4c9a9.jpg","text":"TemporaryFile(/tmp/multipartBody5863457010850750647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443928907,"filename":"image_17082025_17_17_25_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fc5cdbf576028e889ed15da4b824f497.jpg","text":"TemporaryFile(/tmp/multipartBody4171193863139079022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443928907,"filename":"image_17082025_17_17_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/77086df1d51a4eff70e34433db5af390.jpg","text":"TemporaryFile(/tmp/multipartBody7954084988304562170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443928907,"filename":"image_17082025_17_17_04_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a94d66f3f9d60f02e4a3cca17e199659.jpg","text":"TemporaryFile(/tmp/multipartBody4913894490379841647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443928907,"filename":"image_17082025_17_17_34_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676432","file1":"1377676431","file0":"1377676426","file4":"1377676434","file5":"1377676441","file3":"1377676433"},"map_files_photo_id_array":[{"photo_id":"1377676441","filename":"file5"},{"photo_id":"1377676432","filename":"file2"},{"photo_id":"1377676434","filename":"file4"},{"photo_id":"1377676431","filename":"file1"},{"photo_id":"1377676426","filename":"file0"},{"photo_id":"1377676433","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676433":["hashtag1","hashtag2"]},{"1377676441":["hashtag1","hashtag2"]},{"1377676432":["hashtag1","hashtag2"]},{"1377676426":["hashtag1","hashtag2"]},{"1377676434":["hashtag1","hashtag2"]},{"1377676431":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676433, 1377676441, 1377676432, 1377676426, 1377676434, 1377676431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.337918758392334 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:18:31.950174
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/18/image_17082025_17_18_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/17/18/image_17082025_17_18_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/18/image_17082025_17_18_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/17/18/image_17082025_17_18_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/17/17/image_17082025_17_18_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/17/17/image_17082025_17_17_54_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/18/image_17082025_17_18_44_9637.jpg', '/home/nano/Desktop/images/17082025/17/18/image_17082025_17_18_34_9638.jpg', '/home/nano/Desktop/images/17082025/17/18/image_17082025_17_18_24_10648.jpg', '/home/nano/Desktop/images/17082025/17/18/image_17082025_17_18_14_9659.jpg', '/home/nano/Desktop/images/17082025/17/17/image_17082025_17_18_04_9653.jpg', '/home/nano/Desktop/images/17082025/17/17/image_17082025_17_17_54_10665.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/18/image_17082025_17_18_44_9637.jpg
/home/nano/Desktop/images/17082025/17/18/image_17082025_17_18_34_9638.jpg
/home/nano/Desktop/images/17082025/17/18/image_17082025_17_18_24_10648.jpg
/home/nano/Desktop/images/17082025/17/18/image_17082025_17_18_14_9659.jpg
/home/nano/Desktop/images/17082025/17/17/image_17082025_17_18_04_9653.jpg
/home/nano/Desktop/images/17082025/17/17/image_17082025_17_17_54_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676544","1377676535","1377676549","1377676546","1377676548","1377676542"],"photo_ids_order":["1377676535","1377676542","1377676544","1377676546","1377676548","1377676549"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f4983bb05f6c5eeef5afdd9b9402ead1.jpg","text":"TemporaryFile(/tmp/multipartBody8026236567347364649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443973771,"filename":"image_17082025_17_18_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ac8dc02bf2dfbf1e9431c8ebbed3f490.jpg","text":"TemporaryFile(/tmp/multipartBody5764505998168743775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443973771,"filename":"image_17082025_17_18_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/097a93a413cbfbb7d455736ad9590cd9.jpg","text":"TemporaryFile(/tmp/multipartBody242229087701401843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443973771,"filename":"image_17082025_17_17_54_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e6e2378e74044573d6a8aa31f47007dd.jpg","text":"TemporaryFile(/tmp/multipartBody6051942997464914416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443973771,"filename":"image_17082025_17_18_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fdb7907e5d81815e827fa153cf4761d5.jpg","text":"TemporaryFile(/tmp/multipartBody8390521675502829051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443973771,"filename":"image_17082025_17_18_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/555347abbe91291f57053c1e9f79484f.jpg","text":"TemporaryFile(/tmp/multipartBody7209379909114068857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755443973771,"filename":"image_17082025_17_18_34_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676544","file1":"1377676542","file0":"1377676535","file4":"1377676548","file5":"1377676549","file3":"1377676546"},"map_files_photo_id_array":[{"photo_id":"1377676549","filename":"file5"},{"photo_id":"1377676544","filename":"file2"},{"photo_id":"1377676548","filename":"file4"},{"photo_id":"1377676542","filename":"file1"},{"photo_id":"1377676535","filename":"file0"},{"photo_id":"1377676546","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676544":["hashtag1","hashtag2"]},{"1377676535":["hashtag1","hashtag2"]},{"1377676549":["hashtag1","hashtag2"]},{"1377676546":["hashtag1","hashtag2"]},{"1377676548":["hashtag1","hashtag2"]},{"1377676542":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676544, 1377676535, 1377676549, 1377676546, 1377676548, 1377676542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66350817680359 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:19:17.041282
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/19/image_17082025_17_19_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/17/19/image_17082025_17_19_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/17/19/image_17082025_17_19_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/17/19/image_17082025_17_19_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/17/18/image_17082025_17_19_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/17/18/image_17082025_17_18_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/19/image_17082025_17_19_44_9637.jpg', '/home/nano/Desktop/images/17082025/17/19/image_17082025_17_19_34_9642.jpg', '/home/nano/Desktop/images/17082025/17/19/image_17082025_17_19_24_10647.jpg', '/home/nano/Desktop/images/17082025/17/19/image_17082025_17_19_14_9658.jpg', '/home/nano/Desktop/images/17082025/17/18/image_17082025_17_19_04_9656.jpg', '/home/nano/Desktop/images/17082025/17/18/image_17082025_17_18_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/19/image_17082025_17_19_44_9637.jpg
/home/nano/Desktop/images/17082025/17/19/image_17082025_17_19_34_9642.jpg
/home/nano/Desktop/images/17082025/17/19/image_17082025_17_19_24_10647.jpg
/home/nano/Desktop/images/17082025/17/19/image_17082025_17_19_14_9658.jpg
/home/nano/Desktop/images/17082025/17/18/image_17082025_17_19_04_9656.jpg
/home/nano/Desktop/images/17082025/17/18/image_17082025_17_18_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676556","1377676565","1377676559","1377676561","1377676558","1377676563"],"photo_ids_order":["1377676556","1377676558","1377676559","1377676561","1377676563","1377676565"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e21412f6aa7f83ae65eb18c6f561f1a3.jpg","text":"TemporaryFile(/tmp/multipartBody7923398145187519863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444018749,"filename":"image_17082025_17_19_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b9b75e16caccf05a299f5424e2ce7f59.jpg","text":"TemporaryFile(/tmp/multipartBody3354851178708119692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444018749,"filename":"image_17082025_17_18_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ef884c83bdc5598c587d1f6f1e0a1049.jpg","text":"TemporaryFile(/tmp/multipartBody745317090566823041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444018749,"filename":"image_17082025_17_19_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a9a209cb0ed8c1f70f55bb626d394404.jpg","text":"TemporaryFile(/tmp/multipartBody2980006352898073324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444018749,"filename":"image_17082025_17_19_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7a4a82e5b39239c5f6b3f111ca549923.jpg","text":"TemporaryFile(/tmp/multipartBody5157862734263949570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444018749,"filename":"image_17082025_17_19_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/710daab17784ff7a66e8c0677000303a.jpg","text":"TemporaryFile(/tmp/multipartBody3855739611140439990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444018749,"filename":"image_17082025_17_19_04_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676559","file1":"1377676558","file0":"1377676556","file4":"1377676563","file5":"1377676565","file3":"1377676561"},"map_files_photo_id_array":[{"photo_id":"1377676565","filename":"file5"},{"photo_id":"1377676559","filename":"file2"},{"photo_id":"1377676563","filename":"file4"},{"photo_id":"1377676558","filename":"file1"},{"photo_id":"1377676556","filename":"file0"},{"photo_id":"1377676561","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676556":["hashtag1","hashtag2"]},{"1377676565":["hashtag1","hashtag2"]},{"1377676559":["hashtag1","hashtag2"]},{"1377676561":["hashtag1","hashtag2"]},{"1377676558":["hashtag1","hashtag2"]},{"1377676563":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676556, 1377676565, 1377676559, 1377676561, 1377676558, 1377676563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06627941131592 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:20:02.639088
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/46/image_17082025_14_46_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/46/image_17082025_14_46_14_9680.jpg', 2), ('/home/nano/Desktop/images/17082025/14/45/image_17082025_14_46_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/14/45/image_17082025_14_45_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/45/image_17082025_14_45_44_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/14/45/image_17082025_14_45_34_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/46/image_17082025_14_46_24_9638.jpg', '/home/nano/Desktop/images/17082025/14/46/image_17082025_14_46_14_9680.jpg', '/home/nano/Desktop/images/17082025/14/45/image_17082025_14_46_04_10665.jpg', '/home/nano/Desktop/images/17082025/14/45/image_17082025_14_45_54_9640.jpg', '/home/nano/Desktop/images/17082025/14/45/image_17082025_14_45_44_9656.jpg', '/home/nano/Desktop/images/17082025/14/45/image_17082025_14_45_34_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/46/image_17082025_14_46_24_9638.jpg
/home/nano/Desktop/images/17082025/14/46/image_17082025_14_46_14_9680.jpg
/home/nano/Desktop/images/17082025/14/45/image_17082025_14_46_04_10665.jpg
/home/nano/Desktop/images/17082025/14/45/image_17082025_14_45_54_9640.jpg
/home/nano/Desktop/images/17082025/14/45/image_17082025_14_45_44_9656.jpg
/home/nano/Desktop/images/17082025/14/45/image_17082025_14_45_34_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676577","1377676579","1377676570","1377676576","1377676592","1377676568"],"photo_ids_order":["1377676568","1377676570","1377676576","1377676577","1377676579","1377676592"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a58bfc06115c7c99a8af1c494476bebb.jpg","text":"TemporaryFile(/tmp/multipartBody3833286328560088601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444064324,"filename":"image_17082025_14_45_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2af26212effbcf079f92c21bdf0265af.jpg","text":"TemporaryFile(/tmp/multipartBody5828873578783077409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444064324,"filename":"image_17082025_14_45_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d624f93de972a03a1ab113e34364d260.jpg","text":"TemporaryFile(/tmp/multipartBody111171970820094285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444064324,"filename":"image_17082025_14_46_14_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/10147b687602d5acc61603d24a85bc5b.jpg","text":"TemporaryFile(/tmp/multipartBody2769384984850756529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444064324,"filename":"image_17082025_14_46_04_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d86fb991422ab9845ea1ce977a4cb2f7.jpg","text":"TemporaryFile(/tmp/multipartBody768758888974803013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444064324,"filename":"image_17082025_14_45_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eda636fc8db07bfd7737abbcc6e36f50.jpg","text":"TemporaryFile(/tmp/multipartBody2441670819885247904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444064324,"filename":"image_17082025_14_46_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676576","file1":"1377676570","file0":"1377676568","file4":"1377676579","file5":"1377676592","file3":"1377676577"},"map_files_photo_id_array":[{"photo_id":"1377676592","filename":"file5"},{"photo_id":"1377676576","filename":"file2"},{"photo_id":"1377676579","filename":"file4"},{"photo_id":"1377676570","filename":"file1"},{"photo_id":"1377676568","filename":"file0"},{"photo_id":"1377676577","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676577":["hashtag1","hashtag2"]},{"1377676579":["hashtag1","hashtag2"]},{"1377676570":["hashtag1","hashtag2"]},{"1377676576":["hashtag1","hashtag2"]},{"1377676592":["hashtag1","hashtag2"]},{"1377676568":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676577, 1377676579, 1377676570, 1377676576, 1377676592, 1377676568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2671594619751 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:20:47.162315
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/20/image_17082025_17_20_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/17/20/image_17082025_17_20_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/17/20/image_17082025_17_20_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/20/image_17082025_17_20_15_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/17/19/image_17082025_17_20_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/17/19/image_17082025_17_19_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/20/image_17082025_17_20_44_10646.jpg', '/home/nano/Desktop/images/17082025/17/20/image_17082025_17_20_34_9654.jpg', '/home/nano/Desktop/images/17082025/17/20/image_17082025_17_20_24_9639.jpg', '/home/nano/Desktop/images/17082025/17/20/image_17082025_17_20_15_10663.jpg', '/home/nano/Desktop/images/17082025/17/19/image_17082025_17_20_04_9648.jpg', '/home/nano/Desktop/images/17082025/17/19/image_17082025_17_19_54_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/20/image_17082025_17_20_44_10646.jpg
/home/nano/Desktop/images/17082025/17/20/image_17082025_17_20_34_9654.jpg
/home/nano/Desktop/images/17082025/17/20/image_17082025_17_20_24_9639.jpg
/home/nano/Desktop/images/17082025/17/20/image_17082025_17_20_15_10663.jpg
/home/nano/Desktop/images/17082025/17/19/image_17082025_17_20_04_9648.jpg
/home/nano/Desktop/images/17082025/17/19/image_17082025_17_19_54_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676619","1377676628","1377676616","1377676621","1377676618","1377676620"],"photo_ids_order":["1377676616","1377676618","1377676619","1377676620","1377676621","1377676628"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f1775f4a025c4d6a0dedfecbf45a8972.jpg","text":"TemporaryFile(/tmp/multipartBody3131543505599163944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444108978,"filename":"image_17082025_17_20_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4d99e656a95a36fd6a231994b52cafe1.jpg","text":"TemporaryFile(/tmp/multipartBody6802452455507717677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444108978,"filename":"image_17082025_17_19_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fbeadb3df8a02b6713fa1f018abf4e5d.jpg","text":"TemporaryFile(/tmp/multipartBody1292054983407591295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444108978,"filename":"image_17082025_17_20_44_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ef60c2f5eab87987f202bcf0dfdc13c5.jpg","text":"TemporaryFile(/tmp/multipartBody19419062276659344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444108978,"filename":"image_17082025_17_20_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c830acc43e12971d5409946773b6d089.jpg","text":"TemporaryFile(/tmp/multipartBody4762300419467033520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444108978,"filename":"image_17082025_17_20_34_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0081c540ff9dc9f13c26d14012dd16b5.jpg","text":"TemporaryFile(/tmp/multipartBody287068827670941633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444108978,"filename":"image_17082025_17_20_15_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676619","file1":"1377676618","file0":"1377676616","file4":"1377676621","file5":"1377676628","file3":"1377676620"},"map_files_photo_id_array":[{"photo_id":"1377676628","filename":"file5"},{"photo_id":"1377676619","filename":"file2"},{"photo_id":"1377676621","filename":"file4"},{"photo_id":"1377676618","filename":"file1"},{"photo_id":"1377676616","filename":"file0"},{"photo_id":"1377676620","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676619":["hashtag1","hashtag2"]},{"1377676628":["hashtag1","hashtag2"]},{"1377676616":["hashtag1","hashtag2"]},{"1377676621":["hashtag1","hashtag2"]},{"1377676618":["hashtag1","hashtag2"]},{"1377676620":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676619, 1377676628, 1377676616, 1377676621, 1377676618, 1377676620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.549938678741455 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:21:32.235224
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/21/image_17082025_17_21_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/17/21/image_17082025_17_21_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/21/image_17082025_17_21_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/21/image_17082025_17_21_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/17/20/image_17082025_17_21_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/17/20/image_17082025_17_20_54_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/21/image_17082025_17_21_44_10647.jpg', '/home/nano/Desktop/images/17082025/17/21/image_17082025_17_21_34_9638.jpg', '/home/nano/Desktop/images/17082025/17/21/image_17082025_17_21_24_9639.jpg', '/home/nano/Desktop/images/17082025/17/21/image_17082025_17_21_14_10666.jpg', '/home/nano/Desktop/images/17082025/17/20/image_17082025_17_21_04_9650.jpg', '/home/nano/Desktop/images/17082025/17/20/image_17082025_17_20_54_9635.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/21/image_17082025_17_21_44_10647.jpg
/home/nano/Desktop/images/17082025/17/21/image_17082025_17_21_34_9638.jpg
/home/nano/Desktop/images/17082025/17/21/image_17082025_17_21_24_9639.jpg
/home/nano/Desktop/images/17082025/17/21/image_17082025_17_21_14_10666.jpg
/home/nano/Desktop/images/17082025/17/20/image_17082025_17_21_04_9650.jpg
/home/nano/Desktop/images/17082025/17/20/image_17082025_17_20_54_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676649","1377676643","1377676637","1377676640","1377676634","1377676651"],"photo_ids_order":["1377676634","1377676637","1377676640","1377676643","1377676649","1377676651"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/838b8753dba46d11ba1ae5ec6c7ed613.jpg","text":"TemporaryFile(/tmp/multipartBody7997110717471693427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444153994,"filename":"image_17082025_17_21_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7566b5affe6081dcc3f6301988dfcf46.jpg","text":"TemporaryFile(/tmp/multipartBody4386234426592351606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444153994,"filename":"image_17082025_17_21_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3ee19499b29d2ef559c5cea3b1876a1e.jpg","text":"TemporaryFile(/tmp/multipartBody8838810350202228492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444153994,"filename":"image_17082025_17_21_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/40e084285f8176cd03857d913d9e700f.jpg","text":"TemporaryFile(/tmp/multipartBody5871575459559920848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444153994,"filename":"image_17082025_17_21_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ec6c03669a647db2746722e4f1f9ea03.jpg","text":"TemporaryFile(/tmp/multipartBody2651443361944663541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444153994,"filename":"image_17082025_17_21_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e132502c57f517bc5b6c69ba45fb1cb7.jpg","text":"TemporaryFile(/tmp/multipartBody5753215212482395969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444153994,"filename":"image_17082025_17_20_54_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676640","file1":"1377676637","file0":"1377676634","file4":"1377676649","file5":"1377676651","file3":"1377676643"},"map_files_photo_id_array":[{"photo_id":"1377676651","filename":"file5"},{"photo_id":"1377676640","filename":"file2"},{"photo_id":"1377676649","filename":"file4"},{"photo_id":"1377676637","filename":"file1"},{"photo_id":"1377676634","filename":"file0"},{"photo_id":"1377676643","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676649":["hashtag1","hashtag2"]},{"1377676643":["hashtag1","hashtag2"]},{"1377676637":["hashtag1","hashtag2"]},{"1377676640":["hashtag1","hashtag2"]},{"1377676634":["hashtag1","hashtag2"]},{"1377676651":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676649, 1377676643, 1377676637, 1377676640, 1377676634, 1377676651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.996286153793335 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:22:17.358886
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/22/image_17082025_17_22_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/17/22/image_17082025_17_22_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/22/image_17082025_17_22_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/17/22/image_17082025_17_22_14_10661.jpg', 2), ('/home/nano/Desktop/images/17082025/17/21/image_17082025_17_22_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/17/21/image_17082025_17_21_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/22/image_17082025_17_22_44_10646.jpg', '/home/nano/Desktop/images/17082025/17/22/image_17082025_17_22_34_9638.jpg', '/home/nano/Desktop/images/17082025/17/22/image_17082025_17_22_24_9636.jpg', '/home/nano/Desktop/images/17082025/17/22/image_17082025_17_22_14_10661.jpg', '/home/nano/Desktop/images/17082025/17/21/image_17082025_17_22_04_9661.jpg', '/home/nano/Desktop/images/17082025/17/21/image_17082025_17_21_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/22/image_17082025_17_22_44_10646.jpg
/home/nano/Desktop/images/17082025/17/22/image_17082025_17_22_34_9638.jpg
/home/nano/Desktop/images/17082025/17/22/image_17082025_17_22_24_9636.jpg
/home/nano/Desktop/images/17082025/17/22/image_17082025_17_22_14_10661.jpg
/home/nano/Desktop/images/17082025/17/21/image_17082025_17_22_04_9661.jpg
/home/nano/Desktop/images/17082025/17/21/image_17082025_17_21_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676679","1377676678","1377676672","1377676675","1377676669","1377676677"],"photo_ids_order":["1377676669","1377676672","1377676675","1377676677","1377676678","1377676679"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/94cd705a7b27931d807f97aff811a158.jpg","text":"TemporaryFile(/tmp/multipartBody888583328931459538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444199334,"filename":"image_17082025_17_21_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/46a6bee32a3953f3235c89e849f2ca60.jpg","text":"TemporaryFile(/tmp/multipartBody4515434089857210561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444199334,"filename":"image_17082025_17_22_04_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/959d946a832c033854c797ab193e019a.jpg","text":"TemporaryFile(/tmp/multipartBody6495571628060444320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444199334,"filename":"image_17082025_17_22_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4096d18508de63968692bd379d278997.jpg","text":"TemporaryFile(/tmp/multipartBody4866268638584763765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444199334,"filename":"image_17082025_17_22_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/98114c74e7b84ca68bc72362281fd900.jpg","text":"TemporaryFile(/tmp/multipartBody6931352374888007154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444199334,"filename":"image_17082025_17_22_44_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/77b3a10b2da8fc9ef8f81bc8a3780104.jpg","text":"TemporaryFile(/tmp/multipartBody4755180668050443159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444199334,"filename":"image_17082025_17_22_14_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676675","file1":"1377676672","file0":"1377676669","file4":"1377676678","file5":"1377676679","file3":"1377676677"},"map_files_photo_id_array":[{"photo_id":"1377676679","filename":"file5"},{"photo_id":"1377676675","filename":"file2"},{"photo_id":"1377676678","filename":"file4"},{"photo_id":"1377676672","filename":"file1"},{"photo_id":"1377676669","filename":"file0"},{"photo_id":"1377676677","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676679":["hashtag1","hashtag2"]},{"1377676678":["hashtag1","hashtag2"]},{"1377676672":["hashtag1","hashtag2"]},{"1377676675":["hashtag1","hashtag2"]},{"1377676669":["hashtag1","hashtag2"]},{"1377676677":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676679, 1377676678, 1377676672, 1377676675, 1377676669, 1377676677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25833582878113 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:23:03.121325
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/45/image_17082025_14_45_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/45/image_17082025_14_45_14_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/14/44/image_17082025_14_45_05_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/14/44/image_17082025_14_44_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/44/image_17082025_14_44_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/14/44/image_17082025_14_44_34_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/45/image_17082025_14_45_24_9637.jpg', '/home/nano/Desktop/images/17082025/14/45/image_17082025_14_45_14_9666.jpg', '/home/nano/Desktop/images/17082025/14/44/image_17082025_14_45_05_10665.jpg', '/home/nano/Desktop/images/17082025/14/44/image_17082025_14_44_54_9639.jpg', '/home/nano/Desktop/images/17082025/14/44/image_17082025_14_44_44_10646.jpg', '/home/nano/Desktop/images/17082025/14/44/image_17082025_14_44_34_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/45/image_17082025_14_45_24_9637.jpg
/home/nano/Desktop/images/17082025/14/45/image_17082025_14_45_14_9666.jpg
/home/nano/Desktop/images/17082025/14/44/image_17082025_14_45_05_10665.jpg
/home/nano/Desktop/images/17082025/14/44/image_17082025_14_44_54_9639.jpg
/home/nano/Desktop/images/17082025/14/44/image_17082025_14_44_44_10646.jpg
/home/nano/Desktop/images/17082025/14/44/image_17082025_14_44_34_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676736","1377676733","1377676715","1377676735","1377676720","1377676731"],"photo_ids_order":["1377676715","1377676720","1377676731","1377676733","1377676735","1377676736"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6f1a6156a758301fcd52d83bd6a5f3a5.jpg","text":"TemporaryFile(/tmp/multipartBody4908819655319190753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444244907,"filename":"image_17082025_14_44_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/16c25bab4d447bb41f8b21e883012a52.jpg","text":"TemporaryFile(/tmp/multipartBody7632350720663631098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444244907,"filename":"image_17082025_14_44_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6df8f9e9878f7ec614e05162916b5716.jpg","text":"TemporaryFile(/tmp/multipartBody8819653602977659922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444244907,"filename":"image_17082025_14_45_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6816206059b46bf27c3e67d5a30e69a4.jpg","text":"TemporaryFile(/tmp/multipartBody1148836789503756529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444244907,"filename":"image_17082025_14_44_44_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ecc9aab7cfd8967cdc13995bfb974cb7.jpg","text":"TemporaryFile(/tmp/multipartBody8823408281854328958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444244907,"filename":"image_17082025_14_45_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a1494171e07ae85b1b633c2952c11795.jpg","text":"TemporaryFile(/tmp/multipartBody4294734403782228605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444244907,"filename":"image_17082025_14_45_05_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676731","file1":"1377676720","file0":"1377676715","file4":"1377676735","file5":"1377676736","file3":"1377676733"},"map_files_photo_id_array":[{"photo_id":"1377676736","filename":"file5"},{"photo_id":"1377676731","filename":"file2"},{"photo_id":"1377676735","filename":"file4"},{"photo_id":"1377676720","filename":"file1"},{"photo_id":"1377676715","filename":"file0"},{"photo_id":"1377676733","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676736":["hashtag1","hashtag2"]},{"1377676733":["hashtag1","hashtag2"]},{"1377676715":["hashtag1","hashtag2"]},{"1377676735":["hashtag1","hashtag2"]},{"1377676720":["hashtag1","hashtag2"]},{"1377676731":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676736, 1377676733, 1377676715, 1377676735, 1377676720, 1377676731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59108591079712 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:23:47.443233
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/23/image_17082025_17_23_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/23/image_17082025_17_23_35_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/17/23/image_17082025_17_23_24_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/17/23/image_17082025_17_23_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/17/22/image_17082025_17_23_05_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/17/22/image_17082025_17_22_54_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/23/image_17082025_17_23_44_9639.jpg', '/home/nano/Desktop/images/17082025/17/23/image_17082025_17_23_35_10646.jpg', '/home/nano/Desktop/images/17082025/17/23/image_17082025_17_23_24_9657.jpg', '/home/nano/Desktop/images/17082025/17/23/image_17082025_17_23_14_9661.jpg', '/home/nano/Desktop/images/17082025/17/22/image_17082025_17_23_05_10651.jpg', '/home/nano/Desktop/images/17082025/17/22/image_17082025_17_22_54_9653.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/23/image_17082025_17_23_44_9639.jpg
/home/nano/Desktop/images/17082025/17/23/image_17082025_17_23_35_10646.jpg
/home/nano/Desktop/images/17082025/17/23/image_17082025_17_23_24_9657.jpg
/home/nano/Desktop/images/17082025/17/23/image_17082025_17_23_14_9661.jpg
/home/nano/Desktop/images/17082025/17/22/image_17082025_17_23_05_10651.jpg
/home/nano/Desktop/images/17082025/17/22/image_17082025_17_22_54_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676754","1377676757","1377676743","1377676746","1377676749","1377676766"],"photo_ids_order":["1377676743","1377676746","1377676749","1377676754","1377676757","1377676766"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bdace7ee99ab02638f25c6920325ca3a.jpg","text":"TemporaryFile(/tmp/multipartBody1775212569589946254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444289332,"filename":"image_17082025_17_23_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1eccdd92537b5380d65a50e4de0758d8.jpg","text":"TemporaryFile(/tmp/multipartBody7535623424881606232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444289332,"filename":"image_17082025_17_23_05_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/56a5d30dcfa4fda62e1589f140eae9b0.jpg","text":"TemporaryFile(/tmp/multipartBody2319767490810171150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444289332,"filename":"image_17082025_17_23_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7c291398357e7b2259129c27d4065437.jpg","text":"TemporaryFile(/tmp/multipartBody8821193569894400602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444289332,"filename":"image_17082025_17_23_35_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1b9b1c5a8cb0f5b5f4b9301b4ae6a444.jpg","text":"TemporaryFile(/tmp/multipartBody994637158019111996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444289332,"filename":"image_17082025_17_23_24_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/39cd090e561bc4c83f6cba309d97270f.jpg","text":"TemporaryFile(/tmp/multipartBody8678434404591810813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444289332,"filename":"image_17082025_17_22_54_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676749","file1":"1377676746","file0":"1377676743","file4":"1377676757","file5":"1377676766","file3":"1377676754"},"map_files_photo_id_array":[{"photo_id":"1377676766","filename":"file5"},{"photo_id":"1377676749","filename":"file2"},{"photo_id":"1377676757","filename":"file4"},{"photo_id":"1377676746","filename":"file1"},{"photo_id":"1377676743","filename":"file0"},{"photo_id":"1377676754","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676754":["hashtag1","hashtag2"]},{"1377676757":["hashtag1","hashtag2"]},{"1377676743":["hashtag1","hashtag2"]},{"1377676746":["hashtag1","hashtag2"]},{"1377676749":["hashtag1","hashtag2"]},{"1377676766":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676754, 1377676757, 1377676743, 1377676746, 1377676749, 1377676766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.737805128097534 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:24:32.572944
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/24/image_17082025_17_24_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/17/24/image_17082025_17_24_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/17/24/image_17082025_17_24_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/17/24/image_17082025_17_24_14_9674.jpg', 2), ('/home/nano/Desktop/images/17082025/17/23/image_17082025_17_24_04_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/17/23/image_17082025_17_23_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/24/image_17082025_17_24_44_9636.jpg', '/home/nano/Desktop/images/17082025/17/24/image_17082025_17_24_34_10648.jpg', '/home/nano/Desktop/images/17082025/17/24/image_17082025_17_24_24_9640.jpg', '/home/nano/Desktop/images/17082025/17/24/image_17082025_17_24_14_9674.jpg', '/home/nano/Desktop/images/17082025/17/23/image_17082025_17_24_04_10663.jpg', '/home/nano/Desktop/images/17082025/17/23/image_17082025_17_23_54_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/24/image_17082025_17_24_44_9636.jpg
/home/nano/Desktop/images/17082025/17/24/image_17082025_17_24_34_10648.jpg
/home/nano/Desktop/images/17082025/17/24/image_17082025_17_24_24_9640.jpg
/home/nano/Desktop/images/17082025/17/24/image_17082025_17_24_14_9674.jpg
/home/nano/Desktop/images/17082025/17/23/image_17082025_17_24_04_10663.jpg
/home/nano/Desktop/images/17082025/17/23/image_17082025_17_23_54_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676778","1377676771","1377676774","1377676768","1377676776","1377676770"],"photo_ids_order":["1377676768","1377676770","1377676771","1377676774","1377676776","1377676778"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a2511a55c31cb30d1478920c841bea94.jpg","text":"TemporaryFile(/tmp/multipartBody7730948629567000800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444334349,"filename":"image_17082025_17_23_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/39da2f12ba3fdc8addbcf6396b720130.jpg","text":"TemporaryFile(/tmp/multipartBody6633069875395561424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444334349,"filename":"image_17082025_17_24_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d28ca927339ea33ef187d2f897710bc3.jpg","text":"TemporaryFile(/tmp/multipartBody3352772584109416865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444334349,"filename":"image_17082025_17_24_14_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/22bd560492d47b34e98c224477753ca4.jpg","text":"TemporaryFile(/tmp/multipartBody1484627642438175356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444334349,"filename":"image_17082025_17_24_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b3753aa02b0f0adf53d2ae6aec2145cb.jpg","text":"TemporaryFile(/tmp/multipartBody7057529202818430320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444334349,"filename":"image_17082025_17_24_04_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a933fe234af71bc553b51c5676f860d0.jpg","text":"TemporaryFile(/tmp/multipartBody4966284511613540918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444334349,"filename":"image_17082025_17_24_34_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676771","file1":"1377676770","file0":"1377676768","file4":"1377676776","file5":"1377676778","file3":"1377676774"},"map_files_photo_id_array":[{"photo_id":"1377676778","filename":"file5"},{"photo_id":"1377676771","filename":"file2"},{"photo_id":"1377676776","filename":"file4"},{"photo_id":"1377676770","filename":"file1"},{"photo_id":"1377676768","filename":"file0"},{"photo_id":"1377676774","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676778":["hashtag1","hashtag2"]},{"1377676771":["hashtag1","hashtag2"]},{"1377676774":["hashtag1","hashtag2"]},{"1377676768":["hashtag1","hashtag2"]},{"1377676776":["hashtag1","hashtag2"]},{"1377676770":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676778, 1377676771, 1377676774, 1377676768, 1377676776, 1377676770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48536705970764 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:25:17.650590
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/25/image_17082025_17_25_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/17/25/image_17082025_17_25_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/17/25/image_17082025_17_25_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/25/image_17082025_17_25_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/17/24/image_17082025_17_25_04_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/17/24/image_17082025_17_24_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/25/image_17082025_17_25_44_9636.jpg', '/home/nano/Desktop/images/17082025/17/25/image_17082025_17_25_34_10647.jpg', '/home/nano/Desktop/images/17082025/17/25/image_17082025_17_25_24_9639.jpg', '/home/nano/Desktop/images/17082025/17/25/image_17082025_17_25_14_9654.jpg', '/home/nano/Desktop/images/17082025/17/24/image_17082025_17_25_04_10648.jpg', '/home/nano/Desktop/images/17082025/17/24/image_17082025_17_24_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/25/image_17082025_17_25_44_9636.jpg
/home/nano/Desktop/images/17082025/17/25/image_17082025_17_25_34_10647.jpg
/home/nano/Desktop/images/17082025/17/25/image_17082025_17_25_24_9639.jpg
/home/nano/Desktop/images/17082025/17/25/image_17082025_17_25_14_9654.jpg
/home/nano/Desktop/images/17082025/17/24/image_17082025_17_25_04_10648.jpg
/home/nano/Desktop/images/17082025/17/24/image_17082025_17_24_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676796","1377676798","1377676791","1377676794","1377676797","1377676793"],"photo_ids_order":["1377676791","1377676793","1377676794","1377676796","1377676797","1377676798"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8f24b7de0f23f238500edc241008dca8.jpg","text":"TemporaryFile(/tmp/multipartBody3027185778360404876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444379363,"filename":"image_17082025_17_25_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dd414a475807498b7911ce733d1c8202.jpg","text":"TemporaryFile(/tmp/multipartBody2158261937942363983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444379363,"filename":"image_17082025_17_24_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/022a046b5980e381d5c7316f4304e4a7.jpg","text":"TemporaryFile(/tmp/multipartBody4168663494157149333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444379363,"filename":"image_17082025_17_25_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5bb67c6cec6dd882a1df53e28d988804.jpg","text":"TemporaryFile(/tmp/multipartBody6629252227079109449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444379363,"filename":"image_17082025_17_25_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1a04a737e7e861b6316bda8b187dfdb7.jpg","text":"TemporaryFile(/tmp/multipartBody7565422970882850362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444379363,"filename":"image_17082025_17_25_04_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c97027eeb8d7aba8d74b5b53913d98f7.jpg","text":"TemporaryFile(/tmp/multipartBody6618262324393279960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444379363,"filename":"image_17082025_17_25_34_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676794","file1":"1377676793","file0":"1377676791","file4":"1377676797","file5":"1377676798","file3":"1377676796"},"map_files_photo_id_array":[{"photo_id":"1377676798","filename":"file5"},{"photo_id":"1377676794","filename":"file2"},{"photo_id":"1377676797","filename":"file4"},{"photo_id":"1377676793","filename":"file1"},{"photo_id":"1377676791","filename":"file0"},{"photo_id":"1377676796","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676796":["hashtag1","hashtag2"]},{"1377676798":["hashtag1","hashtag2"]},{"1377676791":["hashtag1","hashtag2"]},{"1377676794":["hashtag1","hashtag2"]},{"1377676797":["hashtag1","hashtag2"]},{"1377676793":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676796, 1377676798, 1377676791, 1377676794, 1377676797, 1377676793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.083073139190674 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:26:03.279739
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/44/image_17082025_14_44_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/44/image_17082025_14_44_14_10675.jpg', 2), ('/home/nano/Desktop/images/17082025/14/43/image_17082025_14_44_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/43/image_17082025_14_43_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/43/image_17082025_14_43_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/43/image_17082025_14_43_34_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/44/image_17082025_14_44_24_9640.jpg', '/home/nano/Desktop/images/17082025/14/44/image_17082025_14_44_14_10675.jpg', '/home/nano/Desktop/images/17082025/14/43/image_17082025_14_44_04_9647.jpg', '/home/nano/Desktop/images/17082025/14/43/image_17082025_14_43_54_9639.jpg', '/home/nano/Desktop/images/17082025/14/43/image_17082025_14_43_44_10649.jpg', '/home/nano/Desktop/images/17082025/14/43/image_17082025_14_43_34_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/44/image_17082025_14_44_24_9640.jpg
/home/nano/Desktop/images/17082025/14/44/image_17082025_14_44_14_10675.jpg
/home/nano/Desktop/images/17082025/14/43/image_17082025_14_44_04_9647.jpg
/home/nano/Desktop/images/17082025/14/43/image_17082025_14_43_54_9639.jpg
/home/nano/Desktop/images/17082025/14/43/image_17082025_14_43_44_10649.jpg
/home/nano/Desktop/images/17082025/14/43/image_17082025_14_43_34_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377676820","1377676811","1377676814","1377676804","1377676809","1377676800"],"photo_ids_order":["1377676800","1377676804","1377676809","1377676811","1377676814","1377676820"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4714b3e87792c19ecf151a7bf8440cec.jpg","text":"TemporaryFile(/tmp/multipartBody8218384897354317663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444424982,"filename":"image_17082025_14_43_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f96d4309c76ab6ee14ba989eaba83dcb.jpg","text":"TemporaryFile(/tmp/multipartBody726782705466109492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444424982,"filename":"image_17082025_14_43_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e9edebc173d8f05aedf7bcc724724ca9.jpg","text":"TemporaryFile(/tmp/multipartBody5040271899436061161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444424982,"filename":"image_17082025_14_43_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/efe0b52b42ff6de8dd173eca8188143f.jpg","text":"TemporaryFile(/tmp/multipartBody915048687369702018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444424982,"filename":"image_17082025_14_44_14_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/87fb1ccbd917e09eef314e535ab89b52.jpg","text":"TemporaryFile(/tmp/multipartBody2024272848122248610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444424982,"filename":"image_17082025_14_44_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d266992d84c0da1bc951a7bfcdc7d771.jpg","text":"TemporaryFile(/tmp/multipartBody2971651420748147663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444424982,"filename":"image_17082025_14_44_24_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377676809","file1":"1377676804","file0":"1377676800","file4":"1377676814","file5":"1377676820","file3":"1377676811"},"map_files_photo_id_array":[{"photo_id":"1377676820","filename":"file5"},{"photo_id":"1377676809","filename":"file2"},{"photo_id":"1377676814","filename":"file4"},{"photo_id":"1377676804","filename":"file1"},{"photo_id":"1377676800","filename":"file0"},{"photo_id":"1377676811","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377676820":["hashtag1","hashtag2"]},{"1377676811":["hashtag1","hashtag2"]},{"1377676814":["hashtag1","hashtag2"]},{"1377676804":["hashtag1","hashtag2"]},{"1377676809":["hashtag1","hashtag2"]},{"1377676800":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377676820, 1377676811, 1377676814, 1377676804, 1377676809, 1377676800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.048882246017456 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:26:47.742024
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/26/image_17082025_17_26_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/26/image_17082025_17_26_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/26/image_17082025_17_26_25_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/17/26/image_17082025_17_26_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/17/25/image_17082025_17_26_04_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/17/25/image_17082025_17_25_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/26/image_17082025_17_26_44_9639.jpg', '/home/nano/Desktop/images/17082025/17/26/image_17082025_17_26_34_9638.jpg', '/home/nano/Desktop/images/17082025/17/26/image_17082025_17_26_25_10646.jpg', '/home/nano/Desktop/images/17082025/17/26/image_17082025_17_26_14_9654.jpg', '/home/nano/Desktop/images/17082025/17/25/image_17082025_17_26_04_10652.jpg', '/home/nano/Desktop/images/17082025/17/25/image_17082025_17_25_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/26/image_17082025_17_26_44_9639.jpg
/home/nano/Desktop/images/17082025/17/26/image_17082025_17_26_34_9638.jpg
/home/nano/Desktop/images/17082025/17/26/image_17082025_17_26_25_10646.jpg
/home/nano/Desktop/images/17082025/17/26/image_17082025_17_26_14_9654.jpg
/home/nano/Desktop/images/17082025/17/25/image_17082025_17_26_04_10652.jpg
/home/nano/Desktop/images/17082025/17/25/image_17082025_17_25_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677119","1377676990","1377677020","1377676960","1377677082","1377677051"],"photo_ids_order":["1377676960","1377676990","1377677020","1377677051","1377677082","1377677119"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a2e8ce44f38fbb9ef43cffa8b9bbc4f6.jpg","text":"TemporaryFile(/tmp/multipartBody2074424387247149692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444469412,"filename":"image_17082025_17_25_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7fe805c298d9af063d4abe5a75df032d.jpg","text":"TemporaryFile(/tmp/multipartBody3479723976396596513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444469412,"filename":"image_17082025_17_26_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fc719fb11fe8be1cf7bc55f2098f21b7.jpg","text":"TemporaryFile(/tmp/multipartBody6542935741582123003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444469412,"filename":"image_17082025_17_26_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/87b0e0c070dbe91458b070acf7a43b70.jpg","text":"TemporaryFile(/tmp/multipartBody3388876702213244623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444469412,"filename":"image_17082025_17_26_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/328c0cf3903d0ad42019c2e77f7f82a7.jpg","text":"TemporaryFile(/tmp/multipartBody7439933404164403179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444469412,"filename":"image_17082025_17_26_04_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d8d1cb634f332e82aaa018017a7ce38f.jpg","text":"TemporaryFile(/tmp/multipartBody3100499310737553730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444469412,"filename":"image_17082025_17_26_14_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377677020","file1":"1377676990","file0":"1377676960","file4":"1377677082","file5":"1377677119","file3":"1377677051"},"map_files_photo_id_array":[{"photo_id":"1377677119","filename":"file5"},{"photo_id":"1377677020","filename":"file2"},{"photo_id":"1377677082","filename":"file4"},{"photo_id":"1377676990","filename":"file1"},{"photo_id":"1377676960","filename":"file0"},{"photo_id":"1377677051","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377677119":["hashtag1","hashtag2"]},{"1377676990":["hashtag1","hashtag2"]},{"1377677020":["hashtag1","hashtag2"]},{"1377676960":["hashtag1","hashtag2"]},{"1377677082":["hashtag1","hashtag2"]},{"1377677051":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377677119, 1377676990, 1377677020, 1377676960, 1377677082, 1377677051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81567645072937 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:27:31.841808
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/27/image_17082025_17_27_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/17/27/image_17082025_17_27_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/17/27/image_17082025_17_27_24_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/17/27/image_17082025_17_27_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/17/26/image_17082025_17_27_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/17/26/image_17082025_17_26_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/27/image_17082025_17_27_44_9637.jpg', '/home/nano/Desktop/images/17082025/17/27/image_17082025_17_27_34_9636.jpg', '/home/nano/Desktop/images/17082025/17/27/image_17082025_17_27_24_10645.jpg', '/home/nano/Desktop/images/17082025/17/27/image_17082025_17_27_14_9654.jpg', '/home/nano/Desktop/images/17082025/17/26/image_17082025_17_27_04_9644.jpg', '/home/nano/Desktop/images/17082025/17/26/image_17082025_17_26_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/27/image_17082025_17_27_44_9637.jpg
/home/nano/Desktop/images/17082025/17/27/image_17082025_17_27_34_9636.jpg
/home/nano/Desktop/images/17082025/17/27/image_17082025_17_27_24_10645.jpg
/home/nano/Desktop/images/17082025/17/27/image_17082025_17_27_14_9654.jpg
/home/nano/Desktop/images/17082025/17/26/image_17082025_17_27_04_9644.jpg
/home/nano/Desktop/images/17082025/17/26/image_17082025_17_26_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677249","1377677248","1377677218","1377677233","1377677229","1377677246"],"photo_ids_order":["1377677218","1377677229","1377677233","1377677246","1377677248","1377677249"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/61e6c2e911e5692db4717bc235f2c469.jpg","text":"TemporaryFile(/tmp/multipartBody5432497428550744284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444513848,"filename":"image_17082025_17_26_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a7ab0aa6793b9ac892ba63dce346d684.jpg","text":"TemporaryFile(/tmp/multipartBody5469708651211802318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444513848,"filename":"image_17082025_17_27_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/df993f6b65d815f9ec539d08fb96a3d6.jpg","text":"TemporaryFile(/tmp/multipartBody8897202702252713400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444513848,"filename":"image_17082025_17_27_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bc77ec54ff8a1fe468074bb3880e20a8.jpg","text":"TemporaryFile(/tmp/multipartBody6542870956570210868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444513848,"filename":"image_17082025_17_27_24_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/46d3d14db6258bd5e57a12815442debd.jpg","text":"TemporaryFile(/tmp/multipartBody3836386502096793038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444513848,"filename":"image_17082025_17_27_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5bf6fef2fa48a7152a96fc2b4bf3c40c.jpg","text":"TemporaryFile(/tmp/multipartBody7209898346062981149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444513848,"filename":"image_17082025_17_27_14_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377677233","file1":"1377677229","file0":"1377677218","file4":"1377677248","file5":"1377677249","file3":"1377677246"},"map_files_photo_id_array":[{"photo_id":"1377677249","filename":"file5"},{"photo_id":"1377677233","filename":"file2"},{"photo_id":"1377677248","filename":"file4"},{"photo_id":"1377677229","filename":"file1"},{"photo_id":"1377677218","filename":"file0"},{"photo_id":"1377677246","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377677249":["hashtag1","hashtag2"]},{"1377677248":["hashtag1","hashtag2"]},{"1377677218":["hashtag1","hashtag2"]},{"1377677233":["hashtag1","hashtag2"]},{"1377677229":["hashtag1","hashtag2"]},{"1377677246":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377677249, 1377677248, 1377677218, 1377677233, 1377677229, 1377677246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62703013420105 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:28:16.939464
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/28/image_17082025_17_28_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/28/image_17082025_17_28_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/17/28/image_17082025_17_28_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/17/28/image_17082025_17_28_14_9678.jpg', 2), ('/home/nano/Desktop/images/17082025/17/27/image_17082025_17_28_04_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/17/27/image_17082025_17_27_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/28/image_17082025_17_28_44_9639.jpg', '/home/nano/Desktop/images/17082025/17/28/image_17082025_17_28_34_9636.jpg', '/home/nano/Desktop/images/17082025/17/28/image_17082025_17_28_24_10646.jpg', '/home/nano/Desktop/images/17082025/17/28/image_17082025_17_28_14_9678.jpg', '/home/nano/Desktop/images/17082025/17/27/image_17082025_17_28_04_9660.jpg', '/home/nano/Desktop/images/17082025/17/27/image_17082025_17_27_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/28/image_17082025_17_28_44_9639.jpg
/home/nano/Desktop/images/17082025/17/28/image_17082025_17_28_34_9636.jpg
/home/nano/Desktop/images/17082025/17/28/image_17082025_17_28_24_10646.jpg
/home/nano/Desktop/images/17082025/17/28/image_17082025_17_28_14_9678.jpg
/home/nano/Desktop/images/17082025/17/27/image_17082025_17_28_04_9660.jpg
/home/nano/Desktop/images/17082025/17/27/image_17082025_17_27_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677312","1377677287","1377677278","1377677274","1377677319","1377677276"],"photo_ids_order":["1377677274","1377677276","1377677278","1377677287","1377677312","1377677319"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/57fd45e2e20898ce79ccb7f4915ae076.jpg","text":"TemporaryFile(/tmp/multipartBody6102682637703198829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444558850,"filename":"image_17082025_17_28_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/148cc2d70b313123b3af90f5d2d8d9f1.jpg","text":"TemporaryFile(/tmp/multipartBody7972261769238062665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444558850,"filename":"image_17082025_17_28_14_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cdf95f51c8ca25026d2014df1869da57.jpg","text":"TemporaryFile(/tmp/multipartBody6986474176550383811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444558850,"filename":"image_17082025_17_28_24_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/94daf2f5fb0f7a3c6d3ba89fae8e84e7.jpg","text":"TemporaryFile(/tmp/multipartBody8758096289089627355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444558850,"filename":"image_17082025_17_28_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5a1f3c882fd7d720320d34ad192b3510.jpg","text":"TemporaryFile(/tmp/multipartBody5444947536201553147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444558850,"filename":"image_17082025_17_27_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7bc9f5c4cd2b981c60d19b7b40f7ba7a.jpg","text":"TemporaryFile(/tmp/multipartBody6821543933504913523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444558850,"filename":"image_17082025_17_28_34_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377677278","file1":"1377677276","file0":"1377677274","file4":"1377677312","file5":"1377677319","file3":"1377677287"},"map_files_photo_id_array":[{"photo_id":"1377677319","filename":"file5"},{"photo_id":"1377677278","filename":"file2"},{"photo_id":"1377677312","filename":"file4"},{"photo_id":"1377677276","filename":"file1"},{"photo_id":"1377677274","filename":"file0"},{"photo_id":"1377677287","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377677312":["hashtag1","hashtag2"]},{"1377677287":["hashtag1","hashtag2"]},{"1377677278":["hashtag1","hashtag2"]},{"1377677274":["hashtag1","hashtag2"]},{"1377677319":["hashtag1","hashtag2"]},{"1377677276":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377677312, 1377677287, 1377677278, 1377677274, 1377677319, 1377677276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02679228782654 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:29:03.213154
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/43/image_17082025_14_43_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/43/image_17082025_14_43_14_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/14/42/image_17082025_14_43_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/14/42/image_17082025_14_42_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/42/image_17082025_14_42_44_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/14/42/image_17082025_14_42_34_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/43/image_17082025_14_43_24_9639.jpg', '/home/nano/Desktop/images/17082025/14/43/image_17082025_14_43_14_10662.jpg', '/home/nano/Desktop/images/17082025/14/42/image_17082025_14_43_04_9644.jpg', '/home/nano/Desktop/images/17082025/14/42/image_17082025_14_42_54_9639.jpg', '/home/nano/Desktop/images/17082025/14/42/image_17082025_14_42_44_10645.jpg', '/home/nano/Desktop/images/17082025/14/42/image_17082025_14_42_34_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/43/image_17082025_14_43_24_9639.jpg
/home/nano/Desktop/images/17082025/14/43/image_17082025_14_43_14_10662.jpg
/home/nano/Desktop/images/17082025/14/42/image_17082025_14_43_04_9644.jpg
/home/nano/Desktop/images/17082025/14/42/image_17082025_14_42_54_9639.jpg
/home/nano/Desktop/images/17082025/14/42/image_17082025_14_42_44_10645.jpg
/home/nano/Desktop/images/17082025/14/42/image_17082025_14_42_34_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677333","1377677408","1377677398","1377677368","1377677410","1377677328"],"photo_ids_order":["1377677328","1377677333","1377677368","1377677398","1377677408","1377677410"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e54681781089bd199bce0ad3fcb2ba92.jpg","text":"TemporaryFile(/tmp/multipartBody1579925759310659063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444604832,"filename":"image_17082025_14_43_14_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/74d47fffbf1c8b885f8499d7b11727cd.jpg","text":"TemporaryFile(/tmp/multipartBody8886427043522134574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444604832,"filename":"image_17082025_14_42_44_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1314ad29a6c63fd37a1b87c932b85436.jpg","text":"TemporaryFile(/tmp/multipartBody6783949733041890930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444604832,"filename":"image_17082025_14_42_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a5183e225d87d4e3a6b06ec64fc473d8.jpg","text":"TemporaryFile(/tmp/multipartBody5955917303542578547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444604832,"filename":"image_17082025_14_43_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dada72eacc8393c80377bd9e784c0ba6.jpg","text":"TemporaryFile(/tmp/multipartBody6539877044339526760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444604832,"filename":"image_17082025_14_42_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/85054accfd30792f2a97313ac759445e.jpg","text":"TemporaryFile(/tmp/multipartBody5483955332802405984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444604832,"filename":"image_17082025_14_43_24_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377677368","file1":"1377677333","file0":"1377677328","file4":"1377677408","file5":"1377677410","file3":"1377677398"},"map_files_photo_id_array":[{"photo_id":"1377677410","filename":"file5"},{"photo_id":"1377677368","filename":"file2"},{"photo_id":"1377677408","filename":"file4"},{"photo_id":"1377677333","filename":"file1"},{"photo_id":"1377677328","filename":"file0"},{"photo_id":"1377677398","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377677333":["hashtag1","hashtag2"]},{"1377677408":["hashtag1","hashtag2"]},{"1377677398":["hashtag1","hashtag2"]},{"1377677368":["hashtag1","hashtag2"]},{"1377677410":["hashtag1","hashtag2"]},{"1377677328":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377677333, 1377677408, 1377677398, 1377677368, 1377677410, 1377677328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80834460258484 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:29:47.049937
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/29/image_17082025_17_29_44_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/17/29/image_17082025_17_29_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/17/29/image_17082025_17_29_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/17/29/image_17082025_17_29_15_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/17/28/image_17082025_17_29_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/17/28/image_17082025_17_28_54_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/29/image_17082025_17_29_44_10665.jpg', '/home/nano/Desktop/images/17082025/17/29/image_17082025_17_29_34_9637.jpg', '/home/nano/Desktop/images/17082025/17/29/image_17082025_17_29_24_9637.jpg', '/home/nano/Desktop/images/17082025/17/29/image_17082025_17_29_15_10668.jpg', '/home/nano/Desktop/images/17082025/17/28/image_17082025_17_29_04_9655.jpg', '/home/nano/Desktop/images/17082025/17/28/image_17082025_17_28_54_10646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/29/image_17082025_17_29_44_10665.jpg
/home/nano/Desktop/images/17082025/17/29/image_17082025_17_29_34_9637.jpg
/home/nano/Desktop/images/17082025/17/29/image_17082025_17_29_24_9637.jpg
/home/nano/Desktop/images/17082025/17/29/image_17082025_17_29_15_10668.jpg
/home/nano/Desktop/images/17082025/17/28/image_17082025_17_29_04_9655.jpg
/home/nano/Desktop/images/17082025/17/28/image_17082025_17_28_54_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677426","1377677434","1377677422","1377677424","1377677423","1377677417"],"photo_ids_order":["1377677417","1377677422","1377677423","1377677424","1377677426","1377677434"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a10556f065be3c6bc7c7b366f814c817.jpg","text":"TemporaryFile(/tmp/multipartBody328368053207361532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444648926,"filename":"image_17082025_17_29_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/60c9f2f876087ca6c6c5e634cd9764a9.jpg","text":"TemporaryFile(/tmp/multipartBody6985113211112482963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444648926,"filename":"image_17082025_17_28_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4bb6763f3060758199598603a01490c6.jpg","text":"TemporaryFile(/tmp/multipartBody5297050189169285745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444648926,"filename":"image_17082025_17_29_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b7f04769e3557642f1362bb3d4b9576f.jpg","text":"TemporaryFile(/tmp/multipartBody4315857272873261386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444648926,"filename":"image_17082025_17_29_15_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d24a8b1b4bcea9f0e9fea74ff028a4e5.jpg","text":"TemporaryFile(/tmp/multipartBody2539997502565679281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444648926,"filename":"image_17082025_17_29_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/88ef619ba570f440fad2dcba607e01ca.jpg","text":"TemporaryFile(/tmp/multipartBody5505958843048820846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444648926,"filename":"image_17082025_17_29_44_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377677423","file1":"1377677422","file0":"1377677417","file4":"1377677426","file5":"1377677434","file3":"1377677424"},"map_files_photo_id_array":[{"photo_id":"1377677434","filename":"file5"},{"photo_id":"1377677423","filename":"file2"},{"photo_id":"1377677426","filename":"file4"},{"photo_id":"1377677422","filename":"file1"},{"photo_id":"1377677417","filename":"file0"},{"photo_id":"1377677424","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377677426":["hashtag1","hashtag2"]},{"1377677434":["hashtag1","hashtag2"]},{"1377677422":["hashtag1","hashtag2"]},{"1377677424":["hashtag1","hashtag2"]},{"1377677423":["hashtag1","hashtag2"]},{"1377677417":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377677426, 1377677434, 1377677422, 1377677424, 1377677423, 1377677417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1666898727417 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:30:32.138391
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_14_10689.jpg', 2), ('/home/nano/Desktop/images/17082025/17/29/image_17082025_17_30_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/17/29/image_17082025_17_29_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_44_10647.jpg', '/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_34_9638.jpg', '/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_24_9638.jpg', '/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_14_10689.jpg', '/home/nano/Desktop/images/17082025/17/29/image_17082025_17_30_04_9648.jpg', '/home/nano/Desktop/images/17082025/17/29/image_17082025_17_29_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_44_10647.jpg
/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_34_9638.jpg
/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_24_9638.jpg
/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_14_10689.jpg
/home/nano/Desktop/images/17082025/17/29/image_17082025_17_30_04_9648.jpg
/home/nano/Desktop/images/17082025/17/29/image_17082025_17_29_54_9640.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4641098976135254 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:30:47.151560
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_14_10689.jpg', 2), ('/home/nano/Desktop/images/17082025/17/29/image_17082025_17_30_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/17/29/image_17082025_17_29_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_44_10647.jpg', '/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_34_9638.jpg', '/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_24_9638.jpg', '/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_14_10689.jpg', '/home/nano/Desktop/images/17082025/17/29/image_17082025_17_30_04_9648.jpg', '/home/nano/Desktop/images/17082025/17/29/image_17082025_17_29_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_44_10647.jpg
/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_34_9638.jpg
/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_24_9638.jpg
/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_14_10689.jpg
/home/nano/Desktop/images/17082025/17/29/image_17082025_17_30_04_9648.jpg
/home/nano/Desktop/images/17082025/17/29/image_17082025_17_29_54_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677452","1377677455","1377677449","1377677443","1377677463","1377677453"],"photo_ids_order":["1377677443","1377677449","1377677452","1377677453","1377677455","1377677463"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/abd93e8bab808094218337295ea9e39d.jpg","text":"TemporaryFile(/tmp/multipartBody6379281764226962193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444708667,"filename":"image_17082025_17_30_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d84ca561e044014cc92c3d1b110a7c00.jpg","text":"TemporaryFile(/tmp/multipartBody2180881564067878275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444708667,"filename":"image_17082025_17_30_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ed2e7e46873fb628b8bf77ca4ab26b8a.jpg","text":"TemporaryFile(/tmp/multipartBody3088680752307218634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444708667,"filename":"image_17082025_17_30_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/62a52ee3d5f6fea17d5ff63c91061c6f.jpg","text":"TemporaryFile(/tmp/multipartBody6729529636616091778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444708667,"filename":"image_17082025_17_30_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/412ed58ec519e6dd6818f9338f6ef8cc.jpg","text":"TemporaryFile(/tmp/multipartBody192645887128753642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444708667,"filename":"image_17082025_17_29_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f0e91ead37640b9e5021b9406919df60.jpg","text":"TemporaryFile(/tmp/multipartBody7945545233322526946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444708667,"filename":"image_17082025_17_30_14_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377677452","file1":"1377677449","file0":"1377677443","file4":"1377677455","file5":"1377677463","file3":"1377677453"},"map_files_photo_id_array":[{"photo_id":"1377677463","filename":"file5"},{"photo_id":"1377677452","filename":"file2"},{"photo_id":"1377677455","filename":"file4"},{"photo_id":"1377677449","filename":"file1"},{"photo_id":"1377677443","filename":"file0"},{"photo_id":"1377677453","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377677452":["hashtag1","hashtag2"]},{"1377677455":["hashtag1","hashtag2"]},{"1377677449":["hashtag1","hashtag2"]},{"1377677443":["hashtag1","hashtag2"]},{"1377677463":["hashtag1","hashtag2"]},{"1377677453":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377677452, 1377677455, 1377677449, 1377677443, 1377677463, 1377677453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56024885177612 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:31:32.255544
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/31/image_17082025_17_31_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/17/31/image_17082025_17_31_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/31/image_17082025_17_31_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/31/image_17082025_17_31_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/17/30/image_17082025_17_31_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_54_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/31/image_17082025_17_31_44_10648.jpg', '/home/nano/Desktop/images/17082025/17/31/image_17082025_17_31_34_9639.jpg', '/home/nano/Desktop/images/17082025/17/31/image_17082025_17_31_24_9639.jpg', '/home/nano/Desktop/images/17082025/17/31/image_17082025_17_31_14_10666.jpg', '/home/nano/Desktop/images/17082025/17/30/image_17082025_17_31_04_9652.jpg', '/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_54_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/31/image_17082025_17_31_44_10648.jpg
/home/nano/Desktop/images/17082025/17/31/image_17082025_17_31_34_9639.jpg
/home/nano/Desktop/images/17082025/17/31/image_17082025_17_31_24_9639.jpg
/home/nano/Desktop/images/17082025/17/31/image_17082025_17_31_14_10666.jpg
/home/nano/Desktop/images/17082025/17/30/image_17082025_17_31_04_9652.jpg
/home/nano/Desktop/images/17082025/17/30/image_17082025_17_30_54_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677497","1377677470","1377677476","1377677469","1377677472","1377677474"],"photo_ids_order":["1377677469","1377677470","1377677472","1377677474","1377677476","1377677497"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4144f213f0ec5b2153f5d1bbb4c110b4.jpg","text":"TemporaryFile(/tmp/multipartBody7250720316569050972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444754069,"filename":"image_17082025_17_30_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/826c3e8832734c60c843b3e5e0c6ce32.jpg","text":"TemporaryFile(/tmp/multipartBody8574781790094135552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444754069,"filename":"image_17082025_17_31_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ba23444d17189341634e8baf8df4f445.jpg","text":"TemporaryFile(/tmp/multipartBody1553566062481563770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444754069,"filename":"image_17082025_17_31_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4b9466f5d9e5724b6bdcf1534648f11d.jpg","text":"TemporaryFile(/tmp/multipartBody8621184213602243634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444754069,"filename":"image_17082025_17_31_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/db468c254bdd90623007201c271d7c37.jpg","text":"TemporaryFile(/tmp/multipartBody1691913731448271181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444754069,"filename":"image_17082025_17_31_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f641b167745b91b5ee3efc0e4bec2707.jpg","text":"TemporaryFile(/tmp/multipartBody6855189929185717075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444754069,"filename":"image_17082025_17_31_14_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377677472","file1":"1377677470","file0":"1377677469","file4":"1377677476","file5":"1377677497","file3":"1377677474"},"map_files_photo_id_array":[{"photo_id":"1377677497","filename":"file5"},{"photo_id":"1377677472","filename":"file2"},{"photo_id":"1377677476","filename":"file4"},{"photo_id":"1377677470","filename":"file1"},{"photo_id":"1377677469","filename":"file0"},{"photo_id":"1377677474","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377677497":["hashtag1","hashtag2"]},{"1377677470":["hashtag1","hashtag2"]},{"1377677476":["hashtag1","hashtag2"]},{"1377677469":["hashtag1","hashtag2"]},{"1377677472":["hashtag1","hashtag2"]},{"1377677474":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377677497, 1377677470, 1377677476, 1377677469, 1377677472, 1377677474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54304814338684 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:32:17.333221
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/32/image_17082025_17_32_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/17/32/image_17082025_17_32_35_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/17/32/image_17082025_17_32_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/17/31/image_17082025_17_32_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/17/31/image_17082025_17_31_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/42/image_17082025_14_42_24_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/32/image_17082025_17_32_44_9637.jpg', '/home/nano/Desktop/images/17082025/17/32/image_17082025_17_32_35_10646.jpg', '/home/nano/Desktop/images/17082025/17/32/image_17082025_17_32_14_10667.jpg', '/home/nano/Desktop/images/17082025/17/31/image_17082025_17_32_04_9650.jpg', '/home/nano/Desktop/images/17082025/17/31/image_17082025_17_31_54_9637.jpg', '/home/nano/Desktop/images/17082025/14/42/image_17082025_14_42_24_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/32/image_17082025_17_32_44_9637.jpg
/home/nano/Desktop/images/17082025/17/32/image_17082025_17_32_35_10646.jpg
/home/nano/Desktop/images/17082025/17/32/image_17082025_17_32_14_10667.jpg
/home/nano/Desktop/images/17082025/17/31/image_17082025_17_32_04_9650.jpg
/home/nano/Desktop/images/17082025/17/31/image_17082025_17_31_54_9637.jpg
/home/nano/Desktop/images/17082025/14/42/image_17082025_14_42_24_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677519","1377677521","1377677509","1377677512","1377677514","1377677517"],"photo_ids_order":["1377677509","1377677512","1377677514","1377677517","1377677519","1377677521"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/00aa5c34e4447c58d984efc512391d8b.jpg","text":"TemporaryFile(/tmp/multipartBody4733615871232843992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444799107,"filename":"image_17082025_17_31_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/efb651c6cbc1d053991f6722ca19c323.jpg","text":"TemporaryFile(/tmp/multipartBody3183904839474913642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444799107,"filename":"image_17082025_14_42_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/51a124ef3683e15a13da8c39926d81a2.jpg","text":"TemporaryFile(/tmp/multipartBody8566508209196837184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444799107,"filename":"image_17082025_17_32_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2f7866fb65cc049fd9ff70d792c029ae.jpg","text":"TemporaryFile(/tmp/multipartBody6333279532558346786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444799107,"filename":"image_17082025_17_32_35_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/46120ebd61c733a2f145a4e7e43f5740.jpg","text":"TemporaryFile(/tmp/multipartBody1040536614971947638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444799107,"filename":"image_17082025_17_32_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b3fb9225a5db9a0c1f9fe27f72347b60.jpg","text":"TemporaryFile(/tmp/multipartBody2696212085403166756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444799107,"filename":"image_17082025_17_32_04_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377677514","file1":"1377677512","file0":"1377677509","file4":"1377677519","file5":"1377677521","file3":"1377677517"},"map_files_photo_id_array":[{"photo_id":"1377677521","filename":"file5"},{"photo_id":"1377677514","filename":"file2"},{"photo_id":"1377677519","filename":"file4"},{"photo_id":"1377677512","filename":"file1"},{"photo_id":"1377677509","filename":"file0"},{"photo_id":"1377677517","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377677519":["hashtag1","hashtag2"]},{"1377677521":["hashtag1","hashtag2"]},{"1377677509":["hashtag1","hashtag2"]},{"1377677512":["hashtag1","hashtag2"]},{"1377677514":["hashtag1","hashtag2"]},{"1377677517":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377677519, 1377677521, 1377677509, 1377677512, 1377677514, 1377677517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96579599380493 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:33:03.178792
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/42/image_17082025_14_42_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/14/41/image_17082025_14_42_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/14/41/image_17082025_14_41_54_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/14/41/image_17082025_14_41_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/41/image_17082025_14_41_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/41/image_17082025_14_41_24_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/42/image_17082025_14_42_14_9653.jpg', '/home/nano/Desktop/images/17082025/14/41/image_17082025_14_42_04_9641.jpg', '/home/nano/Desktop/images/17082025/14/41/image_17082025_14_41_54_10646.jpg', '/home/nano/Desktop/images/17082025/14/41/image_17082025_14_41_44_9637.jpg', '/home/nano/Desktop/images/17082025/14/41/image_17082025_14_41_34_9637.jpg', '/home/nano/Desktop/images/17082025/14/41/image_17082025_14_41_24_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/42/image_17082025_14_42_14_9653.jpg
/home/nano/Desktop/images/17082025/14/41/image_17082025_14_42_04_9641.jpg
/home/nano/Desktop/images/17082025/14/41/image_17082025_14_41_54_10646.jpg
/home/nano/Desktop/images/17082025/14/41/image_17082025_14_41_44_9637.jpg
/home/nano/Desktop/images/17082025/14/41/image_17082025_14_41_34_9637.jpg
/home/nano/Desktop/images/17082025/14/41/image_17082025_14_41_24_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677683","1377677653","1377677623","1377677712","1377677588","1377677558"],"photo_ids_order":["1377677558","1377677588","1377677623","1377677653","1377677683","1377677712"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dee611ef9e27876663e70b8eea1b1666.jpg","text":"TemporaryFile(/tmp/multipartBody9214850897072131886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444845023,"filename":"image_17082025_14_41_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dee3fedce0f91169a7fccbbdcecfd787.jpg","text":"TemporaryFile(/tmp/multipartBody5737181717588231470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444845023,"filename":"image_17082025_14_41_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f948418a11d590ef91f4fbff2d269a66.jpg","text":"TemporaryFile(/tmp/multipartBody158557351443881826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444845023,"filename":"image_17082025_14_41_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2d442dc4e85ab23901e4b58a0c33a768.jpg","text":"TemporaryFile(/tmp/multipartBody2877631452783261174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444845023,"filename":"image_17082025_14_41_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/111ce456d4fef8711a37452bb5351fd3.jpg","text":"TemporaryFile(/tmp/multipartBody5081643847111350298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444845023,"filename":"image_17082025_14_42_04_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/18e38500c482194549dbbce2d679c28d.jpg","text":"TemporaryFile(/tmp/multipartBody8257438534992226972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444845023,"filename":"image_17082025_14_42_14_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377677623","file1":"1377677588","file0":"1377677558","file4":"1377677683","file5":"1377677712","file3":"1377677653"},"map_files_photo_id_array":[{"photo_id":"1377677712","filename":"file5"},{"photo_id":"1377677623","filename":"file2"},{"photo_id":"1377677683","filename":"file4"},{"photo_id":"1377677588","filename":"file1"},{"photo_id":"1377677558","filename":"file0"},{"photo_id":"1377677653","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377677683":["hashtag1","hashtag2"]},{"1377677653":["hashtag1","hashtag2"]},{"1377677623":["hashtag1","hashtag2"]},{"1377677712":["hashtag1","hashtag2"]},{"1377677588":["hashtag1","hashtag2"]},{"1377677558":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377677683, 1377677653, 1377677623, 1377677712, 1377677588, 1377677558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.531251192092896 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:33:47.459703
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/33/image_17082025_17_33_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/33/image_17082025_17_33_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/17/33/image_17082025_17_33_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/33/image_17082025_17_33_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/17/32/image_17082025_17_33_04_10655.jpg', 2), ('/home/nano/Desktop/images/17082025/17/32/image_17082025_17_32_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/33/image_17082025_17_33_44_9638.jpg', '/home/nano/Desktop/images/17082025/17/33/image_17082025_17_33_34_10646.jpg', '/home/nano/Desktop/images/17082025/17/33/image_17082025_17_33_24_9638.jpg', '/home/nano/Desktop/images/17082025/17/33/image_17082025_17_33_14_9655.jpg', '/home/nano/Desktop/images/17082025/17/32/image_17082025_17_33_04_10655.jpg', '/home/nano/Desktop/images/17082025/17/32/image_17082025_17_32_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/33/image_17082025_17_33_44_9638.jpg
/home/nano/Desktop/images/17082025/17/33/image_17082025_17_33_34_10646.jpg
/home/nano/Desktop/images/17082025/17/33/image_17082025_17_33_24_9638.jpg
/home/nano/Desktop/images/17082025/17/33/image_17082025_17_33_14_9655.jpg
/home/nano/Desktop/images/17082025/17/32/image_17082025_17_33_04_10655.jpg
/home/nano/Desktop/images/17082025/17/32/image_17082025_17_32_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677738","1377677749","1377677740","1377677742","1377677736","1377677739"],"photo_ids_order":["1377677736","1377677738","1377677739","1377677740","1377677742","1377677749"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1881240fbae649d3e88ccba55cf88fbd.jpg","text":"TemporaryFile(/tmp/multipartBody5069063000689552307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444889394,"filename":"image_17082025_17_33_34_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7c9ebb525c118e2d644a02122177621a.jpg","text":"TemporaryFile(/tmp/multipartBody580566042832330910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444889394,"filename":"image_17082025_17_32_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/df9255f98ef6a83ef9ccfe85291e74e5.jpg","text":"TemporaryFile(/tmp/multipartBody3679723060141366892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444889394,"filename":"image_17082025_17_33_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c51ba958c31faa49a2b7985074094dea.jpg","text":"TemporaryFile(/tmp/multipartBody8564919696682122871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444889394,"filename":"image_17082025_17_33_04_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/609131f8b76ffd9e8b93b4ca20871e27.jpg","text":"TemporaryFile(/tmp/multipartBody5725952223454207048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444889394,"filename":"image_17082025_17_33_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ddb5dda7b0447002a48d75d7e34b8a6e.jpg","text":"TemporaryFile(/tmp/multipartBody5828540110604937352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444889394,"filename":"image_17082025_17_33_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377677739","file1":"1377677738","file0":"1377677736","file4":"1377677742","file5":"1377677749","file3":"1377677740"},"map_files_photo_id_array":[{"photo_id":"1377677749","filename":"file5"},{"photo_id":"1377677739","filename":"file2"},{"photo_id":"1377677742","filename":"file4"},{"photo_id":"1377677738","filename":"file1"},{"photo_id":"1377677736","filename":"file0"},{"photo_id":"1377677740","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377677738":["hashtag1","hashtag2"]},{"1377677749":["hashtag1","hashtag2"]},{"1377677740":["hashtag1","hashtag2"]},{"1377677742":["hashtag1","hashtag2"]},{"1377677736":["hashtag1","hashtag2"]},{"1377677739":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377677738, 1377677749, 1377677740, 1377677742, 1377677736, 1377677739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.793861389160156 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:34:32.548535
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/34/image_17082025_17_34_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/34/image_17082025_17_34_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/17/34/image_17082025_17_34_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/17/34/image_17082025_17_34_14_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/17/33/image_17082025_17_34_04_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/17/33/image_17082025_17_33_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/34/image_17082025_17_34_44_9638.jpg', '/home/nano/Desktop/images/17082025/17/34/image_17082025_17_34_34_10647.jpg', '/home/nano/Desktop/images/17082025/17/34/image_17082025_17_34_24_9637.jpg', '/home/nano/Desktop/images/17082025/17/34/image_17082025_17_34_14_9651.jpg', '/home/nano/Desktop/images/17082025/17/33/image_17082025_17_34_04_10668.jpg', '/home/nano/Desktop/images/17082025/17/33/image_17082025_17_33_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/34/image_17082025_17_34_44_9638.jpg
/home/nano/Desktop/images/17082025/17/34/image_17082025_17_34_34_10647.jpg
/home/nano/Desktop/images/17082025/17/34/image_17082025_17_34_24_9637.jpg
/home/nano/Desktop/images/17082025/17/34/image_17082025_17_34_14_9651.jpg
/home/nano/Desktop/images/17082025/17/33/image_17082025_17_34_04_10668.jpg
/home/nano/Desktop/images/17082025/17/33/image_17082025_17_33_54_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677758","1377677767","1377677796","1377677763","1377677765","1377677753"],"photo_ids_order":["1377677753","1377677758","1377677763","1377677765","1377677767","1377677796"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aaeb3a37e4740a3cb85a033280991ec7.jpg","text":"TemporaryFile(/tmp/multipartBody3486494379908181832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444934208,"filename":"image_17082025_17_34_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/356e681d5c8ee00b9fad88a85145e9c9.jpg","text":"TemporaryFile(/tmp/multipartBody6397508461052278238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444934208,"filename":"image_17082025_17_34_04_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/18015de9e8a4c55c61f1797eb921ff2d.jpg","text":"TemporaryFile(/tmp/multipartBody3453282237393883621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444934208,"filename":"image_17082025_17_33_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9fbcf00a8798f0e5634e714293edfd0f.jpg","text":"TemporaryFile(/tmp/multipartBody2875630104819369655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444934208,"filename":"image_17082025_17_34_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f0616d72fd1933f7564c0442e3654fbc.jpg","text":"TemporaryFile(/tmp/multipartBody495478338986798544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444934208,"filename":"image_17082025_17_34_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f0970aaf15d3f308d2e995a81d0a76bf.jpg","text":"TemporaryFile(/tmp/multipartBody5081464552140296950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444934208,"filename":"image_17082025_17_34_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377677763","file1":"1377677758","file0":"1377677753","file4":"1377677767","file5":"1377677796","file3":"1377677765"},"map_files_photo_id_array":[{"photo_id":"1377677796","filename":"file5"},{"photo_id":"1377677763","filename":"file2"},{"photo_id":"1377677767","filename":"file4"},{"photo_id":"1377677758","filename":"file1"},{"photo_id":"1377677753","filename":"file0"},{"photo_id":"1377677765","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377677758":["hashtag1","hashtag2"]},{"1377677767":["hashtag1","hashtag2"]},{"1377677796":["hashtag1","hashtag2"]},{"1377677763":["hashtag1","hashtag2"]},{"1377677765":["hashtag1","hashtag2"]},{"1377677753":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377677758, 1377677767, 1377677796, 1377677763, 1377677765, 1377677753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.670037031173706 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:35:17.669158
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_25_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/17/34/image_17082025_17_35_04_10661.jpg', 2), ('/home/nano/Desktop/images/17082025/17/34/image_17082025_17_34_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_44_9637.jpg', '/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_34_9638.jpg', '/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_25_10665.jpg', '/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_14_9655.jpg', '/home/nano/Desktop/images/17082025/17/34/image_17082025_17_35_04_10661.jpg', '/home/nano/Desktop/images/17082025/17/34/image_17082025_17_34_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_44_9637.jpg
/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_34_9638.jpg
/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_25_10665.jpg
/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_14_9655.jpg
/home/nano/Desktop/images/17082025/17/34/image_17082025_17_35_04_10661.jpg
/home/nano/Desktop/images/17082025/17/34/image_17082025_17_34_54_9638.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.235975980758667 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:35:32.753341
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_25_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/17/34/image_17082025_17_35_04_10661.jpg', 2), ('/home/nano/Desktop/images/17082025/17/34/image_17082025_17_34_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_44_9637.jpg', '/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_34_9638.jpg', '/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_25_10665.jpg', '/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_14_9655.jpg', '/home/nano/Desktop/images/17082025/17/34/image_17082025_17_35_04_10661.jpg', '/home/nano/Desktop/images/17082025/17/34/image_17082025_17_34_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_44_9637.jpg
/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_34_9638.jpg
/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_25_10665.jpg
/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_14_9655.jpg
/home/nano/Desktop/images/17082025/17/34/image_17082025_17_35_04_10661.jpg
/home/nano/Desktop/images/17082025/17/34/image_17082025_17_34_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677829","1377677861","1377677891","1377677831","1377677825","1377677834"],"photo_ids_order":["1377677825","1377677829","1377677831","1377677834","1377677861","1377677891"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2396e00ee43fa91cd4bd28760042917e.jpg","text":"TemporaryFile(/tmp/multipartBody2405648810726852217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444994462,"filename":"image_17082025_17_35_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/45f8fe55dd48b875772d74e6cefc2c61.jpg","text":"TemporaryFile(/tmp/multipartBody2920240220673491992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444994462,"filename":"image_17082025_17_35_04_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6ed6d72a7d588ef99919e38c06129952.jpg","text":"TemporaryFile(/tmp/multipartBody4385163050280253432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444994462,"filename":"image_17082025_17_34_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ffcde03be38f7826bc9bf3b47f3ff1fa.jpg","text":"TemporaryFile(/tmp/multipartBody3764474202125095944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444994462,"filename":"image_17082025_17_35_25_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ccf1dedd6a675e1301ccfd075b68f289.jpg","text":"TemporaryFile(/tmp/multipartBody3312453816311153900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444994462,"filename":"image_17082025_17_35_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/225a28f58c4e90dbc230ba386399d6cb.jpg","text":"TemporaryFile(/tmp/multipartBody6702610333961102310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755444994462,"filename":"image_17082025_17_35_14_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377677831","file1":"1377677829","file0":"1377677825","file4":"1377677861","file5":"1377677891","file3":"1377677834"},"map_files_photo_id_array":[{"photo_id":"1377677891","filename":"file5"},{"photo_id":"1377677831","filename":"file2"},{"photo_id":"1377677861","filename":"file4"},{"photo_id":"1377677829","filename":"file1"},{"photo_id":"1377677825","filename":"file0"},{"photo_id":"1377677834","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377677829":["hashtag1","hashtag2"]},{"1377677861":["hashtag1","hashtag2"]},{"1377677891":["hashtag1","hashtag2"]},{"1377677831":["hashtag1","hashtag2"]},{"1377677825":["hashtag1","hashtag2"]},{"1377677834":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377677829, 1377677861, 1377677891, 1377677831, 1377677825, 1377677834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35081481933594 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:36:16.849450
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/36/image_17082025_17_36_44_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/17/36/image_17082025_17_36_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/36/image_17082025_17_36_24_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/17/36/image_17082025_17_36_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/17/35/image_17082025_17_36_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/36/image_17082025_17_36_44_9654.jpg', '/home/nano/Desktop/images/17082025/17/36/image_17082025_17_36_34_9638.jpg', '/home/nano/Desktop/images/17082025/17/36/image_17082025_17_36_24_10645.jpg', '/home/nano/Desktop/images/17082025/17/36/image_17082025_17_36_14_9655.jpg', '/home/nano/Desktop/images/17082025/17/35/image_17082025_17_36_04_9638.jpg', '/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_54_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/36/image_17082025_17_36_44_9654.jpg
/home/nano/Desktop/images/17082025/17/36/image_17082025_17_36_34_9638.jpg
/home/nano/Desktop/images/17082025/17/36/image_17082025_17_36_24_10645.jpg
/home/nano/Desktop/images/17082025/17/36/image_17082025_17_36_14_9655.jpg
/home/nano/Desktop/images/17082025/17/35/image_17082025_17_36_04_9638.jpg
/home/nano/Desktop/images/17082025/17/35/image_17082025_17_35_54_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377677994","1377678048","1377678039","1377678003","1377677996","1377678032"],"photo_ids_order":["1377677994","1377677996","1377678003","1377678032","1377678039","1377678048"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ba13d36a55aaa9ebe8bba83a9c87a7cd.jpg","text":"TemporaryFile(/tmp/multipartBody219304188712980960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445038560,"filename":"image_17082025_17_36_44_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f6226c0e5cb58433e6b22e402ec60bee.jpg","text":"TemporaryFile(/tmp/multipartBody65227211936762123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445038560,"filename":"image_17082025_17_35_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/faf274ce9793bf4eb9a024793231a3e9.jpg","text":"TemporaryFile(/tmp/multipartBody6477435768252861829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445038560,"filename":"image_17082025_17_36_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d1b858efa15b72b166ffe3e45704deea.jpg","text":"TemporaryFile(/tmp/multipartBody6213431072895273511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445038560,"filename":"image_17082025_17_36_24_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/82e496d533e9558c5f3387477b598bdc.jpg","text":"TemporaryFile(/tmp/multipartBody5838250260726532374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445038560,"filename":"image_17082025_17_36_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/001f1853c48e925cdd2229717c044834.jpg","text":"TemporaryFile(/tmp/multipartBody5701889026269418107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445038560,"filename":"image_17082025_17_36_14_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678003","file1":"1377677996","file0":"1377677994","file4":"1377678039","file5":"1377678048","file3":"1377678032"},"map_files_photo_id_array":[{"photo_id":"1377678048","filename":"file5"},{"photo_id":"1377678003","filename":"file2"},{"photo_id":"1377678039","filename":"file4"},{"photo_id":"1377677996","filename":"file1"},{"photo_id":"1377677994","filename":"file0"},{"photo_id":"1377678032","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377677994":["hashtag1","hashtag2"]},{"1377678048":["hashtag1","hashtag2"]},{"1377678039":["hashtag1","hashtag2"]},{"1377678003":["hashtag1","hashtag2"]},{"1377677996":["hashtag1","hashtag2"]},{"1377678032":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377677994, 1377678048, 1377678039, 1377678003, 1377677996, 1377678032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43332290649414 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:37:02.645811
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/41/image_17082025_14_41_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/14/40/image_17082025_14_41_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/40/image_17082025_14_40_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/40/image_17082025_14_40_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/40/image_17082025_14_40_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/40/image_17082025_14_40_24_10672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/41/image_17082025_14_41_14_9658.jpg', '/home/nano/Desktop/images/17082025/14/40/image_17082025_14_41_04_9638.jpg', '/home/nano/Desktop/images/17082025/14/40/image_17082025_14_40_54_10647.jpg', '/home/nano/Desktop/images/17082025/14/40/image_17082025_14_40_44_9637.jpg', '/home/nano/Desktop/images/17082025/14/40/image_17082025_14_40_34_9638.jpg', '/home/nano/Desktop/images/17082025/14/40/image_17082025_14_40_24_10672.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/41/image_17082025_14_41_14_9658.jpg
/home/nano/Desktop/images/17082025/14/40/image_17082025_14_41_04_9638.jpg
/home/nano/Desktop/images/17082025/14/40/image_17082025_14_40_54_10647.jpg
/home/nano/Desktop/images/17082025/14/40/image_17082025_14_40_44_9637.jpg
/home/nano/Desktop/images/17082025/14/40/image_17082025_14_40_34_9638.jpg
/home/nano/Desktop/images/17082025/14/40/image_17082025_14_40_24_10672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678118","1377678127","1377678147","1377678126","1377678119","1377678178"],"photo_ids_order":["1377678118","1377678119","1377678126","1377678127","1377678147","1377678178"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/acd04315dd2bba11e2b47c4bb2cbc470.jpg","text":"TemporaryFile(/tmp/multipartBody7769413462865342938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445084407,"filename":"image_17082025_14_41_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/514ac36853f2a06175ea18368035c4c7.jpg","text":"TemporaryFile(/tmp/multipartBody3623804613005371853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445084407,"filename":"image_17082025_14_40_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/75633a925f12b0c9d573750abb908469.jpg","text":"TemporaryFile(/tmp/multipartBody3005444680384466377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445084407,"filename":"image_17082025_14_40_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8747abba5731ccca6f5a423e26182ad6.jpg","text":"TemporaryFile(/tmp/multipartBody2691528527955238323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445084407,"filename":"image_17082025_14_40_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d0f8e2d870eec193fa4e39a8b74f810f.jpg","text":"TemporaryFile(/tmp/multipartBody3323710741675898828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445084407,"filename":"image_17082025_14_41_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6480eac5a9935f155a45c968f5efe308.jpg","text":"TemporaryFile(/tmp/multipartBody8814205658798605258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445084407,"filename":"image_17082025_14_40_24_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678126","file1":"1377678119","file0":"1377678118","file4":"1377678147","file5":"1377678178","file3":"1377678127"},"map_files_photo_id_array":[{"photo_id":"1377678178","filename":"file5"},{"photo_id":"1377678126","filename":"file2"},{"photo_id":"1377678147","filename":"file4"},{"photo_id":"1377678119","filename":"file1"},{"photo_id":"1377678118","filename":"file0"},{"photo_id":"1377678127","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678118":["hashtag1","hashtag2"]},{"1377678127":["hashtag1","hashtag2"]},{"1377678147":["hashtag1","hashtag2"]},{"1377678126":["hashtag1","hashtag2"]},{"1377678119":["hashtag1","hashtag2"]},{"1377678178":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678118, 1377678127, 1377678147, 1377678126, 1377678119, 1377678178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7478289604187 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:37:47.039292
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/37/image_17082025_17_37_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/17/37/image_17082025_17_37_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/37/image_17082025_17_37_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/17/37/image_17082025_17_37_14_9679.jpg', 2), ('/home/nano/Desktop/images/17082025/17/36/image_17082025_17_37_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/17/36/image_17082025_17_36_54_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/37/image_17082025_17_37_44_9636.jpg', '/home/nano/Desktop/images/17082025/17/37/image_17082025_17_37_34_9638.jpg', '/home/nano/Desktop/images/17082025/17/37/image_17082025_17_37_24_10647.jpg', '/home/nano/Desktop/images/17082025/17/37/image_17082025_17_37_14_9679.jpg', '/home/nano/Desktop/images/17082025/17/36/image_17082025_17_37_04_9647.jpg', '/home/nano/Desktop/images/17082025/17/36/image_17082025_17_36_54_10646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/37/image_17082025_17_37_44_9636.jpg
/home/nano/Desktop/images/17082025/17/37/image_17082025_17_37_34_9638.jpg
/home/nano/Desktop/images/17082025/17/37/image_17082025_17_37_24_10647.jpg
/home/nano/Desktop/images/17082025/17/37/image_17082025_17_37_14_9679.jpg
/home/nano/Desktop/images/17082025/17/36/image_17082025_17_37_04_9647.jpg
/home/nano/Desktop/images/17082025/17/36/image_17082025_17_36_54_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678253","1377678241","1377678243","1377678236","1377678245","1377678239"],"photo_ids_order":["1377678236","1377678239","1377678241","1377678243","1377678245","1377678253"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7d978c451e50907cf38fbc2c071581b7.jpg","text":"TemporaryFile(/tmp/multipartBody7147207406276363192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445128921,"filename":"image_17082025_17_36_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/65c8280936db467552ece5807ee06bda.jpg","text":"TemporaryFile(/tmp/multipartBody467611125183383467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445128921,"filename":"image_17082025_17_37_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8fe2259b79f291392a3f33bb7af14fae.jpg","text":"TemporaryFile(/tmp/multipartBody7658796362280840434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445128921,"filename":"image_17082025_17_37_14_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5a2e3019a89a1b71fe391a260de3012d.jpg","text":"TemporaryFile(/tmp/multipartBody4409305934109531850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445128921,"filename":"image_17082025_17_37_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2dc14754188ceb52871956aaf03a8761.jpg","text":"TemporaryFile(/tmp/multipartBody1671286734586878510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445128921,"filename":"image_17082025_17_37_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/081a4708479f0708fccb59a8b5031037.jpg","text":"TemporaryFile(/tmp/multipartBody4981525764270660600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445128921,"filename":"image_17082025_17_37_34_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678241","file1":"1377678239","file0":"1377678236","file4":"1377678245","file5":"1377678253","file3":"1377678243"},"map_files_photo_id_array":[{"photo_id":"1377678253","filename":"file5"},{"photo_id":"1377678241","filename":"file2"},{"photo_id":"1377678245","filename":"file4"},{"photo_id":"1377678239","filename":"file1"},{"photo_id":"1377678236","filename":"file0"},{"photo_id":"1377678243","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678253":["hashtag1","hashtag2"]},{"1377678241":["hashtag1","hashtag2"]},{"1377678243":["hashtag1","hashtag2"]},{"1377678236":["hashtag1","hashtag2"]},{"1377678245":["hashtag1","hashtag2"]},{"1377678239":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678253, 1377678241, 1377678243, 1377678236, 1377678245, 1377678239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51505494117737 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:38:32.108844
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/38/image_17082025_17_38_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/17/38/image_17082025_17_38_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/38/image_17082025_17_38_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/17/38/image_17082025_17_38_15_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/17/37/image_17082025_17_38_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/17/37/image_17082025_17_37_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/38/image_17082025_17_38_44_10646.jpg', '/home/nano/Desktop/images/17082025/17/38/image_17082025_17_38_34_9639.jpg', '/home/nano/Desktop/images/17082025/17/38/image_17082025_17_38_24_9656.jpg', '/home/nano/Desktop/images/17082025/17/38/image_17082025_17_38_15_10671.jpg', '/home/nano/Desktop/images/17082025/17/37/image_17082025_17_38_04_9641.jpg', '/home/nano/Desktop/images/17082025/17/37/image_17082025_17_37_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/38/image_17082025_17_38_44_10646.jpg
/home/nano/Desktop/images/17082025/17/38/image_17082025_17_38_34_9639.jpg
/home/nano/Desktop/images/17082025/17/38/image_17082025_17_38_24_9656.jpg
/home/nano/Desktop/images/17082025/17/38/image_17082025_17_38_15_10671.jpg
/home/nano/Desktop/images/17082025/17/37/image_17082025_17_38_04_9641.jpg
/home/nano/Desktop/images/17082025/17/37/image_17082025_17_37_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678262","1377678261","1377678264","1377678258","1377678266","1377678257"],"photo_ids_order":["1377678257","1377678258","1377678261","1377678262","1377678264","1377678266"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/43e7398eb7b058ad92b1dfc57276f091.jpg","text":"TemporaryFile(/tmp/multipartBody7914935440531792866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445174090,"filename":"image_17082025_17_38_15_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8eee295313746aff74728836e6e53441.jpg","text":"TemporaryFile(/tmp/multipartBody3686518518421097682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445174090,"filename":"image_17082025_17_38_24_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b6ee3915c97bbc3a691c82b4583aa1e8.jpg","text":"TemporaryFile(/tmp/multipartBody7129200933817823144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445174090,"filename":"image_17082025_17_38_04_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1119a428466fd99109189348e88ebf92.jpg","text":"TemporaryFile(/tmp/multipartBody5196900744650842739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445174090,"filename":"image_17082025_17_38_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d1dd633cb0b51a9daba2521284705428.jpg","text":"TemporaryFile(/tmp/multipartBody1324624617942762105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445174090,"filename":"image_17082025_17_37_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1f05b69223e8f278e6a4c1fe4b3322c1.jpg","text":"TemporaryFile(/tmp/multipartBody3372893319357985137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445174090,"filename":"image_17082025_17_38_44_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678261","file1":"1377678258","file0":"1377678257","file4":"1377678264","file5":"1377678266","file3":"1377678262"},"map_files_photo_id_array":[{"photo_id":"1377678266","filename":"file5"},{"photo_id":"1377678261","filename":"file2"},{"photo_id":"1377678264","filename":"file4"},{"photo_id":"1377678258","filename":"file1"},{"photo_id":"1377678257","filename":"file0"},{"photo_id":"1377678262","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678262":["hashtag1","hashtag2"]},{"1377678261":["hashtag1","hashtag2"]},{"1377678264":["hashtag1","hashtag2"]},{"1377678258":["hashtag1","hashtag2"]},{"1377678266":["hashtag1","hashtag2"]},{"1377678257":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678262, 1377678261, 1377678264, 1377678258, 1377678266, 1377678257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83382058143616 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:39:17.288033
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/39/image_17082025_17_39_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/17/39/image_17082025_17_39_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/39/image_17082025_17_39_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/39/image_17082025_17_39_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/17/38/image_17082025_17_39_04_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/17/38/image_17082025_17_38_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/39/image_17082025_17_39_44_10647.jpg', '/home/nano/Desktop/images/17082025/17/39/image_17082025_17_39_34_9638.jpg', '/home/nano/Desktop/images/17082025/17/39/image_17082025_17_39_24_9638.jpg', '/home/nano/Desktop/images/17082025/17/39/image_17082025_17_39_14_10665.jpg', '/home/nano/Desktop/images/17082025/17/38/image_17082025_17_39_04_9637.jpg', '/home/nano/Desktop/images/17082025/17/38/image_17082025_17_38_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/39/image_17082025_17_39_44_10647.jpg
/home/nano/Desktop/images/17082025/17/39/image_17082025_17_39_34_9638.jpg
/home/nano/Desktop/images/17082025/17/39/image_17082025_17_39_24_9638.jpg
/home/nano/Desktop/images/17082025/17/39/image_17082025_17_39_14_10665.jpg
/home/nano/Desktop/images/17082025/17/38/image_17082025_17_39_04_9637.jpg
/home/nano/Desktop/images/17082025/17/38/image_17082025_17_38_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678276","1377678279","1377678303","1377678287","1377678278","1377678283"],"photo_ids_order":["1377678276","1377678278","1377678279","1377678283","1377678287","1377678303"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a1989848d53c27da3c34b69b913fa6bc.jpg","text":"TemporaryFile(/tmp/multipartBody4046390404353581078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445219113,"filename":"image_17082025_17_39_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8ea1a44b26bdcbcc523d1ebcf9695560.jpg","text":"TemporaryFile(/tmp/multipartBody1414002794786706583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445219113,"filename":"image_17082025_17_39_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/34ee02117a95dbef7d61fa221577c980.jpg","text":"TemporaryFile(/tmp/multipartBody1310579985921015112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445219113,"filename":"image_17082025_17_38_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c5ebd8716aadbbeb7833f000e88becb5.jpg","text":"TemporaryFile(/tmp/multipartBody4786728664836382960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445219113,"filename":"image_17082025_17_39_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c90f486ca7723c6a1228017a4bf7978c.jpg","text":"TemporaryFile(/tmp/multipartBody5965263471999634860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445219113,"filename":"image_17082025_17_39_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d14b94b92b3eee382cd8f5d5c9535592.jpg","text":"TemporaryFile(/tmp/multipartBody4210763833954945312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445219113,"filename":"image_17082025_17_39_14_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678279","file1":"1377678278","file0":"1377678276","file4":"1377678287","file5":"1377678303","file3":"1377678283"},"map_files_photo_id_array":[{"photo_id":"1377678303","filename":"file5"},{"photo_id":"1377678279","filename":"file2"},{"photo_id":"1377678287","filename":"file4"},{"photo_id":"1377678278","filename":"file1"},{"photo_id":"1377678276","filename":"file0"},{"photo_id":"1377678283","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678276":["hashtag1","hashtag2"]},{"1377678279":["hashtag1","hashtag2"]},{"1377678303":["hashtag1","hashtag2"]},{"1377678287":["hashtag1","hashtag2"]},{"1377678278":["hashtag1","hashtag2"]},{"1377678283":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678276, 1377678279, 1377678303, 1377678287, 1377678278, 1377678283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13691473007202 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:40:02.772666
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/39/image_17082025_14_40_04_9676.jpg', 2), ('/home/nano/Desktop/images/17082025/14/39/image_17082025_14_39_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/39/image_17082025_14_39_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/39/image_17082025_14_39_34_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/14/39/image_17082025_14_39_25_10654.jpg', 2), ('/home/nano/Desktop/images/17082025/14/39/image_17082025_14_39_14_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/39/image_17082025_14_40_04_9676.jpg', '/home/nano/Desktop/images/17082025/14/39/image_17082025_14_39_54_10649.jpg', '/home/nano/Desktop/images/17082025/14/39/image_17082025_14_39_44_9638.jpg', '/home/nano/Desktop/images/17082025/14/39/image_17082025_14_39_34_9658.jpg', '/home/nano/Desktop/images/17082025/14/39/image_17082025_14_39_25_10654.jpg', '/home/nano/Desktop/images/17082025/14/39/image_17082025_14_39_14_9657.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/39/image_17082025_14_40_04_9676.jpg
/home/nano/Desktop/images/17082025/14/39/image_17082025_14_39_54_10649.jpg
/home/nano/Desktop/images/17082025/14/39/image_17082025_14_39_44_9638.jpg
/home/nano/Desktop/images/17082025/14/39/image_17082025_14_39_34_9658.jpg
/home/nano/Desktop/images/17082025/14/39/image_17082025_14_39_25_10654.jpg
/home/nano/Desktop/images/17082025/14/39/image_17082025_14_39_14_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678334","1377678322","1377678336","1377678330","1377678338","1377678332"],"photo_ids_order":["1377678322","1377678330","1377678332","1377678334","1377678336","1377678338"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5e648f2054c4f0546b46cfb824e883be.jpg","text":"TemporaryFile(/tmp/multipartBody3790496529792344786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445265046,"filename":"image_17082025_14_39_34_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e1f25ea79d7293b66433ababbef286da.jpg","text":"TemporaryFile(/tmp/multipartBody7647005124250605888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445265046,"filename":"image_17082025_14_40_04_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c5dd6c7f5e8f5beaf998b0a9a3929c51.jpg","text":"TemporaryFile(/tmp/multipartBody3150481419877887200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445265046,"filename":"image_17082025_14_39_25_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b6ed70c62ed93e843a2e26f0dfc3c84e.jpg","text":"TemporaryFile(/tmp/multipartBody3780542937243080351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445265046,"filename":"image_17082025_14_39_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/87d943e75314688869da9f17fb432fca.jpg","text":"TemporaryFile(/tmp/multipartBody4133444402713198151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445265046,"filename":"image_17082025_14_39_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/771b05001295c39fc0e1170b1892e65c.jpg","text":"TemporaryFile(/tmp/multipartBody211699351954032630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445265046,"filename":"image_17082025_14_39_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678332","file1":"1377678330","file0":"1377678322","file4":"1377678336","file5":"1377678338","file3":"1377678334"},"map_files_photo_id_array":[{"photo_id":"1377678338","filename":"file5"},{"photo_id":"1377678332","filename":"file2"},{"photo_id":"1377678336","filename":"file4"},{"photo_id":"1377678330","filename":"file1"},{"photo_id":"1377678322","filename":"file0"},{"photo_id":"1377678334","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678334":["hashtag1","hashtag2"]},{"1377678322":["hashtag1","hashtag2"]},{"1377678336":["hashtag1","hashtag2"]},{"1377678330":["hashtag1","hashtag2"]},{"1377678338":["hashtag1","hashtag2"]},{"1377678332":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678334, 1377678322, 1377678336, 1377678330, 1377678338, 1377678332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.407861948013306 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:40:47.314287
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/40/image_17082025_17_40_44_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/17/40/image_17082025_17_40_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/17/40/image_17082025_17_40_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/17/40/image_17082025_17_40_14_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/17/39/image_17082025_17_40_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/17/39/image_17082025_17_39_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/40/image_17082025_17_40_44_10645.jpg', '/home/nano/Desktop/images/17082025/17/40/image_17082025_17_40_34_9637.jpg', '/home/nano/Desktop/images/17082025/17/40/image_17082025_17_40_24_9636.jpg', '/home/nano/Desktop/images/17082025/17/40/image_17082025_17_40_14_10672.jpg', '/home/nano/Desktop/images/17082025/17/39/image_17082025_17_40_04_9651.jpg', '/home/nano/Desktop/images/17082025/17/39/image_17082025_17_39_54_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/40/image_17082025_17_40_44_10645.jpg
/home/nano/Desktop/images/17082025/17/40/image_17082025_17_40_34_9637.jpg
/home/nano/Desktop/images/17082025/17/40/image_17082025_17_40_24_9636.jpg
/home/nano/Desktop/images/17082025/17/40/image_17082025_17_40_14_10672.jpg
/home/nano/Desktop/images/17082025/17/39/image_17082025_17_40_04_9651.jpg
/home/nano/Desktop/images/17082025/17/39/image_17082025_17_39_54_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678355","1377678349","1377678351","1377678353","1377678347","1377678362"],"photo_ids_order":["1377678347","1377678349","1377678351","1377678353","1377678355","1377678362"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b8fd61eb454c9d91ecbb687b96095391.jpg","text":"TemporaryFile(/tmp/multipartBody3964291705330162328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445310196,"filename":"image_17082025_17_40_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8c577b99e756e5bcc914e9bcc3ec9547.jpg","text":"TemporaryFile(/tmp/multipartBody327178857756279459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445310196,"filename":"image_17082025_17_40_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/15e27cce35f42c121c805386142c4040.jpg","text":"TemporaryFile(/tmp/multipartBody5317726172126548007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445310196,"filename":"image_17082025_17_40_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fa8c3fa35b6020fa11a571f13d8aa11b.jpg","text":"TemporaryFile(/tmp/multipartBody3622714564945822467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445310196,"filename":"image_17082025_17_40_14_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1fe26304ac3d07b710e2105aedf28b58.jpg","text":"TemporaryFile(/tmp/multipartBody2960759867016099093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445310196,"filename":"image_17082025_17_40_44_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2b2f3b2e659e53bc1ccd3e6768347888.jpg","text":"TemporaryFile(/tmp/multipartBody7232446914428025471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445310196,"filename":"image_17082025_17_39_54_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678351","file1":"1377678349","file0":"1377678347","file4":"1377678355","file5":"1377678362","file3":"1377678353"},"map_files_photo_id_array":[{"photo_id":"1377678362","filename":"file5"},{"photo_id":"1377678351","filename":"file2"},{"photo_id":"1377678355","filename":"file4"},{"photo_id":"1377678349","filename":"file1"},{"photo_id":"1377678347","filename":"file0"},{"photo_id":"1377678353","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678355":["hashtag1","hashtag2"]},{"1377678349":["hashtag1","hashtag2"]},{"1377678351":["hashtag1","hashtag2"]},{"1377678353":["hashtag1","hashtag2"]},{"1377678347":["hashtag1","hashtag2"]},{"1377678362":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678355, 1377678349, 1377678351, 1377678353, 1377678347, 1377678362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.655441761016846 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:41:32.433347
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/41/image_17082025_17_41_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/17/41/image_17082025_17_41_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/17/41/image_17082025_17_41_24_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/17/41/image_17082025_17_41_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/17/40/image_17082025_17_41_05_10658.jpg', 2), ('/home/nano/Desktop/images/17082025/17/40/image_17082025_17_40_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/41/image_17082025_17_41_44_9642.jpg', '/home/nano/Desktop/images/17082025/17/41/image_17082025_17_41_34_10649.jpg', '/home/nano/Desktop/images/17082025/17/41/image_17082025_17_41_24_9653.jpg', '/home/nano/Desktop/images/17082025/17/41/image_17082025_17_41_14_9660.jpg', '/home/nano/Desktop/images/17082025/17/40/image_17082025_17_41_05_10658.jpg', '/home/nano/Desktop/images/17082025/17/40/image_17082025_17_40_54_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/41/image_17082025_17_41_44_9642.jpg
/home/nano/Desktop/images/17082025/17/41/image_17082025_17_41_34_10649.jpg
/home/nano/Desktop/images/17082025/17/41/image_17082025_17_41_24_9653.jpg
/home/nano/Desktop/images/17082025/17/41/image_17082025_17_41_14_9660.jpg
/home/nano/Desktop/images/17082025/17/40/image_17082025_17_41_05_10658.jpg
/home/nano/Desktop/images/17082025/17/40/image_17082025_17_40_54_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678373","1377678375","1377678369","1377678371","1377678368","1377678376"],"photo_ids_order":["1377678368","1377678369","1377678371","1377678373","1377678375","1377678376"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ebed17a181283ad2ff7d5d92019993df.jpg","text":"TemporaryFile(/tmp/multipartBody5875194864580294886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445354191,"filename":"image_17082025_17_41_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a52e72de4889f1bf72f7108e2f1f7396.jpg","text":"TemporaryFile(/tmp/multipartBody3593673572546654456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445354191,"filename":"image_17082025_17_41_05_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/faf5d5202e80f7b2d7ed050339df53b8.jpg","text":"TemporaryFile(/tmp/multipartBody7317236668827053088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445354191,"filename":"image_17082025_17_41_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9fab7ce87b801398b47226e98f351628.jpg","text":"TemporaryFile(/tmp/multipartBody7125538696120116775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445354191,"filename":"image_17082025_17_41_24_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/494f3ee310e11b92280ad8c1e6d9c7fb.jpg","text":"TemporaryFile(/tmp/multipartBody8161515732255617074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445354191,"filename":"image_17082025_17_41_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ac79d1d89105cb85138dfd520e08918c.jpg","text":"TemporaryFile(/tmp/multipartBody994220091569067668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445354191,"filename":"image_17082025_17_40_54_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678371","file1":"1377678369","file0":"1377678368","file4":"1377678375","file5":"1377678376","file3":"1377678373"},"map_files_photo_id_array":[{"photo_id":"1377678376","filename":"file5"},{"photo_id":"1377678371","filename":"file2"},{"photo_id":"1377678375","filename":"file4"},{"photo_id":"1377678369","filename":"file1"},{"photo_id":"1377678368","filename":"file0"},{"photo_id":"1377678373","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678373":["hashtag1","hashtag2"]},{"1377678375":["hashtag1","hashtag2"]},{"1377678369":["hashtag1","hashtag2"]},{"1377678371":["hashtag1","hashtag2"]},{"1377678368":["hashtag1","hashtag2"]},{"1377678376":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678373, 1377678375, 1377678369, 1377678371, 1377678368, 1377678376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5626277923584 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:42:17.585447
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/42/image_17082025_17_42_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/17/42/image_17082025_17_42_34_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/17/42/image_17082025_17_42_24_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/17/42/image_17082025_17_42_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/17/41/image_17082025_17_42_04_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/17/41/image_17082025_17_41_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/42/image_17082025_17_42_44_9640.jpg', '/home/nano/Desktop/images/17082025/17/42/image_17082025_17_42_34_10667.jpg', '/home/nano/Desktop/images/17082025/17/42/image_17082025_17_42_24_9650.jpg', '/home/nano/Desktop/images/17082025/17/42/image_17082025_17_42_14_9660.jpg', '/home/nano/Desktop/images/17082025/17/41/image_17082025_17_42_04_10657.jpg', '/home/nano/Desktop/images/17082025/17/41/image_17082025_17_41_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/42/image_17082025_17_42_44_9640.jpg
/home/nano/Desktop/images/17082025/17/42/image_17082025_17_42_34_10667.jpg
/home/nano/Desktop/images/17082025/17/42/image_17082025_17_42_24_9650.jpg
/home/nano/Desktop/images/17082025/17/42/image_17082025_17_42_14_9660.jpg
/home/nano/Desktop/images/17082025/17/41/image_17082025_17_42_04_10657.jpg
/home/nano/Desktop/images/17082025/17/41/image_17082025_17_41_54_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678390","1377678393","1377678387","1377678395","1377678388","1377678397"],"photo_ids_order":["1377678387","1377678388","1377678390","1377678393","1377678395","1377678397"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/56c8843174e21d7bc867b7ce06aff8ab.jpg","text":"TemporaryFile(/tmp/multipartBody7109414136416306834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445399471,"filename":"image_17082025_17_42_24_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ceaa311ab7cb3c6e156310797c106f66.jpg","text":"TemporaryFile(/tmp/multipartBody246265416112784359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445399471,"filename":"image_17082025_17_42_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ccd988454f5b05293a264e085dfbf867.jpg","text":"TemporaryFile(/tmp/multipartBody6386648023881648598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445399471,"filename":"image_17082025_17_42_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/93311548cc6399808ac14f294fa5f013.jpg","text":"TemporaryFile(/tmp/multipartBody3262594372719593682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445399471,"filename":"image_17082025_17_42_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bf4593025c040105b942b62ad558e155.jpg","text":"TemporaryFile(/tmp/multipartBody3416199772005837832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445399471,"filename":"image_17082025_17_42_34_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b6e9b3d96acb277149672e2d18bbfa4f.jpg","text":"TemporaryFile(/tmp/multipartBody2748784671107703892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445399471,"filename":"image_17082025_17_41_54_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678390","file1":"1377678388","file0":"1377678387","file4":"1377678395","file5":"1377678397","file3":"1377678393"},"map_files_photo_id_array":[{"photo_id":"1377678397","filename":"file5"},{"photo_id":"1377678390","filename":"file2"},{"photo_id":"1377678395","filename":"file4"},{"photo_id":"1377678388","filename":"file1"},{"photo_id":"1377678387","filename":"file0"},{"photo_id":"1377678393","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678390":["hashtag1","hashtag2"]},{"1377678393":["hashtag1","hashtag2"]},{"1377678387":["hashtag1","hashtag2"]},{"1377678395":["hashtag1","hashtag2"]},{"1377678388":["hashtag1","hashtag2"]},{"1377678397":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678390, 1377678393, 1377678387, 1377678395, 1377678388, 1377678397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.6704375743866 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:43:03.340322
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/38/image_17082025_14_39_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/14/38/image_17082025_14_38_55_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/14/38/image_17082025_14_38_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/38/image_17082025_14_38_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/14/38/image_17082025_14_38_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/14/38/image_17082025_14_38_14_9662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/38/image_17082025_14_39_04_9661.jpg', '/home/nano/Desktop/images/17082025/14/38/image_17082025_14_38_55_10650.jpg', '/home/nano/Desktop/images/17082025/14/38/image_17082025_14_38_44_9637.jpg', '/home/nano/Desktop/images/17082025/14/38/image_17082025_14_38_34_10648.jpg', '/home/nano/Desktop/images/17082025/14/38/image_17082025_14_38_24_9643.jpg', '/home/nano/Desktop/images/17082025/14/38/image_17082025_14_38_14_9662.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/38/image_17082025_14_39_04_9661.jpg
/home/nano/Desktop/images/17082025/14/38/image_17082025_14_38_55_10650.jpg
/home/nano/Desktop/images/17082025/14/38/image_17082025_14_38_44_9637.jpg
/home/nano/Desktop/images/17082025/14/38/image_17082025_14_38_34_10648.jpg
/home/nano/Desktop/images/17082025/14/38/image_17082025_14_38_24_9643.jpg
/home/nano/Desktop/images/17082025/14/38/image_17082025_14_38_14_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678412","1377678415","1377678400","1377678417","1377678413","1377678407"],"photo_ids_order":["1377678400","1377678407","1377678412","1377678413","1377678415","1377678417"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9f1a425c7b1a8dece942f97c30474fe6.jpg","text":"TemporaryFile(/tmp/multipartBody1834913866201836511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445445066,"filename":"image_17082025_14_38_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8b0fa76606d625880c53b4adebef7418.jpg","text":"TemporaryFile(/tmp/multipartBody2479498119471925062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445445066,"filename":"image_17082025_14_38_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b57a7c43db264c2e4810f25675051a7e.jpg","text":"TemporaryFile(/tmp/multipartBody2352093686158582148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445445066,"filename":"image_17082025_14_39_04_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0aa4124b414653acc0cc362f3218e038.jpg","text":"TemporaryFile(/tmp/multipartBody6226552544833207410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445445066,"filename":"image_17082025_14_38_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cb4c2128960293ee391bf3e3e965e028.jpg","text":"TemporaryFile(/tmp/multipartBody5598308033137187309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445445066,"filename":"image_17082025_14_38_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/44784e560604d6e69bab94d4146d2d90.jpg","text":"TemporaryFile(/tmp/multipartBody7296704662841900027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445445066,"filename":"image_17082025_14_38_55_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678412","file1":"1377678407","file0":"1377678400","file4":"1377678415","file5":"1377678417","file3":"1377678413"},"map_files_photo_id_array":[{"photo_id":"1377678417","filename":"file5"},{"photo_id":"1377678412","filename":"file2"},{"photo_id":"1377678415","filename":"file4"},{"photo_id":"1377678407","filename":"file1"},{"photo_id":"1377678400","filename":"file0"},{"photo_id":"1377678413","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678412":["hashtag1","hashtag2"]},{"1377678415":["hashtag1","hashtag2"]},{"1377678400":["hashtag1","hashtag2"]},{"1377678417":["hashtag1","hashtag2"]},{"1377678413":["hashtag1","hashtag2"]},{"1377678407":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678412, 1377678415, 1377678400, 1377678417, 1377678413, 1377678407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65412163734436 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:43:47.680552
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/43/image_17082025_17_43_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/17/43/image_17082025_17_43_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/17/43/image_17082025_17_43_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/17/43/image_17082025_17_43_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/17/42/image_17082025_17_43_04_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/17/42/image_17082025_17_42_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/43/image_17082025_17_43_44_9641.jpg', '/home/nano/Desktop/images/17082025/17/43/image_17082025_17_43_34_10649.jpg', '/home/nano/Desktop/images/17082025/17/43/image_17082025_17_43_24_9640.jpg', '/home/nano/Desktop/images/17082025/17/43/image_17082025_17_43_14_9662.jpg', '/home/nano/Desktop/images/17082025/17/42/image_17082025_17_43_04_10670.jpg', '/home/nano/Desktop/images/17082025/17/42/image_17082025_17_42_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/43/image_17082025_17_43_44_9641.jpg
/home/nano/Desktop/images/17082025/17/43/image_17082025_17_43_34_10649.jpg
/home/nano/Desktop/images/17082025/17/43/image_17082025_17_43_24_9640.jpg
/home/nano/Desktop/images/17082025/17/43/image_17082025_17_43_14_9662.jpg
/home/nano/Desktop/images/17082025/17/42/image_17082025_17_43_04_10670.jpg
/home/nano/Desktop/images/17082025/17/42/image_17082025_17_42_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678424","1377678421","1377678432","1377678420","1377678422","1377678419"],"photo_ids_order":["1377678419","1377678420","1377678421","1377678422","1377678424","1377678432"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c7aa1577bd88f33801ab38d8d8592d43.jpg","text":"TemporaryFile(/tmp/multipartBody6012226328939799230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445489402,"filename":"image_17082025_17_43_04_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/53e0254cfe474a469c35a6106a5ea341.jpg","text":"TemporaryFile(/tmp/multipartBody8893718868828822709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445489402,"filename":"image_17082025_17_43_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ac2d02ca36b23ed6a9da5dad7e3ea993.jpg","text":"TemporaryFile(/tmp/multipartBody1642513745756472177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445489402,"filename":"image_17082025_17_42_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5523a54c985bf95609f0768eab39bba3.jpg","text":"TemporaryFile(/tmp/multipartBody7439634896995217680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445489402,"filename":"image_17082025_17_43_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f429a4981df03650ae5ead2c2d790a83.jpg","text":"TemporaryFile(/tmp/multipartBody3857657458348250813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445489402,"filename":"image_17082025_17_43_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e2d2942aeccbd56788c31ae1853ab590.jpg","text":"TemporaryFile(/tmp/multipartBody830434655448383379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445489402,"filename":"image_17082025_17_43_44_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678421","file1":"1377678420","file0":"1377678419","file4":"1377678424","file5":"1377678432","file3":"1377678422"},"map_files_photo_id_array":[{"photo_id":"1377678432","filename":"file5"},{"photo_id":"1377678421","filename":"file2"},{"photo_id":"1377678424","filename":"file4"},{"photo_id":"1377678420","filename":"file1"},{"photo_id":"1377678419","filename":"file0"},{"photo_id":"1377678422","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678424":["hashtag1","hashtag2"]},{"1377678421":["hashtag1","hashtag2"]},{"1377678432":["hashtag1","hashtag2"]},{"1377678420":["hashtag1","hashtag2"]},{"1377678422":["hashtag1","hashtag2"]},{"1377678419":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678424, 1377678421, 1377678432, 1377678420, 1377678422, 1377678419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83486032485962 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:44:31.778085
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/44/image_17082025_17_44_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/44/image_17082025_17_44_34_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/17/44/image_17082025_17_44_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/44/image_17082025_17_44_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/17/43/image_17082025_17_44_04_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/17/43/image_17082025_17_43_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/44/image_17082025_17_44_44_9638.jpg', '/home/nano/Desktop/images/17082025/17/44/image_17082025_17_44_34_10653.jpg', '/home/nano/Desktop/images/17082025/17/44/image_17082025_17_44_24_9639.jpg', '/home/nano/Desktop/images/17082025/17/44/image_17082025_17_44_14_9662.jpg', '/home/nano/Desktop/images/17082025/17/43/image_17082025_17_44_04_10669.jpg', '/home/nano/Desktop/images/17082025/17/43/image_17082025_17_43_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/44/image_17082025_17_44_44_9638.jpg
/home/nano/Desktop/images/17082025/17/44/image_17082025_17_44_34_10653.jpg
/home/nano/Desktop/images/17082025/17/44/image_17082025_17_44_24_9639.jpg
/home/nano/Desktop/images/17082025/17/44/image_17082025_17_44_14_9662.jpg
/home/nano/Desktop/images/17082025/17/43/image_17082025_17_44_04_10669.jpg
/home/nano/Desktop/images/17082025/17/43/image_17082025_17_43_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678442","1377678451","1377678448","1377678450","1377678444","1377678446"],"photo_ids_order":["1377678442","1377678444","1377678446","1377678448","1377678450","1377678451"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7f862533eb400d9c8c6166e608739a6e.jpg","text":"TemporaryFile(/tmp/multipartBody8515338677386285354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445533704,"filename":"image_17082025_17_44_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a0de0fde0314b79e0052e63aa6dc46d4.jpg","text":"TemporaryFile(/tmp/multipartBody795532188428783888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445533704,"filename":"image_17082025_17_43_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3d7f40956d9efe49a2e1fe538722da3c.jpg","text":"TemporaryFile(/tmp/multipartBody1782855961486984376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445533704,"filename":"image_17082025_17_44_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9819069a57f3bf48cfc543d0117d57f6.jpg","text":"TemporaryFile(/tmp/multipartBody4186475384774777181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445533704,"filename":"image_17082025_17_44_04_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9af5c336d65b2d9f2e0aec11262772c9.jpg","text":"TemporaryFile(/tmp/multipartBody7319570320347575740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445533704,"filename":"image_17082025_17_44_34_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4a6c07f17b05eebcf71ca5bfd978dbf0.jpg","text":"TemporaryFile(/tmp/multipartBody2009855573008264526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445533704,"filename":"image_17082025_17_44_24_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678446","file1":"1377678444","file0":"1377678442","file4":"1377678450","file5":"1377678451","file3":"1377678448"},"map_files_photo_id_array":[{"photo_id":"1377678451","filename":"file5"},{"photo_id":"1377678446","filename":"file2"},{"photo_id":"1377678450","filename":"file4"},{"photo_id":"1377678444","filename":"file1"},{"photo_id":"1377678442","filename":"file0"},{"photo_id":"1377678448","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678442":["hashtag1","hashtag2"]},{"1377678451":["hashtag1","hashtag2"]},{"1377678448":["hashtag1","hashtag2"]},{"1377678450":["hashtag1","hashtag2"]},{"1377678444":["hashtag1","hashtag2"]},{"1377678446":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678442, 1377678451, 1377678448, 1377678450, 1377678444, 1377678446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.845698595047 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:45:16.899662
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/45/image_17082025_17_45_44_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/17/45/image_17082025_17_45_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/17/45/image_17082025_17_45_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/17/45/image_17082025_17_45_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/17/44/image_17082025_17_45_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/17/44/image_17082025_17_44_55_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/45/image_17082025_17_45_44_9656.jpg', '/home/nano/Desktop/images/17082025/17/45/image_17082025_17_45_34_9642.jpg', '/home/nano/Desktop/images/17082025/17/45/image_17082025_17_45_24_10650.jpg', '/home/nano/Desktop/images/17082025/17/45/image_17082025_17_45_14_9662.jpg', '/home/nano/Desktop/images/17082025/17/44/image_17082025_17_45_04_9641.jpg', '/home/nano/Desktop/images/17082025/17/44/image_17082025_17_44_55_10646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/45/image_17082025_17_45_44_9656.jpg
/home/nano/Desktop/images/17082025/17/45/image_17082025_17_45_34_9642.jpg
/home/nano/Desktop/images/17082025/17/45/image_17082025_17_45_24_10650.jpg
/home/nano/Desktop/images/17082025/17/45/image_17082025_17_45_14_9662.jpg
/home/nano/Desktop/images/17082025/17/44/image_17082025_17_45_04_9641.jpg
/home/nano/Desktop/images/17082025/17/44/image_17082025_17_44_55_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678672","1377678549","1377678642","1377678581","1377678611","1377678518"],"photo_ids_order":["1377678518","1377678549","1377678581","1377678611","1377678642","1377678672"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0963fcc0330eb715bc75570fda615a1d.jpg","text":"TemporaryFile(/tmp/multipartBody8231172454205221751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445578619,"filename":"image_17082025_17_44_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9b994233762475ca9a6b9efe2470f399.jpg","text":"TemporaryFile(/tmp/multipartBody619669749143216254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445578619,"filename":"image_17082025_17_45_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4f9df509e2de6648e4d00b6d87205337.jpg","text":"TemporaryFile(/tmp/multipartBody6202200505303624444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445578619,"filename":"image_17082025_17_45_04_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bab110f29d0c1d0190c0cafb0f133590.jpg","text":"TemporaryFile(/tmp/multipartBody971457785730184252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445578619,"filename":"image_17082025_17_45_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7b21a04d3515a20a2abfb023de4668c5.jpg","text":"TemporaryFile(/tmp/multipartBody1872403027446601370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445578619,"filename":"image_17082025_17_45_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aeac50ed296f1e77a2c78ed7d2e1080c.jpg","text":"TemporaryFile(/tmp/multipartBody2219271549725628320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445578619,"filename":"image_17082025_17_45_44_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678581","file1":"1377678549","file0":"1377678518","file4":"1377678642","file5":"1377678672","file3":"1377678611"},"map_files_photo_id_array":[{"photo_id":"1377678672","filename":"file5"},{"photo_id":"1377678581","filename":"file2"},{"photo_id":"1377678642","filename":"file4"},{"photo_id":"1377678549","filename":"file1"},{"photo_id":"1377678518","filename":"file0"},{"photo_id":"1377678611","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678672":["hashtag1","hashtag2"]},{"1377678549":["hashtag1","hashtag2"]},{"1377678642":["hashtag1","hashtag2"]},{"1377678581":["hashtag1","hashtag2"]},{"1377678611":["hashtag1","hashtag2"]},{"1377678518":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678672, 1377678549, 1377678642, 1377678581, 1377678611, 1377678518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7550094127655 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:46:02.505659
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/37/image_17082025_14_38_04_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/37/image_17082025_14_37_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/37/image_17082025_14_37_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/37/image_17082025_14_37_34_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/14/37/image_17082025_14_37_24_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/14/37/image_17082025_14_37_14_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/37/image_17082025_14_38_04_10649.jpg', '/home/nano/Desktop/images/17082025/14/37/image_17082025_14_37_54_9639.jpg', '/home/nano/Desktop/images/17082025/14/37/image_17082025_14_37_44_9638.jpg', '/home/nano/Desktop/images/17082025/14/37/image_17082025_14_37_34_10652.jpg', '/home/nano/Desktop/images/17082025/14/37/image_17082025_14_37_24_9644.jpg', '/home/nano/Desktop/images/17082025/14/37/image_17082025_14_37_14_9659.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/37/image_17082025_14_38_04_10649.jpg
/home/nano/Desktop/images/17082025/14/37/image_17082025_14_37_54_9639.jpg
/home/nano/Desktop/images/17082025/14/37/image_17082025_14_37_44_9638.jpg
/home/nano/Desktop/images/17082025/14/37/image_17082025_14_37_34_10652.jpg
/home/nano/Desktop/images/17082025/14/37/image_17082025_14_37_24_9644.jpg
/home/nano/Desktop/images/17082025/14/37/image_17082025_14_37_14_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678817","1377678814","1377678801","1377678794","1377678812","1377678809"],"photo_ids_order":["1377678794","1377678801","1377678809","1377678812","1377678814","1377678817"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6cf7684a4f64284238483ec5241b8659.jpg","text":"TemporaryFile(/tmp/multipartBody6821734521065326967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445624167,"filename":"image_17082025_14_37_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c2d9f9c54ec18e5de0ab9840f7255088.jpg","text":"TemporaryFile(/tmp/multipartBody5698157919132030727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445624167,"filename":"image_17082025_14_37_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2a7aa99547b5af830373943b7d227052.jpg","text":"TemporaryFile(/tmp/multipartBody1308296943512766465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445624167,"filename":"image_17082025_14_37_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/df04576b9b10f80a8820c7a7ed042df6.jpg","text":"TemporaryFile(/tmp/multipartBody3212748450031628879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445624167,"filename":"image_17082025_14_38_04_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3cfd49213a788f3917b69947f2dcff35.jpg","text":"TemporaryFile(/tmp/multipartBody2547159290633149051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445624167,"filename":"image_17082025_14_37_34_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/74fd86d173759b6fb2664f64f8d9aaf0.jpg","text":"TemporaryFile(/tmp/multipartBody2805519290004857890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445624167,"filename":"image_17082025_14_37_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678809","file1":"1377678801","file0":"1377678794","file4":"1377678814","file5":"1377678817","file3":"1377678812"},"map_files_photo_id_array":[{"photo_id":"1377678817","filename":"file5"},{"photo_id":"1377678809","filename":"file2"},{"photo_id":"1377678814","filename":"file4"},{"photo_id":"1377678801","filename":"file1"},{"photo_id":"1377678794","filename":"file0"},{"photo_id":"1377678812","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678817":["hashtag1","hashtag2"]},{"1377678814":["hashtag1","hashtag2"]},{"1377678801":["hashtag1","hashtag2"]},{"1377678794":["hashtag1","hashtag2"]},{"1377678812":["hashtag1","hashtag2"]},{"1377678809":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678817, 1377678814, 1377678801, 1377678794, 1377678812, 1377678809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.390238761901855 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:46:46.964107
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/46/image_17082025_17_46_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/17/46/image_17082025_17_46_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/17/46/image_17082025_17_46_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/17/46/image_17082025_17_46_14_9665.jpg', 2), ('/home/nano/Desktop/images/17082025/17/45/image_17082025_17_46_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/17/45/image_17082025_17_45_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/46/image_17082025_17_46_44_9640.jpg', '/home/nano/Desktop/images/17082025/17/46/image_17082025_17_46_34_9636.jpg', '/home/nano/Desktop/images/17082025/17/46/image_17082025_17_46_24_10666.jpg', '/home/nano/Desktop/images/17082025/17/46/image_17082025_17_46_14_9665.jpg', '/home/nano/Desktop/images/17082025/17/45/image_17082025_17_46_04_9647.jpg', '/home/nano/Desktop/images/17082025/17/45/image_17082025_17_45_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/46/image_17082025_17_46_44_9640.jpg
/home/nano/Desktop/images/17082025/17/46/image_17082025_17_46_34_9636.jpg
/home/nano/Desktop/images/17082025/17/46/image_17082025_17_46_24_10666.jpg
/home/nano/Desktop/images/17082025/17/46/image_17082025_17_46_14_9665.jpg
/home/nano/Desktop/images/17082025/17/45/image_17082025_17_46_04_9647.jpg
/home/nano/Desktop/images/17082025/17/45/image_17082025_17_45_54_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678829","1377678823","1377678826","1377678828","1377678836","1377678827"],"photo_ids_order":["1377678823","1377678826","1377678827","1377678828","1377678829","1377678836"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f774061674479019e6173bef0e29c198.jpg","text":"TemporaryFile(/tmp/multipartBody6003223255054581109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445668751,"filename":"image_17082025_17_46_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c150e7836ebe4a5ddbbe0dbce805a089.jpg","text":"TemporaryFile(/tmp/multipartBody4075209762254678999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445668751,"filename":"image_17082025_17_46_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/41289bafeb7b2c0f1d63cb624d335b8c.jpg","text":"TemporaryFile(/tmp/multipartBody5796129624390582130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445668751,"filename":"image_17082025_17_46_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/12f38e78954edaf535a2e7a3743f11f3.jpg","text":"TemporaryFile(/tmp/multipartBody8877597579113267035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445668751,"filename":"image_17082025_17_46_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7e6283502abdda4024ab110dea5e2bc3.jpg","text":"TemporaryFile(/tmp/multipartBody1262828407957952647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445668751,"filename":"image_17082025_17_45_54_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/323949c71b58a113baf87497e47ac09b.jpg","text":"TemporaryFile(/tmp/multipartBody2198838160180971266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445668751,"filename":"image_17082025_17_46_24_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678827","file1":"1377678826","file0":"1377678823","file4":"1377678829","file5":"1377678836","file3":"1377678828"},"map_files_photo_id_array":[{"photo_id":"1377678836","filename":"file5"},{"photo_id":"1377678827","filename":"file2"},{"photo_id":"1377678829","filename":"file4"},{"photo_id":"1377678826","filename":"file1"},{"photo_id":"1377678823","filename":"file0"},{"photo_id":"1377678828","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678829":["hashtag1","hashtag2"]},{"1377678823":["hashtag1","hashtag2"]},{"1377678826":["hashtag1","hashtag2"]},{"1377678828":["hashtag1","hashtag2"]},{"1377678836":["hashtag1","hashtag2"]},{"1377678827":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678829, 1377678823, 1377678826, 1377678828, 1377678836, 1377678827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.336050510406494 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:47:32.170746
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/47/image_17082025_17_47_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/17/47/image_17082025_17_47_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/47/image_17082025_17_47_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/17/47/image_17082025_17_47_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/17/46/image_17082025_17_47_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/17/46/image_17082025_17_46_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/47/image_17082025_17_47_44_9637.jpg', '/home/nano/Desktop/images/17082025/17/47/image_17082025_17_47_34_9638.jpg', '/home/nano/Desktop/images/17082025/17/47/image_17082025_17_47_24_10648.jpg', '/home/nano/Desktop/images/17082025/17/47/image_17082025_17_47_14_9657.jpg', '/home/nano/Desktop/images/17082025/17/46/image_17082025_17_47_04_9654.jpg', '/home/nano/Desktop/images/17082025/17/46/image_17082025_17_46_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/47/image_17082025_17_47_44_9637.jpg
/home/nano/Desktop/images/17082025/17/47/image_17082025_17_47_34_9638.jpg
/home/nano/Desktop/images/17082025/17/47/image_17082025_17_47_24_10648.jpg
/home/nano/Desktop/images/17082025/17/47/image_17082025_17_47_14_9657.jpg
/home/nano/Desktop/images/17082025/17/46/image_17082025_17_47_04_9654.jpg
/home/nano/Desktop/images/17082025/17/46/image_17082025_17_46_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678847","1377678841","1377678850","1377678843","1377678849","1377678845"],"photo_ids_order":["1377678841","1377678843","1377678845","1377678847","1377678849","1377678850"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/52d0083d8b380657a8151ff7fff4ae8c.jpg","text":"TemporaryFile(/tmp/multipartBody4030874326968024677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445713957,"filename":"image_17082025_17_47_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c3a7acb38fefa78ac59e1afb23b9eb0d.jpg","text":"TemporaryFile(/tmp/multipartBody1828273258237292239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445713957,"filename":"image_17082025_17_47_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f6bbd222ffb19341f861e0757b5ad7c3.jpg","text":"TemporaryFile(/tmp/multipartBody6550624678022839553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445713957,"filename":"image_17082025_17_46_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4128c085098488b081586a623d2808b3.jpg","text":"TemporaryFile(/tmp/multipartBody3529477679650258127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445713957,"filename":"image_17082025_17_47_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a36549f53ed89948e13c43321d1b2e41.jpg","text":"TemporaryFile(/tmp/multipartBody1897511611466382919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445713957,"filename":"image_17082025_17_47_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bfe8fda9e8ef8094a656ebb2208dd36d.jpg","text":"TemporaryFile(/tmp/multipartBody8136581315871409198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445713957,"filename":"image_17082025_17_47_24_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678845","file1":"1377678843","file0":"1377678841","file4":"1377678849","file5":"1377678850","file3":"1377678847"},"map_files_photo_id_array":[{"photo_id":"1377678850","filename":"file5"},{"photo_id":"1377678845","filename":"file2"},{"photo_id":"1377678849","filename":"file4"},{"photo_id":"1377678843","filename":"file1"},{"photo_id":"1377678841","filename":"file0"},{"photo_id":"1377678847","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678847":["hashtag1","hashtag2"]},{"1377678841":["hashtag1","hashtag2"]},{"1377678850":["hashtag1","hashtag2"]},{"1377678843":["hashtag1","hashtag2"]},{"1377678849":["hashtag1","hashtag2"]},{"1377678845":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678847, 1377678841, 1377678850, 1377678843, 1377678849, 1377678845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.669018030166626 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:48:17.140405
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/48/image_17082025_17_48_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/17/48/image_17082025_17_48_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/48/image_17082025_17_48_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/48/image_17082025_17_48_15_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/17/47/image_17082025_17_48_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/17/47/image_17082025_17_47_54_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/48/image_17082025_17_48_44_10647.jpg', '/home/nano/Desktop/images/17082025/17/48/image_17082025_17_48_34_9638.jpg', '/home/nano/Desktop/images/17082025/17/48/image_17082025_17_48_24_9639.jpg', '/home/nano/Desktop/images/17082025/17/48/image_17082025_17_48_15_10667.jpg', '/home/nano/Desktop/images/17082025/17/47/image_17082025_17_48_04_9645.jpg', '/home/nano/Desktop/images/17082025/17/47/image_17082025_17_47_54_10646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/48/image_17082025_17_48_44_10647.jpg
/home/nano/Desktop/images/17082025/17/48/image_17082025_17_48_34_9638.jpg
/home/nano/Desktop/images/17082025/17/48/image_17082025_17_48_24_9639.jpg
/home/nano/Desktop/images/17082025/17/48/image_17082025_17_48_15_10667.jpg
/home/nano/Desktop/images/17082025/17/47/image_17082025_17_48_04_9645.jpg
/home/nano/Desktop/images/17082025/17/47/image_17082025_17_47_54_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678862","1377678876","1377678870","1377678873","1377678867","1377678869"],"photo_ids_order":["1377678862","1377678867","1377678869","1377678870","1377678873","1377678876"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/33f8da9e8c5ed407f77fc87f0e350f81.jpg","text":"TemporaryFile(/tmp/multipartBody2937964620399632292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445759140,"filename":"image_17082025_17_48_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/99fb891a933e02640f85c4afecf7198a.jpg","text":"TemporaryFile(/tmp/multipartBody5097754042502860360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445759140,"filename":"image_17082025_17_47_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/85aa354282e9e5be016a874ad7dac55e.jpg","text":"TemporaryFile(/tmp/multipartBody6048616068203104450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445759140,"filename":"image_17082025_17_48_15_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e09fe743508ad827122f67479a4affe7.jpg","text":"TemporaryFile(/tmp/multipartBody5367307549880935302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445759140,"filename":"image_17082025_17_48_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f77f5b4661080551ff8bfedc889427c5.jpg","text":"TemporaryFile(/tmp/multipartBody9146726644259500619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445759140,"filename":"image_17082025_17_48_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/abe0a06ba12744198752d3762346ecd6.jpg","text":"TemporaryFile(/tmp/multipartBody3230250992025237498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445759140,"filename":"image_17082025_17_48_24_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678869","file1":"1377678867","file0":"1377678862","file4":"1377678873","file5":"1377678876","file3":"1377678870"},"map_files_photo_id_array":[{"photo_id":"1377678876","filename":"file5"},{"photo_id":"1377678869","filename":"file2"},{"photo_id":"1377678873","filename":"file4"},{"photo_id":"1377678867","filename":"file1"},{"photo_id":"1377678862","filename":"file0"},{"photo_id":"1377678870","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678862":["hashtag1","hashtag2"]},{"1377678876":["hashtag1","hashtag2"]},{"1377678870":["hashtag1","hashtag2"]},{"1377678873":["hashtag1","hashtag2"]},{"1377678867":["hashtag1","hashtag2"]},{"1377678869":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678862, 1377678876, 1377678870, 1377678873, 1377678867, 1377678869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81322479248047 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:49:03.249378
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/36/image_17082025_14_37_04_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/14/36/image_17082025_14_36_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/36/image_17082025_14_36_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/36/image_17082025_14_36_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/36/image_17082025_14_36_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/14/36/image_17082025_14_36_14_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/36/image_17082025_14_37_04_10657.jpg', '/home/nano/Desktop/images/17082025/14/36/image_17082025_14_36_54_9639.jpg', '/home/nano/Desktop/images/17082025/14/36/image_17082025_14_36_44_9640.jpg', '/home/nano/Desktop/images/17082025/14/36/image_17082025_14_36_34_10647.jpg', '/home/nano/Desktop/images/17082025/14/36/image_17082025_14_36_24_9641.jpg', '/home/nano/Desktop/images/17082025/14/36/image_17082025_14_36_14_9650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/36/image_17082025_14_37_04_10657.jpg
/home/nano/Desktop/images/17082025/14/36/image_17082025_14_36_54_9639.jpg
/home/nano/Desktop/images/17082025/14/36/image_17082025_14_36_44_9640.jpg
/home/nano/Desktop/images/17082025/14/36/image_17082025_14_36_34_10647.jpg
/home/nano/Desktop/images/17082025/14/36/image_17082025_14_36_24_9641.jpg
/home/nano/Desktop/images/17082025/14/36/image_17082025_14_36_14_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678889","1377678880","1377678888","1377678891","1377678881","1377678892"],"photo_ids_order":["1377678880","1377678881","1377678888","1377678889","1377678891","1377678892"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cba54c6db908f26c5c3f32c5c5a1a6a9.jpg","text":"TemporaryFile(/tmp/multipartBody8375139698119601742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445804841,"filename":"image_17082025_14_36_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2c7efa31c3e80f26de89e2db2940e999.jpg","text":"TemporaryFile(/tmp/multipartBody587980997462992063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445804841,"filename":"image_17082025_14_37_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/10f9dab301c2777bbfedfb25c1be2279.jpg","text":"TemporaryFile(/tmp/multipartBody1354241986384676616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445804841,"filename":"image_17082025_14_36_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bbfc8d34532dadaea122f771e9aa193f.jpg","text":"TemporaryFile(/tmp/multipartBody6791808244434626827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445804841,"filename":"image_17082025_14_36_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a38f074975669cbc775f893a253970cb.jpg","text":"TemporaryFile(/tmp/multipartBody4960472939378561468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445804841,"filename":"image_17082025_14_36_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/91ca5e218cd4cb7ef52377a6197bc589.jpg","text":"TemporaryFile(/tmp/multipartBody2119284029560554707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445804841,"filename":"image_17082025_14_36_14_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678888","file1":"1377678881","file0":"1377678880","file4":"1377678891","file5":"1377678892","file3":"1377678889"},"map_files_photo_id_array":[{"photo_id":"1377678892","filename":"file5"},{"photo_id":"1377678888","filename":"file2"},{"photo_id":"1377678891","filename":"file4"},{"photo_id":"1377678881","filename":"file1"},{"photo_id":"1377678880","filename":"file0"},{"photo_id":"1377678889","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678889":["hashtag1","hashtag2"]},{"1377678880":["hashtag1","hashtag2"]},{"1377678888":["hashtag1","hashtag2"]},{"1377678891":["hashtag1","hashtag2"]},{"1377678881":["hashtag1","hashtag2"]},{"1377678892":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678889, 1377678880, 1377678888, 1377678891, 1377678881, 1377678892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82998299598694 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:49:47.278433
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/49/image_17082025_17_49_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/17/49/image_17082025_17_49_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/17/49/image_17082025_17_49_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/17/49/image_17082025_17_49_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/17/48/image_17082025_17_49_04_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/17/48/image_17082025_17_48_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/49/image_17082025_17_49_44_10651.jpg', '/home/nano/Desktop/images/17082025/17/49/image_17082025_17_49_34_9641.jpg', '/home/nano/Desktop/images/17082025/17/49/image_17082025_17_49_24_9643.jpg', '/home/nano/Desktop/images/17082025/17/49/image_17082025_17_49_14_10669.jpg', '/home/nano/Desktop/images/17082025/17/48/image_17082025_17_49_04_9637.jpg', '/home/nano/Desktop/images/17082025/17/48/image_17082025_17_48_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/49/image_17082025_17_49_44_10651.jpg
/home/nano/Desktop/images/17082025/17/49/image_17082025_17_49_34_9641.jpg
/home/nano/Desktop/images/17082025/17/49/image_17082025_17_49_24_9643.jpg
/home/nano/Desktop/images/17082025/17/49/image_17082025_17_49_14_10669.jpg
/home/nano/Desktop/images/17082025/17/48/image_17082025_17_49_04_9637.jpg
/home/nano/Desktop/images/17082025/17/48/image_17082025_17_48_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678901","1377678907","1377678903","1377678911","1377678898","1377678902"],"photo_ids_order":["1377678898","1377678901","1377678902","1377678903","1377678907","1377678911"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c291fe837105e2c636dd5f25e517cd23.jpg","text":"TemporaryFile(/tmp/multipartBody7565000540993408989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445848974,"filename":"image_17082025_17_49_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0ed9b9bbd0e0414b5d2305a21b30417e.jpg","text":"TemporaryFile(/tmp/multipartBody7328320023284893167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445848974,"filename":"image_17082025_17_49_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3af4988422ae927cf33dc2aed85cec3a.jpg","text":"TemporaryFile(/tmp/multipartBody5624783753506932837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445848974,"filename":"image_17082025_17_49_14_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/acd3b3c1b46fced39333294e121d5aa1.jpg","text":"TemporaryFile(/tmp/multipartBody6595365483350890921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445848974,"filename":"image_17082025_17_48_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8273a252107ac93fec00936520c001a7.jpg","text":"TemporaryFile(/tmp/multipartBody6452193420587479650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445848974,"filename":"image_17082025_17_49_44_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a0bef4cc884bacf87181beb87b7a83d1.jpg","text":"TemporaryFile(/tmp/multipartBody2938586814265186824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445848974,"filename":"image_17082025_17_49_24_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678902","file1":"1377678901","file0":"1377678898","file4":"1377678907","file5":"1377678911","file3":"1377678903"},"map_files_photo_id_array":[{"photo_id":"1377678911","filename":"file5"},{"photo_id":"1377678902","filename":"file2"},{"photo_id":"1377678907","filename":"file4"},{"photo_id":"1377678901","filename":"file1"},{"photo_id":"1377678898","filename":"file0"},{"photo_id":"1377678903","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678901":["hashtag1","hashtag2"]},{"1377678907":["hashtag1","hashtag2"]},{"1377678903":["hashtag1","hashtag2"]},{"1377678911":["hashtag1","hashtag2"]},{"1377678898":["hashtag1","hashtag2"]},{"1377678902":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678901, 1377678907, 1377678903, 1377678911, 1377678898, 1377678902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91173028945923 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:50:32.416418
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/50/image_17082025_17_50_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/17/50/image_17082025_17_50_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/50/image_17082025_17_50_24_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/17/50/image_17082025_17_50_14_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/17/49/image_17082025_17_50_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/17/49/image_17082025_17_49_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/50/image_17082025_17_50_44_10651.jpg', '/home/nano/Desktop/images/17082025/17/50/image_17082025_17_50_34_9638.jpg', '/home/nano/Desktop/images/17082025/17/50/image_17082025_17_50_24_9644.jpg', '/home/nano/Desktop/images/17082025/17/50/image_17082025_17_50_14_10670.jpg', '/home/nano/Desktop/images/17082025/17/49/image_17082025_17_50_04_9661.jpg', '/home/nano/Desktop/images/17082025/17/49/image_17082025_17_49_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/50/image_17082025_17_50_44_10651.jpg
/home/nano/Desktop/images/17082025/17/50/image_17082025_17_50_34_9638.jpg
/home/nano/Desktop/images/17082025/17/50/image_17082025_17_50_24_9644.jpg
/home/nano/Desktop/images/17082025/17/50/image_17082025_17_50_14_10670.jpg
/home/nano/Desktop/images/17082025/17/49/image_17082025_17_50_04_9661.jpg
/home/nano/Desktop/images/17082025/17/49/image_17082025_17_49_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678925","1377678919","1377678921","1377678923","1377678917","1377678926"],"photo_ids_order":["1377678917","1377678919","1377678921","1377678923","1377678925","1377678926"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c7b12f0563e9d38db6fc2485e62af91b.jpg","text":"TemporaryFile(/tmp/multipartBody6160166715472923727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445894337,"filename":"image_17082025_17_50_04_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5c4e04805f8880d680492f954de39d51.jpg","text":"TemporaryFile(/tmp/multipartBody8958405730852249467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445894337,"filename":"image_17082025_17_50_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c84a445a5398bc9bc7ac2a33927a64a6.jpg","text":"TemporaryFile(/tmp/multipartBody7887547926792813935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445894337,"filename":"image_17082025_17_50_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a8bf839625079e42bf522174e7d0884a.jpg","text":"TemporaryFile(/tmp/multipartBody7217908601308759273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445894337,"filename":"image_17082025_17_50_14_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/962a8538a126926e7282e7cdf6c6499c.jpg","text":"TemporaryFile(/tmp/multipartBody4753547213863207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445894337,"filename":"image_17082025_17_50_44_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/420d6ed723298ca12ba26f3cd495d0b8.jpg","text":"TemporaryFile(/tmp/multipartBody1732044650281444523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445894337,"filename":"image_17082025_17_49_54_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678921","file1":"1377678919","file0":"1377678917","file4":"1377678925","file5":"1377678926","file3":"1377678923"},"map_files_photo_id_array":[{"photo_id":"1377678926","filename":"file5"},{"photo_id":"1377678921","filename":"file2"},{"photo_id":"1377678925","filename":"file4"},{"photo_id":"1377678919","filename":"file1"},{"photo_id":"1377678917","filename":"file0"},{"photo_id":"1377678923","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678925":["hashtag1","hashtag2"]},{"1377678919":["hashtag1","hashtag2"]},{"1377678921":["hashtag1","hashtag2"]},{"1377678923":["hashtag1","hashtag2"]},{"1377678917":["hashtag1","hashtag2"]},{"1377678926":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678925, 1377678919, 1377678921, 1377678923, 1377678917, 1377678926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.91774225234985 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:51:17.474861
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/51/image_17082025_17_51_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/51/image_17082025_17_51_34_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/17/51/image_17082025_17_51_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/17/51/image_17082025_17_51_14_9668.jpg', 2), ('/home/nano/Desktop/images/17082025/17/50/image_17082025_17_51_05_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/17/50/image_17082025_17_50_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/51/image_17082025_17_51_44_9638.jpg', '/home/nano/Desktop/images/17082025/17/51/image_17082025_17_51_34_10651.jpg', '/home/nano/Desktop/images/17082025/17/51/image_17082025_17_51_24_9642.jpg', '/home/nano/Desktop/images/17082025/17/51/image_17082025_17_51_14_9668.jpg', '/home/nano/Desktop/images/17082025/17/50/image_17082025_17_51_05_10662.jpg', '/home/nano/Desktop/images/17082025/17/50/image_17082025_17_50_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/51/image_17082025_17_51_44_9638.jpg
/home/nano/Desktop/images/17082025/17/51/image_17082025_17_51_34_10651.jpg
/home/nano/Desktop/images/17082025/17/51/image_17082025_17_51_24_9642.jpg
/home/nano/Desktop/images/17082025/17/51/image_17082025_17_51_14_9668.jpg
/home/nano/Desktop/images/17082025/17/50/image_17082025_17_51_05_10662.jpg
/home/nano/Desktop/images/17082025/17/50/image_17082025_17_50_54_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678933","1377678936","1377678941","1377678935","1377678944","1377678938"],"photo_ids_order":["1377678933","1377678935","1377678936","1377678938","1377678941","1377678944"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/501be9d55198ce07562cd558430dd33b.jpg","text":"TemporaryFile(/tmp/multipartBody7037895288859877485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445939286,"filename":"image_17082025_17_51_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0a884c732f59f7632d04be2048fe055d.jpg","text":"TemporaryFile(/tmp/multipartBody8485485535141434825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445939286,"filename":"image_17082025_17_51_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6d7e2f5a4e494e905cdfbd1bc84c3df1.jpg","text":"TemporaryFile(/tmp/multipartBody3089797268366914033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445939286,"filename":"image_17082025_17_51_05_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f1d1c46f4dc6af3f87fc73c194721469.jpg","text":"TemporaryFile(/tmp/multipartBody326189734078364978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445939286,"filename":"image_17082025_17_51_34_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f179ac78d67865ed2ac2737bed46acd8.jpg","text":"TemporaryFile(/tmp/multipartBody531439734500201588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445939286,"filename":"image_17082025_17_50_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a0b3393b26efc0e1b29590c53b99cf9c.jpg","text":"TemporaryFile(/tmp/multipartBody5970688062322176326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445939286,"filename":"image_17082025_17_51_14_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678936","file1":"1377678935","file0":"1377678933","file4":"1377678941","file5":"1377678944","file3":"1377678938"},"map_files_photo_id_array":[{"photo_id":"1377678944","filename":"file5"},{"photo_id":"1377678936","filename":"file2"},{"photo_id":"1377678941","filename":"file4"},{"photo_id":"1377678935","filename":"file1"},{"photo_id":"1377678933","filename":"file0"},{"photo_id":"1377678938","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678933":["hashtag1","hashtag2"]},{"1377678936":["hashtag1","hashtag2"]},{"1377678941":["hashtag1","hashtag2"]},{"1377678935":["hashtag1","hashtag2"]},{"1377678944":["hashtag1","hashtag2"]},{"1377678938":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678933, 1377678936, 1377678941, 1377678935, 1377678944, 1377678938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.312705755233765 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:52:03.090116
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/35/image_17082025_14_36_05_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/14/35/image_17082025_14_35_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/14/35/image_17082025_14_35_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/35/image_17082025_14_35_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/35/image_17082025_14_35_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/14/35/image_17082025_14_35_14_10680.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/35/image_17082025_14_36_05_10664.jpg', '/home/nano/Desktop/images/17082025/14/35/image_17082025_14_35_54_9641.jpg', '/home/nano/Desktop/images/17082025/14/35/image_17082025_14_35_44_10649.jpg', '/home/nano/Desktop/images/17082025/14/35/image_17082025_14_35_34_9638.jpg', '/home/nano/Desktop/images/17082025/14/35/image_17082025_14_35_24_9643.jpg', '/home/nano/Desktop/images/17082025/14/35/image_17082025_14_35_14_10680.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/35/image_17082025_14_36_05_10664.jpg
/home/nano/Desktop/images/17082025/14/35/image_17082025_14_35_54_9641.jpg
/home/nano/Desktop/images/17082025/14/35/image_17082025_14_35_44_10649.jpg
/home/nano/Desktop/images/17082025/14/35/image_17082025_14_35_34_9638.jpg
/home/nano/Desktop/images/17082025/14/35/image_17082025_14_35_24_9643.jpg
/home/nano/Desktop/images/17082025/14/35/image_17082025_14_35_14_10680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678960","1377678957","1377678948","1377678962","1377678956","1377678958"],"photo_ids_order":["1377678948","1377678956","1377678957","1377678958","1377678960","1377678962"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/08ff932752da451b37acc4f76036424a.jpg","text":"TemporaryFile(/tmp/multipartBody5968398686287264756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445984949,"filename":"image_17082025_14_35_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cb1a239ccb6c76b1b852965889422ae0.jpg","text":"TemporaryFile(/tmp/multipartBody8919394407075455801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445984949,"filename":"image_17082025_14_35_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cd3093da62c155e105df69f523e0d96a.jpg","text":"TemporaryFile(/tmp/multipartBody8182701177294781238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445984949,"filename":"image_17082025_14_36_05_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0dd99dd05e0a8061386ee3920382b9b8.jpg","text":"TemporaryFile(/tmp/multipartBody2721428764926816036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445984949,"filename":"image_17082025_14_35_14_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/911156fca2a0daf81aadca6328ba2a73.jpg","text":"TemporaryFile(/tmp/multipartBody4800896420957582819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445984949,"filename":"image_17082025_14_35_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9e3877d53849a2ad5e7f39925c27afeb.jpg","text":"TemporaryFile(/tmp/multipartBody4293758399491440241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755445984949,"filename":"image_17082025_14_35_34_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678957","file1":"1377678956","file0":"1377678948","file4":"1377678960","file5":"1377678962","file3":"1377678958"},"map_files_photo_id_array":[{"photo_id":"1377678962","filename":"file5"},{"photo_id":"1377678957","filename":"file2"},{"photo_id":"1377678960","filename":"file4"},{"photo_id":"1377678956","filename":"file1"},{"photo_id":"1377678948","filename":"file0"},{"photo_id":"1377678958","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678960":["hashtag1","hashtag2"]},{"1377678957":["hashtag1","hashtag2"]},{"1377678948":["hashtag1","hashtag2"]},{"1377678962":["hashtag1","hashtag2"]},{"1377678956":["hashtag1","hashtag2"]},{"1377678958":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678960, 1377678957, 1377678948, 1377678962, 1377678956, 1377678958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79044198989868 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:52:47.628617
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/52/image_17082025_17_52_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/17/52/image_17082025_17_52_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/17/52/image_17082025_17_52_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/17/52/image_17082025_17_52_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/17/51/image_17082025_17_52_04_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/17/51/image_17082025_17_51_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/52/image_17082025_17_52_44_9642.jpg', '/home/nano/Desktop/images/17082025/17/52/image_17082025_17_52_34_10649.jpg', '/home/nano/Desktop/images/17082025/17/52/image_17082025_17_52_24_9643.jpg', '/home/nano/Desktop/images/17082025/17/52/image_17082025_17_52_14_9658.jpg', '/home/nano/Desktop/images/17082025/17/51/image_17082025_17_52_04_10653.jpg', '/home/nano/Desktop/images/17082025/17/51/image_17082025_17_51_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/52/image_17082025_17_52_44_9642.jpg
/home/nano/Desktop/images/17082025/17/52/image_17082025_17_52_34_10649.jpg
/home/nano/Desktop/images/17082025/17/52/image_17082025_17_52_24_9643.jpg
/home/nano/Desktop/images/17082025/17/52/image_17082025_17_52_14_9658.jpg
/home/nano/Desktop/images/17082025/17/51/image_17082025_17_52_04_10653.jpg
/home/nano/Desktop/images/17082025/17/51/image_17082025_17_51_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678973","1377678969","1377678966","1377678971","1377678980","1377678968"],"photo_ids_order":["1377678966","1377678968","1377678969","1377678971","1377678973","1377678980"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7b270e33b3d36c134156378500c910b4.jpg","text":"TemporaryFile(/tmp/multipartBody1173401482233759686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446029381,"filename":"image_17082025_17_52_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/23c869a9964b5750c7f413664a1291b8.jpg","text":"TemporaryFile(/tmp/multipartBody3953091379881935196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446029381,"filename":"image_17082025_17_52_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4afc1214088e9c6f69d013c8acd60880.jpg","text":"TemporaryFile(/tmp/multipartBody5425209902239199664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446029381,"filename":"image_17082025_17_52_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fbad52b81bb2fa532ef8da6044f5d171.jpg","text":"TemporaryFile(/tmp/multipartBody2382865912642904258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446029381,"filename":"image_17082025_17_52_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b0a53520d4e979fd6deb4d48ec32402b.jpg","text":"TemporaryFile(/tmp/multipartBody3970613737664681091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446029381,"filename":"image_17082025_17_51_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c245b9ffdc897c60faf439a0efb980eb.jpg","text":"TemporaryFile(/tmp/multipartBody5566449649543223524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446029381,"filename":"image_17082025_17_52_34_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678969","file1":"1377678968","file0":"1377678966","file4":"1377678973","file5":"1377678980","file3":"1377678971"},"map_files_photo_id_array":[{"photo_id":"1377678980","filename":"file5"},{"photo_id":"1377678969","filename":"file2"},{"photo_id":"1377678973","filename":"file4"},{"photo_id":"1377678968","filename":"file1"},{"photo_id":"1377678966","filename":"file0"},{"photo_id":"1377678971","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678973":["hashtag1","hashtag2"]},{"1377678969":["hashtag1","hashtag2"]},{"1377678966":["hashtag1","hashtag2"]},{"1377678971":["hashtag1","hashtag2"]},{"1377678980":["hashtag1","hashtag2"]},{"1377678968":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678973, 1377678969, 1377678966, 1377678971, 1377678980, 1377678968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.96869444847107 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:53:32.757581
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/53/image_17082025_17_53_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/53/image_17082025_17_53_34_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/17/53/image_17082025_17_53_24_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/17/52/image_17082025_17_53_04_10660.jpg', 2), ('/home/nano/Desktop/images/17082025/17/52/image_17082025_17_52_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/34/image_17082025_14_35_04_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/53/image_17082025_17_53_44_9639.jpg', '/home/nano/Desktop/images/17082025/17/53/image_17082025_17_53_34_10664.jpg', '/home/nano/Desktop/images/17082025/17/53/image_17082025_17_53_24_9659.jpg', '/home/nano/Desktop/images/17082025/17/52/image_17082025_17_53_04_10660.jpg', '/home/nano/Desktop/images/17082025/17/52/image_17082025_17_52_54_9639.jpg', '/home/nano/Desktop/images/17082025/14/34/image_17082025_14_35_04_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/53/image_17082025_17_53_44_9639.jpg
/home/nano/Desktop/images/17082025/17/53/image_17082025_17_53_34_10664.jpg
/home/nano/Desktop/images/17082025/17/53/image_17082025_17_53_24_9659.jpg
/home/nano/Desktop/images/17082025/17/52/image_17082025_17_53_04_10660.jpg
/home/nano/Desktop/images/17082025/17/52/image_17082025_17_52_54_9639.jpg
/home/nano/Desktop/images/17082025/14/34/image_17082025_14_35_04_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377678988","1377678993","1377678990","1377678984","1377678986","1377678995"],"photo_ids_order":["1377678984","1377678986","1377678988","1377678990","1377678993","1377678995"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6fc55b3b5a270904cebe2850dbf33886.jpg","text":"TemporaryFile(/tmp/multipartBody405039449207504265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446074506,"filename":"image_17082025_17_53_24_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/461f42bb8078e7b200e5259cb4a85d36.jpg","text":"TemporaryFile(/tmp/multipartBody6813138853153138081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446074506,"filename":"image_17082025_17_52_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b96cb5effc5eb61612f65a6d56a960da.jpg","text":"TemporaryFile(/tmp/multipartBody8412187841217390942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446074506,"filename":"image_17082025_17_53_04_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/64f1629021c9ce211023d7060b646db5.jpg","text":"TemporaryFile(/tmp/multipartBody8261098973394249999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446074506,"filename":"image_17082025_17_53_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bb99ecd8a843f6e77d6e712b01600252.jpg","text":"TemporaryFile(/tmp/multipartBody6154078119286219458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446074506,"filename":"image_17082025_17_53_34_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/befac603343ca0bd860bd42ccd028b60.jpg","text":"TemporaryFile(/tmp/multipartBody8665193703154071826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446074506,"filename":"image_17082025_14_35_04_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377678988","file1":"1377678986","file0":"1377678984","file4":"1377678993","file5":"1377678995","file3":"1377678990"},"map_files_photo_id_array":[{"photo_id":"1377678995","filename":"file5"},{"photo_id":"1377678988","filename":"file2"},{"photo_id":"1377678993","filename":"file4"},{"photo_id":"1377678986","filename":"file1"},{"photo_id":"1377678984","filename":"file0"},{"photo_id":"1377678990","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377678988":["hashtag1","hashtag2"]},{"1377678993":["hashtag1","hashtag2"]},{"1377678990":["hashtag1","hashtag2"]},{"1377678984":["hashtag1","hashtag2"]},{"1377678986":["hashtag1","hashtag2"]},{"1377678995":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377678988, 1377678993, 1377678990, 1377678984, 1377678986, 1377678995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63894081115723 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:54:16.860374
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/54/image_17082025_17_54_44_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/17/54/image_17082025_17_54_34_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/17/54/image_17082025_17_54_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/17/54/image_17082025_17_54_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/17/53/image_17082025_17_54_04_10676.jpg', 2), ('/home/nano/Desktop/images/17082025/17/53/image_17082025_17_53_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/54/image_17082025_17_54_44_9653.jpg', '/home/nano/Desktop/images/17082025/17/54/image_17082025_17_54_34_10665.jpg', '/home/nano/Desktop/images/17082025/17/54/image_17082025_17_54_24_9637.jpg', '/home/nano/Desktop/images/17082025/17/54/image_17082025_17_54_14_9655.jpg', '/home/nano/Desktop/images/17082025/17/53/image_17082025_17_54_04_10676.jpg', '/home/nano/Desktop/images/17082025/17/53/image_17082025_17_53_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/54/image_17082025_17_54_44_9653.jpg
/home/nano/Desktop/images/17082025/17/54/image_17082025_17_54_34_10665.jpg
/home/nano/Desktop/images/17082025/17/54/image_17082025_17_54_24_9637.jpg
/home/nano/Desktop/images/17082025/17/54/image_17082025_17_54_14_9655.jpg
/home/nano/Desktop/images/17082025/17/53/image_17082025_17_54_04_10676.jpg
/home/nano/Desktop/images/17082025/17/53/image_17082025_17_53_54_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377679009","1377679011","1377679005","1377679002","1377679004","1377679007"],"photo_ids_order":["1377679002","1377679004","1377679005","1377679007","1377679009","1377679011"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d366642230f00b4c0c85884fa8edb44f.jpg","text":"TemporaryFile(/tmp/multipartBody1762113426177954385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446118815,"filename":"image_17082025_17_54_04_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6b65e562d94bd725e75a6b063c6a6570.jpg","text":"TemporaryFile(/tmp/multipartBody7644450171489731859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446118815,"filename":"image_17082025_17_53_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6fea7424b47670ff57c3b4864c776ed3.jpg","text":"TemporaryFile(/tmp/multipartBody8787605964217361692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446118815,"filename":"image_17082025_17_54_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/333a0005954967fe29ed5afe68b86b38.jpg","text":"TemporaryFile(/tmp/multipartBody2451582523540251122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446118815,"filename":"image_17082025_17_54_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5db0d57d6546828ea47b5f217a4ae210.jpg","text":"TemporaryFile(/tmp/multipartBody8057816161773157787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446118815,"filename":"image_17082025_17_54_34_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/563622c4062b856255ffccd5ef387ea4.jpg","text":"TemporaryFile(/tmp/multipartBody5294822015295558079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446118815,"filename":"image_17082025_17_54_14_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377679005","file1":"1377679004","file0":"1377679002","file4":"1377679009","file5":"1377679011","file3":"1377679007"},"map_files_photo_id_array":[{"photo_id":"1377679011","filename":"file5"},{"photo_id":"1377679005","filename":"file2"},{"photo_id":"1377679009","filename":"file4"},{"photo_id":"1377679004","filename":"file1"},{"photo_id":"1377679002","filename":"file0"},{"photo_id":"1377679007","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377679009":["hashtag1","hashtag2"]},{"1377679011":["hashtag1","hashtag2"]},{"1377679005":["hashtag1","hashtag2"]},{"1377679002":["hashtag1","hashtag2"]},{"1377679004":["hashtag1","hashtag2"]},{"1377679007":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377679009, 1377679011, 1377679005, 1377679002, 1377679004, 1377679007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34893441200256 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:55:02.696410
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/34/image_17082025_14_34_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/34/image_17082025_14_34_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/34/image_17082025_14_34_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/14/34/image_17082025_14_34_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/14/34/image_17082025_14_34_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/14/33/image_17082025_14_34_04_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/34/image_17082025_14_34_54_9638.jpg', '/home/nano/Desktop/images/17082025/14/34/image_17082025_14_34_44_10649.jpg', '/home/nano/Desktop/images/17082025/14/34/image_17082025_14_34_34_9641.jpg', '/home/nano/Desktop/images/17082025/14/34/image_17082025_14_34_24_9641.jpg', '/home/nano/Desktop/images/17082025/14/34/image_17082025_14_34_14_10666.jpg', '/home/nano/Desktop/images/17082025/14/33/image_17082025_14_34_04_9644.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/34/image_17082025_14_34_54_9638.jpg
/home/nano/Desktop/images/17082025/14/34/image_17082025_14_34_44_10649.jpg
/home/nano/Desktop/images/17082025/14/34/image_17082025_14_34_34_9641.jpg
/home/nano/Desktop/images/17082025/14/34/image_17082025_14_34_24_9641.jpg
/home/nano/Desktop/images/17082025/14/34/image_17082025_14_34_14_10666.jpg
/home/nano/Desktop/images/17082025/14/33/image_17082025_14_34_04_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377679024","1377679018","1377679029","1377679016","1377679025","1377679027"],"photo_ids_order":["1377679016","1377679018","1377679024","1377679025","1377679027","1377679029"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/23a5310e59a84eca737436fabba5ebec.jpg","text":"TemporaryFile(/tmp/multipartBody1272797377406737473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446164414,"filename":"image_17082025_14_34_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6750ff8ec4566158bc127ebe351fffbb.jpg","text":"TemporaryFile(/tmp/multipartBody4465111657691902932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446164414,"filename":"image_17082025_14_34_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/33b4ef1fd4f64217bdf4f59f8277a7a1.jpg","text":"TemporaryFile(/tmp/multipartBody3641748697348429843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446164414,"filename":"image_17082025_14_34_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/02bf29b0a9b2d571da89ab1b437e4398.jpg","text":"TemporaryFile(/tmp/multipartBody149647912515716607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446164414,"filename":"image_17082025_14_34_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/30ea2221c1c3c389294b25fcb969866e.jpg","text":"TemporaryFile(/tmp/multipartBody1648198519202634436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446164414,"filename":"image_17082025_14_34_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/68c3a5d0a3f709dc831f4bb9cf6f0456.jpg","text":"TemporaryFile(/tmp/multipartBody6729902034499022153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446164414,"filename":"image_17082025_14_34_14_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377679024","file1":"1377679018","file0":"1377679016","file4":"1377679027","file5":"1377679029","file3":"1377679025"},"map_files_photo_id_array":[{"photo_id":"1377679029","filename":"file5"},{"photo_id":"1377679024","filename":"file2"},{"photo_id":"1377679027","filename":"file4"},{"photo_id":"1377679018","filename":"file1"},{"photo_id":"1377679016","filename":"file0"},{"photo_id":"1377679025","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377679024":["hashtag1","hashtag2"]},{"1377679018":["hashtag1","hashtag2"]},{"1377679029":["hashtag1","hashtag2"]},{"1377679016":["hashtag1","hashtag2"]},{"1377679025":["hashtag1","hashtag2"]},{"1377679027":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377679024, 1377679018, 1377679029, 1377679016, 1377679025, 1377679027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98071575164795 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:55:46.963554
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/55/image_17082025_17_55_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/17/55/image_17082025_17_55_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/17/55/image_17082025_17_55_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/17/54/image_17082025_17_55_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/17/54/image_17082025_17_54_55_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/55/image_17082025_17_55_34_9637.jpg', '/home/nano/Desktop/images/17082025/17/55/image_17082025_17_55_24_10646.jpg', '/home/nano/Desktop/images/17082025/17/55/image_17082025_17_55_14_9655.jpg', '/home/nano/Desktop/images/17082025/17/54/image_17082025_17_55_04_9647.jpg', '/home/nano/Desktop/images/17082025/17/54/image_17082025_17_54_55_10646.jpg', '/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_54_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/55/image_17082025_17_55_34_9637.jpg
/home/nano/Desktop/images/17082025/17/55/image_17082025_17_55_24_10646.jpg
/home/nano/Desktop/images/17082025/17/55/image_17082025_17_55_14_9655.jpg
/home/nano/Desktop/images/17082025/17/54/image_17082025_17_55_04_9647.jpg
/home/nano/Desktop/images/17082025/17/54/image_17082025_17_54_55_10646.jpg
/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_54_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377679036","1377679038","1377679035","1377679037","1377679045","1377679033"],"photo_ids_order":["1377679033","1377679035","1377679036","1377679037","1377679038","1377679045"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d2f1af0495c52f8b970898205e5d8fe6.jpg","text":"TemporaryFile(/tmp/multipartBody3886824962410466068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446208571,"filename":"image_17082025_17_55_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6f18f6762df8a022d20534b484a3e543.jpg","text":"TemporaryFile(/tmp/multipartBody7672935871903783930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446208571,"filename":"image_17082025_17_54_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8bc8b83cf7c28a6913a09f8676cfe8e9.jpg","text":"TemporaryFile(/tmp/multipartBody1613004210143135314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446208571,"filename":"image_17082025_17_55_24_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/19ec7886b9c6c608fe4c63ffb3b7bf44.jpg","text":"TemporaryFile(/tmp/multipartBody6749531721895533837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446208571,"filename":"image_17082025_17_55_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c2946c7112b94ab091908e3414a751d5.jpg","text":"TemporaryFile(/tmp/multipartBody7622918190233642411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446208571,"filename":"image_17082025_14_33_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/acde923c94f7bced2d89773b91c324fb.jpg","text":"TemporaryFile(/tmp/multipartBody338979454763381359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446208571,"filename":"image_17082025_17_55_34_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377679036","file1":"1377679035","file0":"1377679033","file4":"1377679038","file5":"1377679045","file3":"1377679037"},"map_files_photo_id_array":[{"photo_id":"1377679045","filename":"file5"},{"photo_id":"1377679036","filename":"file2"},{"photo_id":"1377679038","filename":"file4"},{"photo_id":"1377679035","filename":"file1"},{"photo_id":"1377679033","filename":"file0"},{"photo_id":"1377679037","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377679036":["hashtag1","hashtag2"]},{"1377679038":["hashtag1","hashtag2"]},{"1377679035":["hashtag1","hashtag2"]},{"1377679037":["hashtag1","hashtag2"]},{"1377679045":["hashtag1","hashtag2"]},{"1377679033":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377679036, 1377679038, 1377679035, 1377679037, 1377679045, 1377679033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71885442733765 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:56:32.066198
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/56/image_17082025_17_56_44_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/17/56/image_17082025_17_56_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/17/56/image_17082025_17_56_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/17/56/image_17082025_17_56_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/17/55/image_17082025_17_56_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/17/55/image_17082025_17_55_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/56/image_17082025_17_56_44_9653.jpg', '/home/nano/Desktop/images/17082025/17/56/image_17082025_17_56_34_9638.jpg', '/home/nano/Desktop/images/17082025/17/56/image_17082025_17_56_24_10646.jpg', '/home/nano/Desktop/images/17082025/17/56/image_17082025_17_56_14_9656.jpg', '/home/nano/Desktop/images/17082025/17/55/image_17082025_17_56_04_9666.jpg', '/home/nano/Desktop/images/17082025/17/55/image_17082025_17_55_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/56/image_17082025_17_56_44_9653.jpg
/home/nano/Desktop/images/17082025/17/56/image_17082025_17_56_34_9638.jpg
/home/nano/Desktop/images/17082025/17/56/image_17082025_17_56_24_10646.jpg
/home/nano/Desktop/images/17082025/17/56/image_17082025_17_56_14_9656.jpg
/home/nano/Desktop/images/17082025/17/55/image_17082025_17_56_04_9666.jpg
/home/nano/Desktop/images/17082025/17/55/image_17082025_17_55_44_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377679056","1377679053","1377679049","1377679058","1377679051","1377679060"],"photo_ids_order":["1377679049","1377679051","1377679053","1377679056","1377679058","1377679060"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/89e138cbd255e0e8cd0835545a81f466.jpg","text":"TemporaryFile(/tmp/multipartBody5263031767254405583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446254205,"filename":"image_17082025_17_56_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/da756e657c031153d607bfe52b25791c.jpg","text":"TemporaryFile(/tmp/multipartBody1389404501776533447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446254205,"filename":"image_17082025_17_56_24_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0fd68f0529431b9409e8c504b8929f4b.jpg","text":"TemporaryFile(/tmp/multipartBody7033849958806950089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446254205,"filename":"image_17082025_17_56_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/957646bcbd11feac3b51e0045e4ce21e.jpg","text":"TemporaryFile(/tmp/multipartBody4539492585390844448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446254205,"filename":"image_17082025_17_56_04_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/78939ed72cc6ac34a190f2bf04be7c05.jpg","text":"TemporaryFile(/tmp/multipartBody8737757930660760108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446254205,"filename":"image_17082025_17_56_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/28bf3eca6efd5c5ed3b78d7d1eedd3b1.jpg","text":"TemporaryFile(/tmp/multipartBody7910355544263800246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446254205,"filename":"image_17082025_17_55_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377679053","file1":"1377679051","file0":"1377679049","file4":"1377679058","file5":"1377679060","file3":"1377679056"},"map_files_photo_id_array":[{"photo_id":"1377679060","filename":"file5"},{"photo_id":"1377679053","filename":"file2"},{"photo_id":"1377679058","filename":"file4"},{"photo_id":"1377679051","filename":"file1"},{"photo_id":"1377679049","filename":"file0"},{"photo_id":"1377679056","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377679056":["hashtag1","hashtag2"]},{"1377679053":["hashtag1","hashtag2"]},{"1377679049":["hashtag1","hashtag2"]},{"1377679058":["hashtag1","hashtag2"]},{"1377679051":["hashtag1","hashtag2"]},{"1377679060":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377679056, 1377679053, 1377679049, 1377679058, 1377679051, 1377679060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.92941951751709 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:57:17.154518
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/57/image_17082025_17_57_45_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/17/57/image_17082025_17_57_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/17/57/image_17082025_17_57_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/17/57/image_17082025_17_57_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/17/56/image_17082025_17_57_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/17/56/image_17082025_17_56_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/57/image_17082025_17_57_45_10648.jpg', '/home/nano/Desktop/images/17082025/17/57/image_17082025_17_57_34_9640.jpg', '/home/nano/Desktop/images/17082025/17/57/image_17082025_17_57_24_10649.jpg', '/home/nano/Desktop/images/17082025/17/57/image_17082025_17_57_14_9660.jpg', '/home/nano/Desktop/images/17082025/17/56/image_17082025_17_57_04_9653.jpg', '/home/nano/Desktop/images/17082025/17/56/image_17082025_17_56_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/57/image_17082025_17_57_45_10648.jpg
/home/nano/Desktop/images/17082025/17/57/image_17082025_17_57_34_9640.jpg
/home/nano/Desktop/images/17082025/17/57/image_17082025_17_57_24_10649.jpg
/home/nano/Desktop/images/17082025/17/57/image_17082025_17_57_14_9660.jpg
/home/nano/Desktop/images/17082025/17/56/image_17082025_17_57_04_9653.jpg
/home/nano/Desktop/images/17082025/17/56/image_17082025_17_56_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377679167","1377679184","1377679187","1377679189","1377679156","1377679186"],"photo_ids_order":["1377679156","1377679167","1377679184","1377679186","1377679187","1377679189"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5ce3136db04b1c3d787e3f849741559c.jpg","text":"TemporaryFile(/tmp/multipartBody6226490802015072577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446298773,"filename":"image_17082025_17_57_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/936833e5f4050e8961932df295cb1c21.jpg","text":"TemporaryFile(/tmp/multipartBody2479000670981123043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446298773,"filename":"image_17082025_17_57_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/31c974b2e14fd0abbfbdbb8609354689.jpg","text":"TemporaryFile(/tmp/multipartBody7456565988073375559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446298773,"filename":"image_17082025_17_57_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/214214aae266559aa188c7f05a1879df.jpg","text":"TemporaryFile(/tmp/multipartBody587242368040316914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446298773,"filename":"image_17082025_17_56_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dd7498f0cfba6d5166add43818424704.jpg","text":"TemporaryFile(/tmp/multipartBody7707873987884376031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446298773,"filename":"image_17082025_17_57_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f754ba7cfb860a13da1ec9d310b14c0d.jpg","text":"TemporaryFile(/tmp/multipartBody2537130046158240196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446298773,"filename":"image_17082025_17_57_14_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377679184","file1":"1377679167","file0":"1377679156","file4":"1377679187","file5":"1377679189","file3":"1377679186"},"map_files_photo_id_array":[{"photo_id":"1377679189","filename":"file5"},{"photo_id":"1377679184","filename":"file2"},{"photo_id":"1377679187","filename":"file4"},{"photo_id":"1377679167","filename":"file1"},{"photo_id":"1377679156","filename":"file0"},{"photo_id":"1377679186","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377679167":["hashtag1","hashtag2"]},{"1377679184":["hashtag1","hashtag2"]},{"1377679187":["hashtag1","hashtag2"]},{"1377679189":["hashtag1","hashtag2"]},{"1377679156":["hashtag1","hashtag2"]},{"1377679186":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377679167, 1377679184, 1377679187, 1377679189, 1377679156, 1377679186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.96285033226013 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:59:02.935064
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/58/image_17082025_17_58_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/17/58/image_17082025_17_58_34_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/17/58/image_17082025_17_58_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/17/58/image_17082025_17_58_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/17/57/image_17082025_17_58_04_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/17/57/image_17082025_17_57_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/58/image_17082025_17_58_44_10650.jpg', '/home/nano/Desktop/images/17082025/17/58/image_17082025_17_58_34_9655.jpg', '/home/nano/Desktop/images/17082025/17/58/image_17082025_17_58_24_9639.jpg', '/home/nano/Desktop/images/17082025/17/58/image_17082025_17_58_14_10669.jpg', '/home/nano/Desktop/images/17082025/17/57/image_17082025_17_58_04_9637.jpg', '/home/nano/Desktop/images/17082025/17/57/image_17082025_17_57_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/58/image_17082025_17_58_44_10650.jpg
/home/nano/Desktop/images/17082025/17/58/image_17082025_17_58_34_9655.jpg
/home/nano/Desktop/images/17082025/17/58/image_17082025_17_58_24_9639.jpg
/home/nano/Desktop/images/17082025/17/58/image_17082025_17_58_14_10669.jpg
/home/nano/Desktop/images/17082025/17/57/image_17082025_17_58_04_9637.jpg
/home/nano/Desktop/images/17082025/17/57/image_17082025_17_57_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377679207","1377679197","1377679209","1377679199","1377679214","1377679211"],"photo_ids_order":["1377679197","1377679199","1377679207","1377679209","1377679211","1377679214"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/26dfe3d3ae48af06adeddf8b30363e25.jpg","text":"TemporaryFile(/tmp/multipartBody314002851470132736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446404873,"filename":"image_17082025_17_58_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c9ee7602b74c43aaf6e49149243e002b.jpg","text":"TemporaryFile(/tmp/multipartBody8763022859554037213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446404873,"filename":"image_17082025_17_58_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5c147c8ff296bef36cfce3d7e8ed8f7e.jpg","text":"TemporaryFile(/tmp/multipartBody1830247625829763253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446404873,"filename":"image_17082025_17_58_14_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1b46f4bc9c5f07c1034977c36b272bcc.jpg","text":"TemporaryFile(/tmp/multipartBody1755154967636703083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446404873,"filename":"image_17082025_17_58_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5dd5f0a7f7514b33943210641abf1b0e.jpg","text":"TemporaryFile(/tmp/multipartBody6245693548683631485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446404873,"filename":"image_17082025_17_57_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4f93f219295a0467fc31a451fbd3307e.jpg","text":"TemporaryFile(/tmp/multipartBody1657684817530493959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446404873,"filename":"image_17082025_17_58_04_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377679207","file1":"1377679199","file0":"1377679197","file4":"1377679211","file5":"1377679214","file3":"1377679209"},"map_files_photo_id_array":[{"photo_id":"1377679214","filename":"file5"},{"photo_id":"1377679207","filename":"file2"},{"photo_id":"1377679211","filename":"file4"},{"photo_id":"1377679199","filename":"file1"},{"photo_id":"1377679197","filename":"file0"},{"photo_id":"1377679209","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377679207":["hashtag1","hashtag2"]},{"1377679197":["hashtag1","hashtag2"]},{"1377679209":["hashtag1","hashtag2"]},{"1377679199":["hashtag1","hashtag2"]},{"1377679214":["hashtag1","hashtag2"]},{"1377679211":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377679207, 1377679197, 1377679209, 1377679199, 1377679214, 1377679211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84018516540527 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 17:59:46.945346
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/17/59/image_17082025_17_59_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/17/59/image_17082025_17_59_34_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/17/59/image_17082025_17_59_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/17/58/image_17082025_17_59_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/17/58/image_17082025_17_58_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_44_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/17/59/image_17082025_17_59_44_10650.jpg', '/home/nano/Desktop/images/17082025/17/59/image_17082025_17_59_34_9657.jpg', '/home/nano/Desktop/images/17082025/17/59/image_17082025_17_59_14_10664.jpg', '/home/nano/Desktop/images/17082025/17/58/image_17082025_17_59_04_9646.jpg', '/home/nano/Desktop/images/17082025/17/58/image_17082025_17_58_54_9638.jpg', '/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_44_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/17/59/image_17082025_17_59_44_10650.jpg
/home/nano/Desktop/images/17082025/17/59/image_17082025_17_59_34_9657.jpg
/home/nano/Desktop/images/17082025/17/59/image_17082025_17_59_14_10664.jpg
/home/nano/Desktop/images/17082025/17/58/image_17082025_17_59_04_9646.jpg
/home/nano/Desktop/images/17082025/17/58/image_17082025_17_58_54_9638.jpg
/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_44_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377679447","1377679315","1377679284","1377679374","1377679344","1377679404"],"photo_ids_order":["1377679284","1377679315","1377679344","1377679374","1377679404","1377679447"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/41bb7ae7c8b2f171f8a864d7f2feb2d6.jpg","text":"TemporaryFile(/tmp/multipartBody7753361645716966152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446448979,"filename":"image_17082025_14_33_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/def662cfb423c44f0cb7714d7910225d.jpg","text":"TemporaryFile(/tmp/multipartBody7381816384284991506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446448979,"filename":"image_17082025_17_59_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e0fb9263cf41717e04f10b4eab560755.jpg","text":"TemporaryFile(/tmp/multipartBody2735671796670059764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446448979,"filename":"image_17082025_17_59_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d0a01afa514a905f16a462aeffd2cfb9.jpg","text":"TemporaryFile(/tmp/multipartBody1862800282505290949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446448979,"filename":"image_17082025_17_59_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/79ca390a5eabad66479d88556dd6e98c.jpg","text":"TemporaryFile(/tmp/multipartBody4811541190042488464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446448979,"filename":"image_17082025_17_59_14_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8956c103b81e334447a70d86e70e0096.jpg","text":"TemporaryFile(/tmp/multipartBody5280484657184584090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446448979,"filename":"image_17082025_17_58_54_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377679344","file1":"1377679315","file0":"1377679284","file4":"1377679404","file5":"1377679447","file3":"1377679374"},"map_files_photo_id_array":[{"photo_id":"1377679447","filename":"file5"},{"photo_id":"1377679344","filename":"file2"},{"photo_id":"1377679404","filename":"file4"},{"photo_id":"1377679315","filename":"file1"},{"photo_id":"1377679284","filename":"file0"},{"photo_id":"1377679374","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377679447":["hashtag1","hashtag2"]},{"1377679315":["hashtag1","hashtag2"]},{"1377679284":["hashtag1","hashtag2"]},{"1377679374":["hashtag1","hashtag2"]},{"1377679344":["hashtag1","hashtag2"]},{"1377679404":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377679447, 1377679315, 1377679284, 1377679374, 1377679344, 1377679404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.658437967300415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:00:32.043982
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/00/image_17082025_18_00_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/18/00/image_17082025_18_00_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/18/00/image_17082025_18_00_24_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/18/00/image_17082025_18_00_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/17/59/image_17082025_18_00_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/17/59/image_17082025_17_59_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/00/image_17082025_18_00_44_10648.jpg', '/home/nano/Desktop/images/17082025/18/00/image_17082025_18_00_34_9640.jpg', '/home/nano/Desktop/images/17082025/18/00/image_17082025_18_00_24_9661.jpg', '/home/nano/Desktop/images/17082025/18/00/image_17082025_18_00_14_10666.jpg', '/home/nano/Desktop/images/17082025/17/59/image_17082025_18_00_04_9654.jpg', '/home/nano/Desktop/images/17082025/17/59/image_17082025_17_59_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/00/image_17082025_18_00_44_10648.jpg
/home/nano/Desktop/images/17082025/18/00/image_17082025_18_00_34_9640.jpg
/home/nano/Desktop/images/17082025/18/00/image_17082025_18_00_24_9661.jpg
/home/nano/Desktop/images/17082025/18/00/image_17082025_18_00_14_10666.jpg
/home/nano/Desktop/images/17082025/17/59/image_17082025_18_00_04_9654.jpg
/home/nano/Desktop/images/17082025/17/59/image_17082025_17_59_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377680002","1377679719","1377679848","1377679789","1377679907","1377679966"],"photo_ids_order":["1377679719","1377679789","1377679848","1377679907","1377679966","1377680002"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9538691355044f024c1df62129d3b528.jpg","text":"TemporaryFile(/tmp/multipartBody4739410023424779120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446493861,"filename":"image_17082025_17_59_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/475653a219d9f5666a4ab8e7554c26b6.jpg","text":"TemporaryFile(/tmp/multipartBody1052269240019447334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446493861,"filename":"image_17082025_18_00_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f56b8b92b9043e18468b3ca7565b0d27.jpg","text":"TemporaryFile(/tmp/multipartBody4446397474945381220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446493861,"filename":"image_17082025_18_00_24_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/414b3b797eb5a1986275c8553f799a56.jpg","text":"TemporaryFile(/tmp/multipartBody6426571907047850974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446493861,"filename":"image_17082025_18_00_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0621c4a16c3540e307873fb9befd080f.jpg","text":"TemporaryFile(/tmp/multipartBody2469310909940492127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446493861,"filename":"image_17082025_18_00_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e6a6ef913da339751fdc224f05a85608.jpg","text":"TemporaryFile(/tmp/multipartBody3569656303802295431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446493861,"filename":"image_17082025_18_00_04_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377679848","file1":"1377679789","file0":"1377679719","file4":"1377679966","file5":"1377680002","file3":"1377679907"},"map_files_photo_id_array":[{"photo_id":"1377680002","filename":"file5"},{"photo_id":"1377679848","filename":"file2"},{"photo_id":"1377679966","filename":"file4"},{"photo_id":"1377679789","filename":"file1"},{"photo_id":"1377679719","filename":"file0"},{"photo_id":"1377679907","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377680002":["hashtag1","hashtag2"]},{"1377679719":["hashtag1","hashtag2"]},{"1377679848":["hashtag1","hashtag2"]},{"1377679789":["hashtag1","hashtag2"]},{"1377679907":["hashtag1","hashtag2"]},{"1377679966":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377680002, 1377679719, 1377679848, 1377679789, 1377679907, 1377679966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.313180685043335 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:01:17.151206
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/01/image_17082025_18_01_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/01/image_17082025_18_01_35_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/18/01/image_17082025_18_01_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/01/image_17082025_18_01_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/18/00/image_17082025_18_01_05_10661.jpg', 2), ('/home/nano/Desktop/images/17082025/18/00/image_17082025_18_00_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/01/image_17082025_18_01_44_9638.jpg', '/home/nano/Desktop/images/17082025/18/01/image_17082025_18_01_35_10668.jpg', '/home/nano/Desktop/images/17082025/18/01/image_17082025_18_01_24_9638.jpg', '/home/nano/Desktop/images/17082025/18/01/image_17082025_18_01_14_9661.jpg', '/home/nano/Desktop/images/17082025/18/00/image_17082025_18_01_05_10661.jpg', '/home/nano/Desktop/images/17082025/18/00/image_17082025_18_00_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/01/image_17082025_18_01_44_9638.jpg
/home/nano/Desktop/images/17082025/18/01/image_17082025_18_01_35_10668.jpg
/home/nano/Desktop/images/17082025/18/01/image_17082025_18_01_24_9638.jpg
/home/nano/Desktop/images/17082025/18/01/image_17082025_18_01_14_9661.jpg
/home/nano/Desktop/images/17082025/18/00/image_17082025_18_01_05_10661.jpg
/home/nano/Desktop/images/17082025/18/00/image_17082025_18_00_54_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377680629","1377680673","1377680733","1377680732","1377680717","1377680519"],"photo_ids_order":["1377680519","1377680629","1377680673","1377680717","1377680732","1377680733"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/76371f339845a3de5cf4a7df8da0040c.jpg","text":"TemporaryFile(/tmp/multipartBody8748876364477508003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446538945,"filename":"image_17082025_18_01_35_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/77d6c4cbc8c852fa5dd5a1d8139c474f.jpg","text":"TemporaryFile(/tmp/multipartBody8052227722899840161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446538945,"filename":"image_17082025_18_01_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/625d49a3cb457a393afd7f7a0634fded.jpg","text":"TemporaryFile(/tmp/multipartBody6013847128979544092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446538945,"filename":"image_17082025_18_00_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a5301a910e385b563200a625f0618d89.jpg","text":"TemporaryFile(/tmp/multipartBody9132634766983033582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446538945,"filename":"image_17082025_18_01_05_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dedc039d9655be1301a85305d3f30af2.jpg","text":"TemporaryFile(/tmp/multipartBody80974280038625897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446538945,"filename":"image_17082025_18_01_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b535bad348ac39d645e87380cdf377ef.jpg","text":"TemporaryFile(/tmp/multipartBody908737786502422096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446538945,"filename":"image_17082025_18_01_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377680673","file1":"1377680629","file0":"1377680519","file4":"1377680732","file5":"1377680733","file3":"1377680717"},"map_files_photo_id_array":[{"photo_id":"1377680733","filename":"file5"},{"photo_id":"1377680673","filename":"file2"},{"photo_id":"1377680732","filename":"file4"},{"photo_id":"1377680629","filename":"file1"},{"photo_id":"1377680519","filename":"file0"},{"photo_id":"1377680717","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377680629":["hashtag1","hashtag2"]},{"1377680673":["hashtag1","hashtag2"]},{"1377680733":["hashtag1","hashtag2"]},{"1377680732":["hashtag1","hashtag2"]},{"1377680717":["hashtag1","hashtag2"]},{"1377680519":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377680629, 1377680673, 1377680733, 1377680732, 1377680717, 1377680519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.11221385002136 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:02:17.249375
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/02/image_17082025_18_02_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/18/02/image_17082025_18_02_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/18/02/image_17082025_18_02_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/18/01/image_17082025_18_02_04_10655.jpg', 2), ('/home/nano/Desktop/images/17082025/18/01/image_17082025_18_01_54_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_34_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/02/image_17082025_18_02_44_9637.jpg', '/home/nano/Desktop/images/17082025/18/02/image_17082025_18_02_34_10649.jpg', '/home/nano/Desktop/images/17082025/18/02/image_17082025_18_02_24_9655.jpg', '/home/nano/Desktop/images/17082025/18/01/image_17082025_18_02_04_10655.jpg', '/home/nano/Desktop/images/17082025/18/01/image_17082025_18_01_54_9636.jpg', '/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_34_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/02/image_17082025_18_02_44_9637.jpg
/home/nano/Desktop/images/17082025/18/02/image_17082025_18_02_34_10649.jpg
/home/nano/Desktop/images/17082025/18/02/image_17082025_18_02_24_9655.jpg
/home/nano/Desktop/images/17082025/18/01/image_17082025_18_02_04_10655.jpg
/home/nano/Desktop/images/17082025/18/01/image_17082025_18_01_54_9636.jpg
/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_34_9637.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4435279369354248 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:02:32.273059
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/02/image_17082025_18_02_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/18/02/image_17082025_18_02_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/18/02/image_17082025_18_02_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/18/01/image_17082025_18_02_04_10655.jpg', 2), ('/home/nano/Desktop/images/17082025/18/01/image_17082025_18_01_54_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_34_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/02/image_17082025_18_02_44_9637.jpg', '/home/nano/Desktop/images/17082025/18/02/image_17082025_18_02_34_10649.jpg', '/home/nano/Desktop/images/17082025/18/02/image_17082025_18_02_24_9655.jpg', '/home/nano/Desktop/images/17082025/18/01/image_17082025_18_02_04_10655.jpg', '/home/nano/Desktop/images/17082025/18/01/image_17082025_18_01_54_9636.jpg', '/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_34_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/02/image_17082025_18_02_44_9637.jpg
/home/nano/Desktop/images/17082025/18/02/image_17082025_18_02_34_10649.jpg
/home/nano/Desktop/images/17082025/18/02/image_17082025_18_02_24_9655.jpg
/home/nano/Desktop/images/17082025/18/01/image_17082025_18_02_04_10655.jpg
/home/nano/Desktop/images/17082025/18/01/image_17082025_18_01_54_9636.jpg
/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_34_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377680923","1377680932","1377680905","1377680873","1377680948","1377680933"],"photo_ids_order":["1377680873","1377680905","1377680923","1377680932","1377680933","1377680948"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/588c59208c8358723a7efc2271d647b0.jpg","text":"TemporaryFile(/tmp/multipartBody4138310694352354033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446613961,"filename":"image_17082025_18_02_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/25176327f199b8b79894f77710f92899.jpg","text":"TemporaryFile(/tmp/multipartBody8946449010738238115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446613961,"filename":"image_17082025_18_02_04_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e4f77b9185299db553122460aec32ebf.jpg","text":"TemporaryFile(/tmp/multipartBody5869616513762047998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446613961,"filename":"image_17082025_18_02_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c2e65265c1dce77988dd777364b9fb7a.jpg","text":"TemporaryFile(/tmp/multipartBody7800273169441724742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446613961,"filename":"image_17082025_18_02_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/79b69ec8bdc94ceef86e756d33624fe9.jpg","text":"TemporaryFile(/tmp/multipartBody8838778371565727426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446613961,"filename":"image_17082025_14_33_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/04602c0b24c0cb2eaca55c174517b9cd.jpg","text":"TemporaryFile(/tmp/multipartBody1724814069580417869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446613961,"filename":"image_17082025_18_01_54_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377680923","file1":"1377680905","file0":"1377680873","file4":"1377680933","file5":"1377680948","file3":"1377680932"},"map_files_photo_id_array":[{"photo_id":"1377680948","filename":"file5"},{"photo_id":"1377680923","filename":"file2"},{"photo_id":"1377680933","filename":"file4"},{"photo_id":"1377680905","filename":"file1"},{"photo_id":"1377680873","filename":"file0"},{"photo_id":"1377680932","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377680923":["hashtag1","hashtag2"]},{"1377680932":["hashtag1","hashtag2"]},{"1377680905":["hashtag1","hashtag2"]},{"1377680873":["hashtag1","hashtag2"]},{"1377680948":["hashtag1","hashtag2"]},{"1377680933":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377680923, 1377680932, 1377680905, 1377680873, 1377680948, 1377680933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07120156288147 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:03:17.427601
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/03/image_17082025_18_03_44_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/18/03/image_17082025_18_03_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/18/03/image_17082025_18_03_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/18/03/image_17082025_18_03_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/18/02/image_17082025_18_03_04_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/18/02/image_17082025_18_02_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/03/image_17082025_18_03_44_9654.jpg', '/home/nano/Desktop/images/17082025/18/03/image_17082025_18_03_34_10649.jpg', '/home/nano/Desktop/images/17082025/18/03/image_17082025_18_03_24_9637.jpg', '/home/nano/Desktop/images/17082025/18/03/image_17082025_18_03_14_9659.jpg', '/home/nano/Desktop/images/17082025/18/02/image_17082025_18_03_04_10656.jpg', '/home/nano/Desktop/images/17082025/18/02/image_17082025_18_02_54_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/03/image_17082025_18_03_44_9654.jpg
/home/nano/Desktop/images/17082025/18/03/image_17082025_18_03_34_10649.jpg
/home/nano/Desktop/images/17082025/18/03/image_17082025_18_03_24_9637.jpg
/home/nano/Desktop/images/17082025/18/03/image_17082025_18_03_14_9659.jpg
/home/nano/Desktop/images/17082025/18/02/image_17082025_18_03_04_10656.jpg
/home/nano/Desktop/images/17082025/18/02/image_17082025_18_02_54_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681025","1377681026","1377681020","1377681014","1377681023","1377681017"],"photo_ids_order":["1377681014","1377681017","1377681020","1377681023","1377681025","1377681026"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8862a0f2f23e590d9d47a1ceb91b91ad.jpg","text":"TemporaryFile(/tmp/multipartBody1121729896966942533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446659095,"filename":"image_17082025_18_03_04_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/18e14a31ed9c93e5f8ba826d86923215.jpg","text":"TemporaryFile(/tmp/multipartBody1097624582719895776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446659095,"filename":"image_17082025_18_02_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/19ac3059ccf6a5cb0cebf1be8d078c42.jpg","text":"TemporaryFile(/tmp/multipartBody5876389085745915472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446659095,"filename":"image_17082025_18_03_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/40f502177949df5c885011346bf2a01a.jpg","text":"TemporaryFile(/tmp/multipartBody575459749703503592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446659095,"filename":"image_17082025_18_03_44_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d5d8236ef256092693b60b5f9adb7541.jpg","text":"TemporaryFile(/tmp/multipartBody3164976695383250159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446659095,"filename":"image_17082025_18_03_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ac3cbc1cfadfe88baa2c36335b95c6a9.jpg","text":"TemporaryFile(/tmp/multipartBody3937966987869704610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446659095,"filename":"image_17082025_18_03_34_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681020","file1":"1377681017","file0":"1377681014","file4":"1377681025","file5":"1377681026","file3":"1377681023"},"map_files_photo_id_array":[{"photo_id":"1377681026","filename":"file5"},{"photo_id":"1377681020","filename":"file2"},{"photo_id":"1377681025","filename":"file4"},{"photo_id":"1377681017","filename":"file1"},{"photo_id":"1377681014","filename":"file0"},{"photo_id":"1377681023","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681025":["hashtag1","hashtag2"]},{"1377681026":["hashtag1","hashtag2"]},{"1377681020":["hashtag1","hashtag2"]},{"1377681014":["hashtag1","hashtag2"]},{"1377681023":["hashtag1","hashtag2"]},{"1377681017":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681025, 1377681026, 1377681020, 1377681014, 1377681023, 1377681017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.002599477767944 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:04:03.243045
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_15_10686.jpg', 2), ('/home/nano/Desktop/images/17082025/14/32/image_17082025_14_33_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/14/32/image_17082025_14_32_54_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/14/32/image_17082025_14_32_45_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/14/32/image_17082025_14_32_34_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_24_9637.jpg', '/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_15_10686.jpg', '/home/nano/Desktop/images/17082025/14/32/image_17082025_14_33_04_9652.jpg', '/home/nano/Desktop/images/17082025/14/32/image_17082025_14_32_54_9636.jpg', '/home/nano/Desktop/images/17082025/14/32/image_17082025_14_32_45_10665.jpg', '/home/nano/Desktop/images/17082025/14/32/image_17082025_14_32_34_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_24_9637.jpg
/home/nano/Desktop/images/17082025/14/33/image_17082025_14_33_15_10686.jpg
/home/nano/Desktop/images/17082025/14/32/image_17082025_14_33_04_9652.jpg
/home/nano/Desktop/images/17082025/14/32/image_17082025_14_32_54_9636.jpg
/home/nano/Desktop/images/17082025/14/32/image_17082025_14_32_45_10665.jpg
/home/nano/Desktop/images/17082025/14/32/image_17082025_14_32_34_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681046","1377681036","1377681050","1377681029","1377681040","1377681043"],"photo_ids_order":["1377681029","1377681036","1377681040","1377681043","1377681046","1377681050"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b77e00918fe5eacf9f95780201222f75.jpg","text":"TemporaryFile(/tmp/multipartBody6855133291602710051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446704991,"filename":"image_17082025_14_32_45_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/455e42e7b945fe87169619ac3af7d5e5.jpg","text":"TemporaryFile(/tmp/multipartBody36653665764439289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446704991,"filename":"image_17082025_14_33_15_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a2a8dcda38da9dae34802170b0afe663.jpg","text":"TemporaryFile(/tmp/multipartBody7718761245767367065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446704991,"filename":"image_17082025_14_32_34_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6aec6af2e3aec2fb858b847bf7eed8f6.jpg","text":"TemporaryFile(/tmp/multipartBody5357982615365642914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446704991,"filename":"image_17082025_14_33_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bc96f9d53e731179bfdffd9d08dd8e3d.jpg","text":"TemporaryFile(/tmp/multipartBody8472137409357618250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446704991,"filename":"image_17082025_14_33_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/639a292ef6aa7f93f78ff5f7f6219770.jpg","text":"TemporaryFile(/tmp/multipartBody7968600684194475723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446704991,"filename":"image_17082025_14_32_54_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681040","file1":"1377681036","file0":"1377681029","file4":"1377681046","file5":"1377681050","file3":"1377681043"},"map_files_photo_id_array":[{"photo_id":"1377681050","filename":"file5"},{"photo_id":"1377681040","filename":"file2"},{"photo_id":"1377681046","filename":"file4"},{"photo_id":"1377681036","filename":"file1"},{"photo_id":"1377681029","filename":"file0"},{"photo_id":"1377681043","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681046":["hashtag1","hashtag2"]},{"1377681036":["hashtag1","hashtag2"]},{"1377681050":["hashtag1","hashtag2"]},{"1377681029":["hashtag1","hashtag2"]},{"1377681040":["hashtag1","hashtag2"]},{"1377681043":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681046, 1377681036, 1377681050, 1377681029, 1377681040, 1377681043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28532433509827 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:04:47.467153
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/04/image_17082025_18_04_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/04/image_17082025_18_04_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/18/04/image_17082025_18_04_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/18/04/image_17082025_18_04_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/18/03/image_17082025_18_04_04_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/18/03/image_17082025_18_03_54_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/04/image_17082025_18_04_44_9638.jpg', '/home/nano/Desktop/images/17082025/18/04/image_17082025_18_04_34_10648.jpg', '/home/nano/Desktop/images/17082025/18/04/image_17082025_18_04_24_9639.jpg', '/home/nano/Desktop/images/17082025/18/04/image_17082025_18_04_14_9659.jpg', '/home/nano/Desktop/images/17082025/18/03/image_17082025_18_04_04_10670.jpg', '/home/nano/Desktop/images/17082025/18/03/image_17082025_18_03_54_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/04/image_17082025_18_04_44_9638.jpg
/home/nano/Desktop/images/17082025/18/04/image_17082025_18_04_34_10648.jpg
/home/nano/Desktop/images/17082025/18/04/image_17082025_18_04_24_9639.jpg
/home/nano/Desktop/images/17082025/18/04/image_17082025_18_04_14_9659.jpg
/home/nano/Desktop/images/17082025/18/03/image_17082025_18_04_04_10670.jpg
/home/nano/Desktop/images/17082025/18/03/image_17082025_18_03_54_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681066","1377681054","1377681057","1377681056","1377681059","1377681058"],"photo_ids_order":["1377681054","1377681056","1377681057","1377681058","1377681059","1377681066"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/96030c230575383848543f6e8178ad55.jpg","text":"TemporaryFile(/tmp/multipartBody3585409350793881275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446749107,"filename":"image_17082025_18_03_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e46160a3acc2612846a20c9fb2a1178a.jpg","text":"TemporaryFile(/tmp/multipartBody526999096092302201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446749107,"filename":"image_17082025_18_04_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b5f2ea7a409ffbc436c8724b9a57a4cd.jpg","text":"TemporaryFile(/tmp/multipartBody2157830335396340432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446749107,"filename":"image_17082025_18_04_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f705d78fa5c33c809be4bfd75f43effd.jpg","text":"TemporaryFile(/tmp/multipartBody1041143230815066196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446749107,"filename":"image_17082025_18_04_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e3b35b6b17cf5a4905ee7ba99c76bde4.jpg","text":"TemporaryFile(/tmp/multipartBody5803868678928230392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446749107,"filename":"image_17082025_18_04_04_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ca5c55d2ec6776f98e53b13059b0b943.jpg","text":"TemporaryFile(/tmp/multipartBody5300068759216566202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446749107,"filename":"image_17082025_18_04_14_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681057","file1":"1377681056","file0":"1377681054","file4":"1377681059","file5":"1377681066","file3":"1377681058"},"map_files_photo_id_array":[{"photo_id":"1377681066","filename":"file5"},{"photo_id":"1377681057","filename":"file2"},{"photo_id":"1377681059","filename":"file4"},{"photo_id":"1377681056","filename":"file1"},{"photo_id":"1377681054","filename":"file0"},{"photo_id":"1377681058","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681066":["hashtag1","hashtag2"]},{"1377681054":["hashtag1","hashtag2"]},{"1377681057":["hashtag1","hashtag2"]},{"1377681056":["hashtag1","hashtag2"]},{"1377681059":["hashtag1","hashtag2"]},{"1377681058":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681066, 1377681054, 1377681057, 1377681056, 1377681059, 1377681058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06830334663391 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:05:32.571082
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/05/image_17082025_18_05_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/18/05/image_17082025_18_05_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/18/05/image_17082025_18_05_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/18/05/image_17082025_18_05_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/18/04/image_17082025_18_05_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/18/04/image_17082025_18_04_55_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/05/image_17082025_18_05_44_9636.jpg', '/home/nano/Desktop/images/17082025/18/05/image_17082025_18_05_34_9637.jpg', '/home/nano/Desktop/images/17082025/18/05/image_17082025_18_05_24_10646.jpg', '/home/nano/Desktop/images/17082025/18/05/image_17082025_18_05_14_9657.jpg', '/home/nano/Desktop/images/17082025/18/04/image_17082025_18_05_04_9646.jpg', '/home/nano/Desktop/images/17082025/18/04/image_17082025_18_04_55_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/05/image_17082025_18_05_44_9636.jpg
/home/nano/Desktop/images/17082025/18/05/image_17082025_18_05_34_9637.jpg
/home/nano/Desktop/images/17082025/18/05/image_17082025_18_05_24_10646.jpg
/home/nano/Desktop/images/17082025/18/05/image_17082025_18_05_14_9657.jpg
/home/nano/Desktop/images/17082025/18/04/image_17082025_18_05_04_9646.jpg
/home/nano/Desktop/images/17082025/18/04/image_17082025_18_04_55_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681130","1377681127","1377681132","1377681137","1377681134","1377681136"],"photo_ids_order":["1377681127","1377681130","1377681132","1377681134","1377681136","1377681137"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8156343344028b444c94aeb011ac11d4.jpg","text":"TemporaryFile(/tmp/multipartBody3592731250016513714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446794467,"filename":"image_17082025_18_05_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/67dc1f8028c8ed2b7a2cffa7c05ef556.jpg","text":"TemporaryFile(/tmp/multipartBody5375182790576074280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446794467,"filename":"image_17082025_18_05_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f6fc06b66a2d5734868a5c85d059a9bb.jpg","text":"TemporaryFile(/tmp/multipartBody4275194840677553434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446794467,"filename":"image_17082025_18_05_24_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c6899a5dcdc8e97f6bf62f9ea2ed6919.jpg","text":"TemporaryFile(/tmp/multipartBody7033242184697528410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446794467,"filename":"image_17082025_18_04_55_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bde043cb5f5afc8af3854f10db489cfc.jpg","text":"TemporaryFile(/tmp/multipartBody8226610455357374003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446794467,"filename":"image_17082025_18_05_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0aff75fef96154a2b4b9085d1d2bb1f8.jpg","text":"TemporaryFile(/tmp/multipartBody8389532720144518407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446794467,"filename":"image_17082025_18_05_04_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681132","file1":"1377681130","file0":"1377681127","file4":"1377681136","file5":"1377681137","file3":"1377681134"},"map_files_photo_id_array":[{"photo_id":"1377681137","filename":"file5"},{"photo_id":"1377681132","filename":"file2"},{"photo_id":"1377681136","filename":"file4"},{"photo_id":"1377681130","filename":"file1"},{"photo_id":"1377681127","filename":"file0"},{"photo_id":"1377681134","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681130":["hashtag1","hashtag2"]},{"1377681127":["hashtag1","hashtag2"]},{"1377681132":["hashtag1","hashtag2"]},{"1377681137":["hashtag1","hashtag2"]},{"1377681134":["hashtag1","hashtag2"]},{"1377681136":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681130, 1377681127, 1377681132, 1377681137, 1377681134, 1377681136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29284048080444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:06:17.685697
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/06/image_17082025_18_06_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/18/06/image_17082025_18_06_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/06/image_17082025_18_06_24_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/18/06/image_17082025_18_06_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/18/05/image_17082025_18_06_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/18/05/image_17082025_18_05_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/06/image_17082025_18_06_44_9637.jpg', '/home/nano/Desktop/images/17082025/18/06/image_17082025_18_06_34_9638.jpg', '/home/nano/Desktop/images/17082025/18/06/image_17082025_18_06_24_10653.jpg', '/home/nano/Desktop/images/17082025/18/06/image_17082025_18_06_14_9656.jpg', '/home/nano/Desktop/images/17082025/18/05/image_17082025_18_06_04_9651.jpg', '/home/nano/Desktop/images/17082025/18/05/image_17082025_18_05_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/06/image_17082025_18_06_44_9637.jpg
/home/nano/Desktop/images/17082025/18/06/image_17082025_18_06_34_9638.jpg
/home/nano/Desktop/images/17082025/18/06/image_17082025_18_06_24_10653.jpg
/home/nano/Desktop/images/17082025/18/06/image_17082025_18_06_14_9656.jpg
/home/nano/Desktop/images/17082025/18/05/image_17082025_18_06_04_9651.jpg
/home/nano/Desktop/images/17082025/18/05/image_17082025_18_05_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681150","1377681156","1377681152","1377681146","1377681154","1377681148"],"photo_ids_order":["1377681146","1377681148","1377681150","1377681152","1377681154","1377681156"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/654e8a823a6cf39248f20969e2a03077.jpg","text":"TemporaryFile(/tmp/multipartBody3392258976088807724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446840323,"filename":"image_17082025_18_06_24_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/818bfda40425f741e727027e86bd9411.jpg","text":"TemporaryFile(/tmp/multipartBody1602517922993734803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446840323,"filename":"image_17082025_18_05_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8312bd48940797e2adffa52af35d25e3.jpg","text":"TemporaryFile(/tmp/multipartBody9166775406488020855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446840323,"filename":"image_17082025_18_06_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/18f2a612f088e653d6b7471388da66b9.jpg","text":"TemporaryFile(/tmp/multipartBody3318804708079736060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446840323,"filename":"image_17082025_18_06_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aa635f970109e61e369fe1124edfe40c.jpg","text":"TemporaryFile(/tmp/multipartBody4106171626359982067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446840323,"filename":"image_17082025_18_06_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0887a7f3f1542d7aaca862a3dcb9082d.jpg","text":"TemporaryFile(/tmp/multipartBody2993437471067292216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446840323,"filename":"image_17082025_18_06_34_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681150","file1":"1377681148","file0":"1377681146","file4":"1377681154","file5":"1377681156","file3":"1377681152"},"map_files_photo_id_array":[{"photo_id":"1377681156","filename":"file5"},{"photo_id":"1377681150","filename":"file2"},{"photo_id":"1377681154","filename":"file4"},{"photo_id":"1377681148","filename":"file1"},{"photo_id":"1377681146","filename":"file0"},{"photo_id":"1377681152","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681150":["hashtag1","hashtag2"]},{"1377681156":["hashtag1","hashtag2"]},{"1377681152":["hashtag1","hashtag2"]},{"1377681146":["hashtag1","hashtag2"]},{"1377681154":["hashtag1","hashtag2"]},{"1377681148":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681150, 1377681156, 1377681152, 1377681146, 1377681154, 1377681148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.19419074058533 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:07:02.647519
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/32/image_17082025_14_32_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/14/32/image_17082025_14_32_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/14/31/image_17082025_14_32_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_54_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_34_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/32/image_17082025_14_32_24_10650.jpg', '/home/nano/Desktop/images/17082025/14/32/image_17082025_14_32_14_9656.jpg', '/home/nano/Desktop/images/17082025/14/31/image_17082025_14_32_04_9644.jpg', '/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_54_10646.jpg', '/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_44_9640.jpg', '/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_34_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/32/image_17082025_14_32_24_10650.jpg
/home/nano/Desktop/images/17082025/14/32/image_17082025_14_32_14_9656.jpg
/home/nano/Desktop/images/17082025/14/31/image_17082025_14_32_04_9644.jpg
/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_54_10646.jpg
/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_44_9640.jpg
/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_34_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681165","1377681173","1377681176","1377681178","1377681172","1377681163"],"photo_ids_order":["1377681163","1377681165","1377681172","1377681173","1377681176","1377681178"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6ba293170d516d9cec8aafa4ace7ea8a.jpg","text":"TemporaryFile(/tmp/multipartBody5075429093131032776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446884276,"filename":"image_17082025_14_32_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/471b8b8bf5f374b05abdf2a2c710a5da.jpg","text":"TemporaryFile(/tmp/multipartBody6848921680271821476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446884276,"filename":"image_17082025_14_31_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b4d931892d506ef3b6392ebc0296d639.jpg","text":"TemporaryFile(/tmp/multipartBody2113717384008197462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446884276,"filename":"image_17082025_14_31_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f03d0101e40f15bdfc2ea3fe1cafb43b.jpg","text":"TemporaryFile(/tmp/multipartBody3027650368462069834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446884276,"filename":"image_17082025_14_31_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/be211b148e7bf3c1c16db091909a1341.jpg","text":"TemporaryFile(/tmp/multipartBody1601205942536277365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446884276,"filename":"image_17082025_14_32_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/31dae7926249752f2b60f92787352574.jpg","text":"TemporaryFile(/tmp/multipartBody6097441447414126666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446884276,"filename":"image_17082025_14_32_24_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681172","file1":"1377681165","file0":"1377681163","file4":"1377681176","file5":"1377681178","file3":"1377681173"},"map_files_photo_id_array":[{"photo_id":"1377681178","filename":"file5"},{"photo_id":"1377681172","filename":"file2"},{"photo_id":"1377681176","filename":"file4"},{"photo_id":"1377681165","filename":"file1"},{"photo_id":"1377681163","filename":"file0"},{"photo_id":"1377681173","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681165":["hashtag1","hashtag2"]},{"1377681173":["hashtag1","hashtag2"]},{"1377681176":["hashtag1","hashtag2"]},{"1377681178":["hashtag1","hashtag2"]},{"1377681172":["hashtag1","hashtag2"]},{"1377681163":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681165, 1377681173, 1377681176, 1377681178, 1377681172, 1377681163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50247836112976 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:07:46.809009
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/07/image_17082025_18_07_45_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/18/07/image_17082025_18_07_34_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/18/07/image_17082025_18_07_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/18/06/image_17082025_18_07_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/18/06/image_17082025_18_06_54_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_24_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/07/image_17082025_18_07_45_10650.jpg', '/home/nano/Desktop/images/17082025/18/07/image_17082025_18_07_34_9655.jpg', '/home/nano/Desktop/images/17082025/18/07/image_17082025_18_07_14_9653.jpg', '/home/nano/Desktop/images/17082025/18/06/image_17082025_18_07_04_9649.jpg', '/home/nano/Desktop/images/17082025/18/06/image_17082025_18_06_54_10646.jpg', '/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_24_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/07/image_17082025_18_07_45_10650.jpg
/home/nano/Desktop/images/17082025/18/07/image_17082025_18_07_34_9655.jpg
/home/nano/Desktop/images/17082025/18/07/image_17082025_18_07_14_9653.jpg
/home/nano/Desktop/images/17082025/18/06/image_17082025_18_07_04_9649.jpg
/home/nano/Desktop/images/17082025/18/06/image_17082025_18_06_54_10646.jpg
/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_24_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681186","1377681188","1377681197","1377681182","1377681190","1377681184"],"photo_ids_order":["1377681182","1377681184","1377681186","1377681188","1377681190","1377681197"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/91b41dd522d4ae65fbcfce22a2be2de6.jpg","text":"TemporaryFile(/tmp/multipartBody988752617657649546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446928539,"filename":"image_17082025_18_07_14_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0830d87ff9618aaf85ea74dc98ec3910.jpg","text":"TemporaryFile(/tmp/multipartBody3138523082811820144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446928539,"filename":"image_17082025_18_07_04_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/536798913b772668b3305fa1a2ce3b2c.jpg","text":"TemporaryFile(/tmp/multipartBody5092309154876531022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446928539,"filename":"image_17082025_14_31_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/21cca6612198f8faccb54c36ce03c26d.jpg","text":"TemporaryFile(/tmp/multipartBody3410114921598114968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446928539,"filename":"image_17082025_18_07_45_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0426a483141c4111c8bedc6ab40c6833.jpg","text":"TemporaryFile(/tmp/multipartBody6526297317783484442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446928539,"filename":"image_17082025_18_06_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cac29218c986386d927c4cc3a4601b83.jpg","text":"TemporaryFile(/tmp/multipartBody4686438167436835829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446928539,"filename":"image_17082025_18_07_34_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681186","file1":"1377681184","file0":"1377681182","file4":"1377681190","file5":"1377681197","file3":"1377681188"},"map_files_photo_id_array":[{"photo_id":"1377681197","filename":"file5"},{"photo_id":"1377681186","filename":"file2"},{"photo_id":"1377681190","filename":"file4"},{"photo_id":"1377681184","filename":"file1"},{"photo_id":"1377681182","filename":"file0"},{"photo_id":"1377681188","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681186":["hashtag1","hashtag2"]},{"1377681188":["hashtag1","hashtag2"]},{"1377681197":["hashtag1","hashtag2"]},{"1377681182":["hashtag1","hashtag2"]},{"1377681190":["hashtag1","hashtag2"]},{"1377681184":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681186, 1377681188, 1377681197, 1377681182, 1377681190, 1377681184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74584197998047 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:08:31.914832
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/08/image_17082025_18_08_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/18/08/image_17082025_18_08_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/18/08/image_17082025_18_08_24_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/18/08/image_17082025_18_08_14_10683.jpg', 2), ('/home/nano/Desktop/images/17082025/18/07/image_17082025_18_08_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/18/07/image_17082025_18_07_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/08/image_17082025_18_08_44_10648.jpg', '/home/nano/Desktop/images/17082025/18/08/image_17082025_18_08_34_9639.jpg', '/home/nano/Desktop/images/17082025/18/08/image_17082025_18_08_24_9658.jpg', '/home/nano/Desktop/images/17082025/18/08/image_17082025_18_08_14_10683.jpg', '/home/nano/Desktop/images/17082025/18/07/image_17082025_18_08_04_9647.jpg', '/home/nano/Desktop/images/17082025/18/07/image_17082025_18_07_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/08/image_17082025_18_08_44_10648.jpg
/home/nano/Desktop/images/17082025/18/08/image_17082025_18_08_34_9639.jpg
/home/nano/Desktop/images/17082025/18/08/image_17082025_18_08_24_9658.jpg
/home/nano/Desktop/images/17082025/18/08/image_17082025_18_08_14_10683.jpg
/home/nano/Desktop/images/17082025/18/07/image_17082025_18_08_04_9647.jpg
/home/nano/Desktop/images/17082025/18/07/image_17082025_18_07_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681211","1377681205","1377681207","1377681203","1377681212","1377681209"],"photo_ids_order":["1377681203","1377681205","1377681207","1377681209","1377681211","1377681212"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cde4f4c23a01d6a5b8b60378e2840f1a.jpg","text":"TemporaryFile(/tmp/multipartBody7225336064489610542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446973856,"filename":"image_17082025_18_08_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/80a72d7b1a24b44034e71d2f4d90530d.jpg","text":"TemporaryFile(/tmp/multipartBody5866420102087064058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446973856,"filename":"image_17082025_18_08_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e5a9eb470003dd7859d0873e43496f7f.jpg","text":"TemporaryFile(/tmp/multipartBody5604615152587625027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446973856,"filename":"image_17082025_18_08_24_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6de37ecf528319c086ebc4e7db541e1e.jpg","text":"TemporaryFile(/tmp/multipartBody8514158244982015257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446973856,"filename":"image_17082025_18_08_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1e6fdefd6f57390813c631896b15185a.jpg","text":"TemporaryFile(/tmp/multipartBody4735332434452009335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446973856,"filename":"image_17082025_18_07_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/22604fd4224ea733001cb08d71547574.jpg","text":"TemporaryFile(/tmp/multipartBody640326272834902567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755446973856,"filename":"image_17082025_18_08_14_10683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681207","file1":"1377681205","file0":"1377681203","file4":"1377681211","file5":"1377681212","file3":"1377681209"},"map_files_photo_id_array":[{"photo_id":"1377681212","filename":"file5"},{"photo_id":"1377681207","filename":"file2"},{"photo_id":"1377681211","filename":"file4"},{"photo_id":"1377681205","filename":"file1"},{"photo_id":"1377681203","filename":"file0"},{"photo_id":"1377681209","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681211":["hashtag1","hashtag2"]},{"1377681205":["hashtag1","hashtag2"]},{"1377681207":["hashtag1","hashtag2"]},{"1377681203":["hashtag1","hashtag2"]},{"1377681212":["hashtag1","hashtag2"]},{"1377681209":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681211, 1377681205, 1377681207, 1377681203, 1377681212, 1377681209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19275450706482 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:09:17.029517
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/09/image_17082025_18_09_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/18/09/image_17082025_18_09_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/09/image_17082025_18_09_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/18/09/image_17082025_18_09_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/18/08/image_17082025_18_09_04_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/18/08/image_17082025_18_08_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/09/image_17082025_18_09_44_10646.jpg', '/home/nano/Desktop/images/17082025/18/09/image_17082025_18_09_34_9638.jpg', '/home/nano/Desktop/images/17082025/18/09/image_17082025_18_09_24_9639.jpg', '/home/nano/Desktop/images/17082025/18/09/image_17082025_18_09_14_10669.jpg', '/home/nano/Desktop/images/17082025/18/08/image_17082025_18_09_04_9663.jpg', '/home/nano/Desktop/images/17082025/18/08/image_17082025_18_08_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/09/image_17082025_18_09_44_10646.jpg
/home/nano/Desktop/images/17082025/18/09/image_17082025_18_09_34_9638.jpg
/home/nano/Desktop/images/17082025/18/09/image_17082025_18_09_24_9639.jpg
/home/nano/Desktop/images/17082025/18/09/image_17082025_18_09_14_10669.jpg
/home/nano/Desktop/images/17082025/18/08/image_17082025_18_09_04_9663.jpg
/home/nano/Desktop/images/17082025/18/08/image_17082025_18_08_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681223","1377681231","1377681225","1377681221","1377681227","1377681229"],"photo_ids_order":["1377681221","1377681223","1377681225","1377681227","1377681229","1377681231"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6fc6c63e6bf8d15d757d13bec870f719.jpg","text":"TemporaryFile(/tmp/multipartBody6586601048091495241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447018923,"filename":"image_17082025_18_09_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bceb63eb6f96b8df2cc3077dfed9732a.jpg","text":"TemporaryFile(/tmp/multipartBody6980974714243232090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447018923,"filename":"image_17082025_18_08_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bf5b1ccee69699a683fa146cb0471d3a.jpg","text":"TemporaryFile(/tmp/multipartBody4728674160952446238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447018923,"filename":"image_17082025_18_09_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/386e1db2b841be9ade1d01a5de4d5914.jpg","text":"TemporaryFile(/tmp/multipartBody8983894859131873442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447018923,"filename":"image_17082025_18_09_44_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9702b530c427c098f5d103ee865f6ae1.jpg","text":"TemporaryFile(/tmp/multipartBody825858024004210526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447018923,"filename":"image_17082025_18_09_14_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d1a5dc2f3dc3c344ac719106fcc8be91.jpg","text":"TemporaryFile(/tmp/multipartBody6283209894592111736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447018923,"filename":"image_17082025_18_09_04_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681225","file1":"1377681223","file0":"1377681221","file4":"1377681229","file5":"1377681231","file3":"1377681227"},"map_files_photo_id_array":[{"photo_id":"1377681231","filename":"file5"},{"photo_id":"1377681225","filename":"file2"},{"photo_id":"1377681229","filename":"file4"},{"photo_id":"1377681223","filename":"file1"},{"photo_id":"1377681221","filename":"file0"},{"photo_id":"1377681227","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681223":["hashtag1","hashtag2"]},{"1377681231":["hashtag1","hashtag2"]},{"1377681225":["hashtag1","hashtag2"]},{"1377681221":["hashtag1","hashtag2"]},{"1377681227":["hashtag1","hashtag2"]},{"1377681229":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681223, 1377681231, 1377681225, 1377681221, 1377681227, 1377681229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05205178260803 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:10:02.846156
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/14/30/image_17082025_14_31_04_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_34_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_24_10664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_14_9658.jpg', '/home/nano/Desktop/images/17082025/14/30/image_17082025_14_31_04_9637.jpg', '/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_54_10647.jpg', '/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_44_9638.jpg', '/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_34_9653.jpg', '/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_24_10664.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_14_9658.jpg
/home/nano/Desktop/images/17082025/14/30/image_17082025_14_31_04_9637.jpg
/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_54_10647.jpg
/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_44_9638.jpg
/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_34_9653.jpg
/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_24_10664.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.318256139755249 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:10:17.117024
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/10/image_17082025_18_10_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/18/10/image_17082025_18_10_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/10/image_17082025_18_10_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/18/10/image_17082025_18_10_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/18/09/image_17082025_18_10_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/18/09/image_17082025_18_09_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/10/image_17082025_18_10_44_10648.jpg', '/home/nano/Desktop/images/17082025/18/10/image_17082025_18_10_34_9638.jpg', '/home/nano/Desktop/images/17082025/18/10/image_17082025_18_10_24_9641.jpg', '/home/nano/Desktop/images/17082025/18/10/image_17082025_18_10_14_10666.jpg', '/home/nano/Desktop/images/17082025/18/09/image_17082025_18_10_04_9651.jpg', '/home/nano/Desktop/images/17082025/18/09/image_17082025_18_09_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/10/image_17082025_18_10_44_10648.jpg
/home/nano/Desktop/images/17082025/18/10/image_17082025_18_10_34_9638.jpg
/home/nano/Desktop/images/17082025/18/10/image_17082025_18_10_24_9641.jpg
/home/nano/Desktop/images/17082025/18/10/image_17082025_18_10_14_10666.jpg
/home/nano/Desktop/images/17082025/18/09/image_17082025_18_10_04_9651.jpg
/home/nano/Desktop/images/17082025/18/09/image_17082025_18_09_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681258","1377681246","1377681260","1377681254","1377681250","1377681256"],"photo_ids_order":["1377681246","1377681250","1377681254","1377681256","1377681258","1377681260"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c43097e7bd9598985a6da826dbe4c989.jpg","text":"TemporaryFile(/tmp/multipartBody6143567561267804532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447079074,"filename":"image_17082025_18_10_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b835cbb7ad5daa3a11017ce434b071b0.jpg","text":"TemporaryFile(/tmp/multipartBody3604957595967226882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447079074,"filename":"image_17082025_18_10_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d58d03f606159aa88ad75d276390afd0.jpg","text":"TemporaryFile(/tmp/multipartBody6481199075205305352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447079074,"filename":"image_17082025_18_09_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dd56336662d401072c4802d13e49f985.jpg","text":"TemporaryFile(/tmp/multipartBody987853887283595226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447079074,"filename":"image_17082025_18_10_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/84ee5df4507ae7ea06c04b4eadb6ba25.jpg","text":"TemporaryFile(/tmp/multipartBody4630219763052617673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447079074,"filename":"image_17082025_18_10_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e1e71dab7402680ca08daf8ffeb077d7.jpg","text":"TemporaryFile(/tmp/multipartBody4368438802351472318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447079074,"filename":"image_17082025_18_10_14_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681254","file1":"1377681250","file0":"1377681246","file4":"1377681258","file5":"1377681260","file3":"1377681256"},"map_files_photo_id_array":[{"photo_id":"1377681260","filename":"file5"},{"photo_id":"1377681254","filename":"file2"},{"photo_id":"1377681258","filename":"file4"},{"photo_id":"1377681250","filename":"file1"},{"photo_id":"1377681246","filename":"file0"},{"photo_id":"1377681256","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681258":["hashtag1","hashtag2"]},{"1377681246":["hashtag1","hashtag2"]},{"1377681260":["hashtag1","hashtag2"]},{"1377681254":["hashtag1","hashtag2"]},{"1377681250":["hashtag1","hashtag2"]},{"1377681256":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681258, 1377681246, 1377681260, 1377681254, 1377681250, 1377681256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21856069564819 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:11:03.035873
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/11/image_17082025_18_11_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/14/30/image_17082025_14_31_04_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_34_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/11/image_17082025_18_11_44_9639.jpg', '/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_14_9658.jpg', '/home/nano/Desktop/images/17082025/14/30/image_17082025_14_31_04_9637.jpg', '/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_54_10647.jpg', '/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_44_9638.jpg', '/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_34_9653.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/11/image_17082025_18_11_44_9639.jpg
/home/nano/Desktop/images/17082025/14/31/image_17082025_14_31_14_9658.jpg
/home/nano/Desktop/images/17082025/14/30/image_17082025_14_31_04_9637.jpg
/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_54_10647.jpg
/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_44_9638.jpg
/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_34_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681276","1377681264","1377681272","1377681263","1377681271","1377681274"],"photo_ids_order":["1377681263","1377681264","1377681271","1377681272","1377681274","1377681276"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4021fa61ee7657bec7d1cffb3478a578.jpg","text":"TemporaryFile(/tmp/multipartBody2140741768031404799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447124793,"filename":"image_17082025_14_30_34_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5d6dda2ae12ef6db9820642b011336d4.jpg","text":"TemporaryFile(/tmp/multipartBody2219470472805456805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447124793,"filename":"image_17082025_14_31_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dffb99d4e1dd8137f3981293aa3626b8.jpg","text":"TemporaryFile(/tmp/multipartBody8745624425272615173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447124793,"filename":"image_17082025_14_30_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7943fbbf9a4e203473afaed689b64bba.jpg","text":"TemporaryFile(/tmp/multipartBody29066992904213317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447124793,"filename":"image_17082025_18_11_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/73ce8e422b4c19044b6b75ea9f6fdbd7.jpg","text":"TemporaryFile(/tmp/multipartBody7290159801172861996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447124793,"filename":"image_17082025_14_31_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c114a84e97f74866011b839ad4408d31.jpg","text":"TemporaryFile(/tmp/multipartBody6608912235057854663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447124793,"filename":"image_17082025_14_30_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681271","file1":"1377681264","file0":"1377681263","file4":"1377681274","file5":"1377681276","file3":"1377681272"},"map_files_photo_id_array":[{"photo_id":"1377681276","filename":"file5"},{"photo_id":"1377681271","filename":"file2"},{"photo_id":"1377681274","filename":"file4"},{"photo_id":"1377681264","filename":"file1"},{"photo_id":"1377681263","filename":"file0"},{"photo_id":"1377681272","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681276":["hashtag1","hashtag2"]},{"1377681264":["hashtag1","hashtag2"]},{"1377681272":["hashtag1","hashtag2"]},{"1377681263":["hashtag1","hashtag2"]},{"1377681271":["hashtag1","hashtag2"]},{"1377681274":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681276, 1377681264, 1377681272, 1377681263, 1377681271, 1377681274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.643173694610596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:11:47.284744
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/11/image_17082025_18_11_34_10654.jpg', 2), ('/home/nano/Desktop/images/17082025/18/11/image_17082025_18_11_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/18/11/image_17082025_18_11_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/18/10/image_17082025_18_11_05_10661.jpg', 2), ('/home/nano/Desktop/images/17082025/18/10/image_17082025_18_10_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_24_10664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/11/image_17082025_18_11_34_10654.jpg', '/home/nano/Desktop/images/17082025/18/11/image_17082025_18_11_24_9637.jpg', '/home/nano/Desktop/images/17082025/18/11/image_17082025_18_11_14_9662.jpg', '/home/nano/Desktop/images/17082025/18/10/image_17082025_18_11_05_10661.jpg', '/home/nano/Desktop/images/17082025/18/10/image_17082025_18_10_54_9640.jpg', '/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_24_10664.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/11/image_17082025_18_11_34_10654.jpg
/home/nano/Desktop/images/17082025/18/11/image_17082025_18_11_24_9637.jpg
/home/nano/Desktop/images/17082025/18/11/image_17082025_18_11_14_9662.jpg
/home/nano/Desktop/images/17082025/18/10/image_17082025_18_11_05_10661.jpg
/home/nano/Desktop/images/17082025/18/10/image_17082025_18_10_54_9640.jpg
/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_24_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681288","1377681290","1377681284","1377681287","1377681296","1377681286"],"photo_ids_order":["1377681284","1377681286","1377681287","1377681288","1377681290","1377681296"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f96a8064671a19fb6ba01fb03a48d5d2.jpg","text":"TemporaryFile(/tmp/multipartBody4734840237009587595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447169031,"filename":"image_17082025_18_11_05_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fd6df3368ff6d020a44a0ef9964c4d9f.jpg","text":"TemporaryFile(/tmp/multipartBody8094026975983368410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447169031,"filename":"image_17082025_18_10_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ecf215419eb47cc8ce03a24fb900cb08.jpg","text":"TemporaryFile(/tmp/multipartBody852151050663948110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447169031,"filename":"image_17082025_18_11_34_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/009eb98020719c0de7246465ffb4ad52.jpg","text":"TemporaryFile(/tmp/multipartBody6568059680880209794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447169031,"filename":"image_17082025_18_11_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e5c38b33ecfd817957a7a77ffad07fa9.jpg","text":"TemporaryFile(/tmp/multipartBody5311163858385433565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447169031,"filename":"image_17082025_14_30_24_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4405d495a2a23ca571f583ed2c7c17bb.jpg","text":"TemporaryFile(/tmp/multipartBody4545729954139972759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447169031,"filename":"image_17082025_18_11_24_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681287","file1":"1377681286","file0":"1377681284","file4":"1377681290","file5":"1377681296","file3":"1377681288"},"map_files_photo_id_array":[{"photo_id":"1377681296","filename":"file5"},{"photo_id":"1377681287","filename":"file2"},{"photo_id":"1377681290","filename":"file4"},{"photo_id":"1377681286","filename":"file1"},{"photo_id":"1377681284","filename":"file0"},{"photo_id":"1377681288","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681288":["hashtag1","hashtag2"]},{"1377681290":["hashtag1","hashtag2"]},{"1377681284":["hashtag1","hashtag2"]},{"1377681287":["hashtag1","hashtag2"]},{"1377681296":["hashtag1","hashtag2"]},{"1377681286":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681288, 1377681290, 1377681284, 1377681287, 1377681296, 1377681286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.87540626525879 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:12:32.363476
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/12/image_17082025_18_12_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/18/12/image_17082025_18_12_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/12/image_17082025_18_12_14_9667.jpg', 2), ('/home/nano/Desktop/images/17082025/18/11/image_17082025_18_12_04_10659.jpg', 2), ('/home/nano/Desktop/images/17082025/18/11/image_17082025_18_11_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_14_9669.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/12/image_17082025_18_12_34_10648.jpg', '/home/nano/Desktop/images/17082025/18/12/image_17082025_18_12_24_9638.jpg', '/home/nano/Desktop/images/17082025/18/12/image_17082025_18_12_14_9667.jpg', '/home/nano/Desktop/images/17082025/18/11/image_17082025_18_12_04_10659.jpg', '/home/nano/Desktop/images/17082025/18/11/image_17082025_18_11_54_9637.jpg', '/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_14_9669.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/12/image_17082025_18_12_34_10648.jpg
/home/nano/Desktop/images/17082025/18/12/image_17082025_18_12_24_9638.jpg
/home/nano/Desktop/images/17082025/18/12/image_17082025_18_12_14_9667.jpg
/home/nano/Desktop/images/17082025/18/11/image_17082025_18_12_04_10659.jpg
/home/nano/Desktop/images/17082025/18/11/image_17082025_18_11_54_9637.jpg
/home/nano/Desktop/images/17082025/14/30/image_17082025_14_30_14_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681304","1377681307","1377681306","1377681300","1377681302","1377681308"],"photo_ids_order":["1377681300","1377681302","1377681304","1377681306","1377681307","1377681308"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fae8d233ddb4da74d5975fdb8330e12d.jpg","text":"TemporaryFile(/tmp/multipartBody4614567485358255553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447215325,"filename":"image_17082025_18_12_14_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f5a7cc4f46fea3378ec22aa725221c65.jpg","text":"TemporaryFile(/tmp/multipartBody7365567598668088765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447215325,"filename":"image_17082025_18_11_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/16820ab248b9608b5ea34410887fba5a.jpg","text":"TemporaryFile(/tmp/multipartBody2972479659292171583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447215325,"filename":"image_17082025_18_12_04_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2de982babf0aa078a849d875aa40b007.jpg","text":"TemporaryFile(/tmp/multipartBody4036100814475113929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447215325,"filename":"image_17082025_18_12_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dd04646c62b22fb0943f4572e8e82905.jpg","text":"TemporaryFile(/tmp/multipartBody9103565575724370298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447215325,"filename":"image_17082025_18_12_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1c0d2f2912e93bee433e65283bdcad0d.jpg","text":"TemporaryFile(/tmp/multipartBody5537315532376743791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447215325,"filename":"image_17082025_14_30_14_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681304","file1":"1377681302","file0":"1377681300","file4":"1377681307","file5":"1377681308","file3":"1377681306"},"map_files_photo_id_array":[{"photo_id":"1377681308","filename":"file5"},{"photo_id":"1377681304","filename":"file2"},{"photo_id":"1377681307","filename":"file4"},{"photo_id":"1377681302","filename":"file1"},{"photo_id":"1377681300","filename":"file0"},{"photo_id":"1377681306","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681304":["hashtag1","hashtag2"]},{"1377681307":["hashtag1","hashtag2"]},{"1377681306":["hashtag1","hashtag2"]},{"1377681300":["hashtag1","hashtag2"]},{"1377681302":["hashtag1","hashtag2"]},{"1377681308":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681304, 1377681307, 1377681306, 1377681300, 1377681302, 1377681308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.51814031600952 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:13:17.489754
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/13/image_17082025_18_13_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/18/13/image_17082025_18_13_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/18/13/image_17082025_18_13_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/18/13/image_17082025_18_13_14_9671.jpg', 2), ('/home/nano/Desktop/images/17082025/18/12/image_17082025_18_13_04_10676.jpg', 2), ('/home/nano/Desktop/images/17082025/18/12/image_17082025_18_12_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/13/image_17082025_18_13_44_9639.jpg', '/home/nano/Desktop/images/17082025/18/13/image_17082025_18_13_34_10649.jpg', '/home/nano/Desktop/images/17082025/18/13/image_17082025_18_13_24_9639.jpg', '/home/nano/Desktop/images/17082025/18/13/image_17082025_18_13_14_9671.jpg', '/home/nano/Desktop/images/17082025/18/12/image_17082025_18_13_04_10676.jpg', '/home/nano/Desktop/images/17082025/18/12/image_17082025_18_12_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/13/image_17082025_18_13_44_9639.jpg
/home/nano/Desktop/images/17082025/18/13/image_17082025_18_13_34_10649.jpg
/home/nano/Desktop/images/17082025/18/13/image_17082025_18_13_24_9639.jpg
/home/nano/Desktop/images/17082025/18/13/image_17082025_18_13_14_9671.jpg
/home/nano/Desktop/images/17082025/18/12/image_17082025_18_13_04_10676.jpg
/home/nano/Desktop/images/17082025/18/12/image_17082025_18_12_44_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681319","1377681324","1377681321","1377681323","1377681317","1377681326"],"photo_ids_order":["1377681317","1377681319","1377681321","1377681323","1377681324","1377681326"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f28bf693ae68416554530fee9c206c7f.jpg","text":"TemporaryFile(/tmp/multipartBody2061297953224019537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447259366,"filename":"image_17082025_18_13_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bd00ec50a3c366bfcd74a3d743387193.jpg","text":"TemporaryFile(/tmp/multipartBody8034640274639694358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447259366,"filename":"image_17082025_18_13_04_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f8fed50608d2fce4620847e50e148375.jpg","text":"TemporaryFile(/tmp/multipartBody6461496037862758531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447259366,"filename":"image_17082025_18_13_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/08d0924c5c324497b7bba3e23540e631.jpg","text":"TemporaryFile(/tmp/multipartBody1965150403943270023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447259366,"filename":"image_17082025_18_13_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/76c4b7dcb375da6fa7989cb32af714d9.jpg","text":"TemporaryFile(/tmp/multipartBody2376699184827391413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447259366,"filename":"image_17082025_18_13_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/22a2ef9b67c6036d0e7cad08917d13b5.jpg","text":"TemporaryFile(/tmp/multipartBody6019515531772284404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447259366,"filename":"image_17082025_18_12_44_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681321","file1":"1377681319","file0":"1377681317","file4":"1377681324","file5":"1377681326","file3":"1377681323"},"map_files_photo_id_array":[{"photo_id":"1377681326","filename":"file5"},{"photo_id":"1377681321","filename":"file2"},{"photo_id":"1377681324","filename":"file4"},{"photo_id":"1377681319","filename":"file1"},{"photo_id":"1377681317","filename":"file0"},{"photo_id":"1377681323","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681319":["hashtag1","hashtag2"]},{"1377681324":["hashtag1","hashtag2"]},{"1377681321":["hashtag1","hashtag2"]},{"1377681323":["hashtag1","hashtag2"]},{"1377681317":["hashtag1","hashtag2"]},{"1377681326":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681319, 1377681324, 1377681321, 1377681323, 1377681317, 1377681326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63187074661255 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:14:03.314546
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/29/image_17082025_14_30_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/14/29/image_17082025_14_29_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/14/29/image_17082025_14_29_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/29/image_17082025_14_29_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/29/image_17082025_14_29_25_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/14/28/image_17082025_14_29_04_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/29/image_17082025_14_30_04_9652.jpg', '/home/nano/Desktop/images/17082025/14/29/image_17082025_14_29_54_10648.jpg', '/home/nano/Desktop/images/17082025/14/29/image_17082025_14_29_44_9640.jpg', '/home/nano/Desktop/images/17082025/14/29/image_17082025_14_29_34_9637.jpg', '/home/nano/Desktop/images/17082025/14/29/image_17082025_14_29_25_10669.jpg', '/home/nano/Desktop/images/17082025/14/28/image_17082025_14_29_04_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/29/image_17082025_14_30_04_9652.jpg
/home/nano/Desktop/images/17082025/14/29/image_17082025_14_29_54_10648.jpg
/home/nano/Desktop/images/17082025/14/29/image_17082025_14_29_44_9640.jpg
/home/nano/Desktop/images/17082025/14/29/image_17082025_14_29_34_9637.jpg
/home/nano/Desktop/images/17082025/14/29/image_17082025_14_29_25_10669.jpg
/home/nano/Desktop/images/17082025/14/28/image_17082025_14_29_04_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681343","1377681339","1377681330","1377681333","1377681346","1377681340"],"photo_ids_order":["1377681330","1377681333","1377681339","1377681340","1377681343","1377681346"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5651b35539d021e778eb0c499d18276d.jpg","text":"TemporaryFile(/tmp/multipartBody5459202527871223563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447304930,"filename":"image_17082025_14_29_25_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8da2ba38a0fca5b0fdc483896f5d03d2.jpg","text":"TemporaryFile(/tmp/multipartBody4468183062016597051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447304930,"filename":"image_17082025_14_29_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5255aed78e174ee6bed2bb927f7ef7cc.jpg","text":"TemporaryFile(/tmp/multipartBody324547552086811739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447304930,"filename":"image_17082025_14_30_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0150c58428ef55323d68e847515284f0.jpg","text":"TemporaryFile(/tmp/multipartBody388939454896225090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447304930,"filename":"image_17082025_14_29_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/025dce0555a4d0fd7a1a3a53ebcca03a.jpg","text":"TemporaryFile(/tmp/multipartBody2099299299233512790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447304930,"filename":"image_17082025_14_29_04_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1a0ab5ac37cdc471028166834884813d.jpg","text":"TemporaryFile(/tmp/multipartBody9766023251961113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447304930,"filename":"image_17082025_14_29_34_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681339","file1":"1377681333","file0":"1377681330","file4":"1377681343","file5":"1377681346","file3":"1377681340"},"map_files_photo_id_array":[{"photo_id":"1377681346","filename":"file5"},{"photo_id":"1377681339","filename":"file2"},{"photo_id":"1377681343","filename":"file4"},{"photo_id":"1377681333","filename":"file1"},{"photo_id":"1377681330","filename":"file0"},{"photo_id":"1377681340","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681343":["hashtag1","hashtag2"]},{"1377681339":["hashtag1","hashtag2"]},{"1377681330":["hashtag1","hashtag2"]},{"1377681333":["hashtag1","hashtag2"]},{"1377681346":["hashtag1","hashtag2"]},{"1377681340":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681343, 1377681339, 1377681330, 1377681333, 1377681346, 1377681340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56174063682556 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:14:47.584547
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/14/image_17082025_18_14_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/18/14/image_17082025_18_14_25_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/18/14/image_17082025_18_14_14_9667.jpg', 2), ('/home/nano/Desktop/images/17082025/18/13/image_17082025_18_14_04_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/18/13/image_17082025_18_13_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/28/image_17082025_14_28_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/14/image_17082025_18_14_34_9637.jpg', '/home/nano/Desktop/images/17082025/18/14/image_17082025_18_14_25_10651.jpg', '/home/nano/Desktop/images/17082025/18/14/image_17082025_18_14_14_9667.jpg', '/home/nano/Desktop/images/17082025/18/13/image_17082025_18_14_04_10662.jpg', '/home/nano/Desktop/images/17082025/18/13/image_17082025_18_13_54_9640.jpg', '/home/nano/Desktop/images/17082025/14/28/image_17082025_14_28_54_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/14/image_17082025_18_14_34_9637.jpg
/home/nano/Desktop/images/17082025/18/14/image_17082025_18_14_25_10651.jpg
/home/nano/Desktop/images/17082025/18/14/image_17082025_18_14_14_9667.jpg
/home/nano/Desktop/images/17082025/18/13/image_17082025_18_14_04_10662.jpg
/home/nano/Desktop/images/17082025/18/13/image_17082025_18_13_54_9640.jpg
/home/nano/Desktop/images/17082025/14/28/image_17082025_14_28_54_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681372","1377681369","1377681360","1377681363","1377681357","1377681355"],"photo_ids_order":["1377681355","1377681357","1377681360","1377681363","1377681369","1377681372"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1c24780c6aa54a74ed60aefafa7bc197.jpg","text":"TemporaryFile(/tmp/multipartBody705550583150892936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447349368,"filename":"image_17082025_14_28_54_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/456844200abdf9623a8cc90f7828e6c4.jpg","text":"TemporaryFile(/tmp/multipartBody2537172691087972686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447349368,"filename":"image_17082025_18_13_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/82ddd575be38700731dd068b6b5ac08c.jpg","text":"TemporaryFile(/tmp/multipartBody6166913373893257843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447349368,"filename":"image_17082025_18_14_14_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/519c1e1359abe5159a37f9a91b697742.jpg","text":"TemporaryFile(/tmp/multipartBody6322051990155052416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447349368,"filename":"image_17082025_18_14_04_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ce8ba5624f91d635829db977b4655d05.jpg","text":"TemporaryFile(/tmp/multipartBody2094851219896526648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447349368,"filename":"image_17082025_18_14_25_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0612d30fc58dffaaa88c5d47ae0e7438.jpg","text":"TemporaryFile(/tmp/multipartBody886018319294784736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447349368,"filename":"image_17082025_18_14_34_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681360","file1":"1377681357","file0":"1377681355","file4":"1377681369","file5":"1377681372","file3":"1377681363"},"map_files_photo_id_array":[{"photo_id":"1377681372","filename":"file5"},{"photo_id":"1377681360","filename":"file2"},{"photo_id":"1377681369","filename":"file4"},{"photo_id":"1377681357","filename":"file1"},{"photo_id":"1377681355","filename":"file0"},{"photo_id":"1377681363","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681372":["hashtag1","hashtag2"]},{"1377681369":["hashtag1","hashtag2"]},{"1377681360":["hashtag1","hashtag2"]},{"1377681363":["hashtag1","hashtag2"]},{"1377681357":["hashtag1","hashtag2"]},{"1377681355":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681372, 1377681369, 1377681360, 1377681363, 1377681357, 1377681355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06691765785217 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:15:32.695167
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/15/image_17082025_18_15_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/18/15/image_17082025_18_15_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/18/15/image_17082025_18_15_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/18/15/image_17082025_18_15_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/18/14/image_17082025_18_15_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/18/14/image_17082025_18_14_44_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/15/image_17082025_18_15_44_9639.jpg', '/home/nano/Desktop/images/17082025/18/15/image_17082025_18_15_34_9639.jpg', '/home/nano/Desktop/images/17082025/18/15/image_17082025_18_15_24_10647.jpg', '/home/nano/Desktop/images/17082025/18/15/image_17082025_18_15_14_9657.jpg', '/home/nano/Desktop/images/17082025/18/14/image_17082025_18_15_04_9655.jpg', '/home/nano/Desktop/images/17082025/18/14/image_17082025_18_14_44_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/15/image_17082025_18_15_44_9639.jpg
/home/nano/Desktop/images/17082025/18/15/image_17082025_18_15_34_9639.jpg
/home/nano/Desktop/images/17082025/18/15/image_17082025_18_15_24_10647.jpg
/home/nano/Desktop/images/17082025/18/15/image_17082025_18_15_14_9657.jpg
/home/nano/Desktop/images/17082025/18/14/image_17082025_18_15_04_9655.jpg
/home/nano/Desktop/images/17082025/18/14/image_17082025_18_14_44_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681381","1377681378","1377681383","1377681374","1377681376","1377681379"],"photo_ids_order":["1377681374","1377681376","1377681378","1377681379","1377681381","1377681383"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a0758d2b0e8deb9c7f07080bd80d00c4.jpg","text":"TemporaryFile(/tmp/multipartBody2261695961387477117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447394451,"filename":"image_17082025_18_15_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/51b04824c96fe63c24c722bb333f5bc9.jpg","text":"TemporaryFile(/tmp/multipartBody2460865411414480566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447394451,"filename":"image_17082025_18_15_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a0607aa2052ed0d49cff4d324002635a.jpg","text":"TemporaryFile(/tmp/multipartBody5707701544036580812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447394451,"filename":"image_17082025_18_14_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5752a2105602b6ba1420daf4957bc062.jpg","text":"TemporaryFile(/tmp/multipartBody6833526179264633358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447394451,"filename":"image_17082025_18_15_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/42fc637d5aac8a2ed91e64a09151cc2f.jpg","text":"TemporaryFile(/tmp/multipartBody6195435180151980536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447394451,"filename":"image_17082025_18_15_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/033955ffbca56fc9f636b861531a396d.jpg","text":"TemporaryFile(/tmp/multipartBody1446268303762702265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447394451,"filename":"image_17082025_18_15_14_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681378","file1":"1377681376","file0":"1377681374","file4":"1377681381","file5":"1377681383","file3":"1377681379"},"map_files_photo_id_array":[{"photo_id":"1377681383","filename":"file5"},{"photo_id":"1377681378","filename":"file2"},{"photo_id":"1377681381","filename":"file4"},{"photo_id":"1377681376","filename":"file1"},{"photo_id":"1377681374","filename":"file0"},{"photo_id":"1377681379","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681381":["hashtag1","hashtag2"]},{"1377681378":["hashtag1","hashtag2"]},{"1377681383":["hashtag1","hashtag2"]},{"1377681374":["hashtag1","hashtag2"]},{"1377681376":["hashtag1","hashtag2"]},{"1377681379":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681381, 1377681378, 1377681383, 1377681374, 1377681376, 1377681379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78981423377991 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:16:16.822856
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/16/image_17082025_18_16_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/16/image_17082025_18_16_34_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/18/16/image_17082025_18_16_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/18/16/image_17082025_18_16_14_9672.jpg', 2), ('/home/nano/Desktop/images/17082025/18/15/image_17082025_18_16_04_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/18/15/image_17082025_18_15_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/16/image_17082025_18_16_44_9638.jpg', '/home/nano/Desktop/images/17082025/18/16/image_17082025_18_16_34_9658.jpg', '/home/nano/Desktop/images/17082025/18/16/image_17082025_18_16_24_10646.jpg', '/home/nano/Desktop/images/17082025/18/16/image_17082025_18_16_14_9672.jpg', '/home/nano/Desktop/images/17082025/18/15/image_17082025_18_16_04_9639.jpg', '/home/nano/Desktop/images/17082025/18/15/image_17082025_18_15_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/16/image_17082025_18_16_44_9638.jpg
/home/nano/Desktop/images/17082025/18/16/image_17082025_18_16_34_9658.jpg
/home/nano/Desktop/images/17082025/18/16/image_17082025_18_16_24_10646.jpg
/home/nano/Desktop/images/17082025/18/16/image_17082025_18_16_14_9672.jpg
/home/nano/Desktop/images/17082025/18/15/image_17082025_18_16_04_9639.jpg
/home/nano/Desktop/images/17082025/18/15/image_17082025_18_15_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681400","1377681399","1377681396","1377681398","1377681394","1377681397"],"photo_ids_order":["1377681394","1377681396","1377681397","1377681398","1377681399","1377681400"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/68f14eb1b6e4dd0472c0504bb164145e.jpg","text":"TemporaryFile(/tmp/multipartBody3876567553065560255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447438661,"filename":"image_17082025_18_15_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9271492c9bbc9c3b0e85c12450f05997.jpg","text":"TemporaryFile(/tmp/multipartBody4372162229226802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447438661,"filename":"image_17082025_18_16_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d0a511fbbf4a60a69d6a9131cdf8c25c.jpg","text":"TemporaryFile(/tmp/multipartBody343602957111898047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447438661,"filename":"image_17082025_18_16_34_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/561b3dd1f5345a8f53e1c07250fc95f9.jpg","text":"TemporaryFile(/tmp/multipartBody1619938907447379446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447438661,"filename":"image_17082025_18_16_14_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ec33890acbbf26ab8e1131f6b7354dbb.jpg","text":"TemporaryFile(/tmp/multipartBody3137376167134803994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447438661,"filename":"image_17082025_18_16_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/89a640ec081c796afa51094c2cea8129.jpg","text":"TemporaryFile(/tmp/multipartBody3659173008961644337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447438661,"filename":"image_17082025_18_16_24_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681397","file1":"1377681396","file0":"1377681394","file4":"1377681399","file5":"1377681400","file3":"1377681398"},"map_files_photo_id_array":[{"photo_id":"1377681400","filename":"file5"},{"photo_id":"1377681397","filename":"file2"},{"photo_id":"1377681399","filename":"file4"},{"photo_id":"1377681396","filename":"file1"},{"photo_id":"1377681394","filename":"file0"},{"photo_id":"1377681398","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681400":["hashtag1","hashtag2"]},{"1377681399":["hashtag1","hashtag2"]},{"1377681396":["hashtag1","hashtag2"]},{"1377681398":["hashtag1","hashtag2"]},{"1377681394":["hashtag1","hashtag2"]},{"1377681397":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681400, 1377681399, 1377681396, 1377681398, 1377681394, 1377681397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72619557380676 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:17:02.490015
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/28/image_17082025_14_28_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/28/image_17082025_14_28_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/14/28/image_17082025_14_28_24_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/14/28/image_17082025_14_28_14_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/14/27/image_17082025_14_28_04_10654.jpg', 2), ('/home/nano/Desktop/images/17082025/14/27/image_17082025_14_27_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/28/image_17082025_14_28_44_9640.jpg', '/home/nano/Desktop/images/17082025/14/28/image_17082025_14_28_34_10648.jpg', '/home/nano/Desktop/images/17082025/14/28/image_17082025_14_28_24_9645.jpg', '/home/nano/Desktop/images/17082025/14/28/image_17082025_14_28_14_9666.jpg', '/home/nano/Desktop/images/17082025/14/27/image_17082025_14_28_04_10654.jpg', '/home/nano/Desktop/images/17082025/14/27/image_17082025_14_27_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/28/image_17082025_14_28_44_9640.jpg
/home/nano/Desktop/images/17082025/14/28/image_17082025_14_28_34_10648.jpg
/home/nano/Desktop/images/17082025/14/28/image_17082025_14_28_24_9645.jpg
/home/nano/Desktop/images/17082025/14/28/image_17082025_14_28_14_9666.jpg
/home/nano/Desktop/images/17082025/14/27/image_17082025_14_28_04_10654.jpg
/home/nano/Desktop/images/17082025/14/27/image_17082025_14_27_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681415","1377681417","1377681405","1377681416","1377681419","1377681407"],"photo_ids_order":["1377681405","1377681407","1377681415","1377681416","1377681417","1377681419"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/90532d8d3e6c90725e62f113146c08bc.jpg","text":"TemporaryFile(/tmp/multipartBody6120858973749169301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447484508,"filename":"image_17082025_14_28_24_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a9e3556e8b558febd02fd137e63d46f6.jpg","text":"TemporaryFile(/tmp/multipartBody6899378927577148319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447484508,"filename":"image_17082025_14_28_04_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/34c9183ef1dd180f2ead50dee6fb5879.jpg","text":"TemporaryFile(/tmp/multipartBody958792406987727002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447484508,"filename":"image_17082025_14_28_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b6c4d4c772111b288c4e4480f7c00e9f.jpg","text":"TemporaryFile(/tmp/multipartBody5038476489227485323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447484508,"filename":"image_17082025_14_28_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4d5d144451e6c69c5ba8fc8e4aa45e84.jpg","text":"TemporaryFile(/tmp/multipartBody5163664765620915180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447484508,"filename":"image_17082025_14_27_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7a3bd71bc6279bd4a20e6eff57609513.jpg","text":"TemporaryFile(/tmp/multipartBody1319022624055187506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447484508,"filename":"image_17082025_14_28_34_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681415","file1":"1377681407","file0":"1377681405","file4":"1377681417","file5":"1377681419","file3":"1377681416"},"map_files_photo_id_array":[{"photo_id":"1377681419","filename":"file5"},{"photo_id":"1377681415","filename":"file2"},{"photo_id":"1377681417","filename":"file4"},{"photo_id":"1377681407","filename":"file1"},{"photo_id":"1377681405","filename":"file0"},{"photo_id":"1377681416","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681415":["hashtag1","hashtag2"]},{"1377681417":["hashtag1","hashtag2"]},{"1377681405":["hashtag1","hashtag2"]},{"1377681416":["hashtag1","hashtag2"]},{"1377681419":["hashtag1","hashtag2"]},{"1377681407":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681415, 1377681417, 1377681405, 1377681416, 1377681419, 1377681407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.796313524246216 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:17:46.915536
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/17/image_17082025_18_17_45_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/18/17/image_17082025_18_17_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/17/image_17082025_18_17_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/18/17/image_17082025_18_17_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/18/16/image_17082025_18_17_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/18/16/image_17082025_18_16_54_10687.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/17/image_17082025_18_17_45_10646.jpg', '/home/nano/Desktop/images/17082025/18/17/image_17082025_18_17_34_9638.jpg', '/home/nano/Desktop/images/17082025/18/17/image_17082025_18_17_24_10648.jpg', '/home/nano/Desktop/images/17082025/18/17/image_17082025_18_17_14_9658.jpg', '/home/nano/Desktop/images/17082025/18/16/image_17082025_18_17_04_9648.jpg', '/home/nano/Desktop/images/17082025/18/16/image_17082025_18_16_54_10687.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/17/image_17082025_18_17_45_10646.jpg
/home/nano/Desktop/images/17082025/18/17/image_17082025_18_17_34_9638.jpg
/home/nano/Desktop/images/17082025/18/17/image_17082025_18_17_24_10648.jpg
/home/nano/Desktop/images/17082025/18/17/image_17082025_18_17_14_9658.jpg
/home/nano/Desktop/images/17082025/18/16/image_17082025_18_17_04_9648.jpg
/home/nano/Desktop/images/17082025/18/16/image_17082025_18_16_54_10687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681423","1377681434","1377681428","1377681431","1377681425","1377681442"],"photo_ids_order":["1377681423","1377681425","1377681428","1377681431","1377681434","1377681442"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cf383818478442692c441fa32aca204f.jpg","text":"TemporaryFile(/tmp/multipartBody995353804837433296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447528656,"filename":"image_17082025_18_17_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a4554e1cdd549123282ff636464a8c3d.jpg","text":"TemporaryFile(/tmp/multipartBody2361314517561873097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447528656,"filename":"image_17082025_18_17_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/144db5ebbd45665c50d6c6cb2e1787c3.jpg","text":"TemporaryFile(/tmp/multipartBody2329992954576901034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447528656,"filename":"image_17082025_18_17_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5634c82293abe724dabe96846a44a84a.jpg","text":"TemporaryFile(/tmp/multipartBody938467066084758642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447528656,"filename":"image_17082025_18_17_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3412c18f68879052de1a15927024651d.jpg","text":"TemporaryFile(/tmp/multipartBody2726596638849018974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447528656,"filename":"image_17082025_18_17_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6e5e184d6eb04abcf9cd205c68907e82.jpg","text":"TemporaryFile(/tmp/multipartBody5443532465797587221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447528656,"filename":"image_17082025_18_16_54_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681428","file1":"1377681425","file0":"1377681423","file4":"1377681434","file5":"1377681442","file3":"1377681431"},"map_files_photo_id_array":[{"photo_id":"1377681442","filename":"file5"},{"photo_id":"1377681428","filename":"file2"},{"photo_id":"1377681434","filename":"file4"},{"photo_id":"1377681425","filename":"file1"},{"photo_id":"1377681423","filename":"file0"},{"photo_id":"1377681431","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681423":["hashtag1","hashtag2"]},{"1377681434":["hashtag1","hashtag2"]},{"1377681428":["hashtag1","hashtag2"]},{"1377681431":["hashtag1","hashtag2"]},{"1377681425":["hashtag1","hashtag2"]},{"1377681442":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681423, 1377681434, 1377681428, 1377681431, 1377681425, 1377681442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.692941188812256 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:18:32.041244
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/18/image_17082025_18_18_44_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/18/18/image_17082025_18_18_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/18/18/image_17082025_18_18_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/18/18/image_17082025_18_18_15_10683.jpg', 2), ('/home/nano/Desktop/images/17082025/18/17/image_17082025_18_18_04_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/18/17/image_17082025_18_17_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/18/image_17082025_18_18_44_10664.jpg', '/home/nano/Desktop/images/17082025/18/18/image_17082025_18_18_34_9636.jpg', '/home/nano/Desktop/images/17082025/18/18/image_17082025_18_18_24_9636.jpg', '/home/nano/Desktop/images/17082025/18/18/image_17082025_18_18_15_10683.jpg', '/home/nano/Desktop/images/17082025/18/17/image_17082025_18_18_04_9663.jpg', '/home/nano/Desktop/images/17082025/18/17/image_17082025_18_17_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/18/image_17082025_18_18_44_10664.jpg
/home/nano/Desktop/images/17082025/18/18/image_17082025_18_18_34_9636.jpg
/home/nano/Desktop/images/17082025/18/18/image_17082025_18_18_24_9636.jpg
/home/nano/Desktop/images/17082025/18/18/image_17082025_18_18_15_10683.jpg
/home/nano/Desktop/images/17082025/18/17/image_17082025_18_18_04_9663.jpg
/home/nano/Desktop/images/17082025/18/17/image_17082025_18_17_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681453","1377681459","1377681450","1377681447","1377681455","1377681458"],"photo_ids_order":["1377681447","1377681450","1377681453","1377681455","1377681458","1377681459"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c7b051964855c05de4ae927058de2814.jpg","text":"TemporaryFile(/tmp/multipartBody5304053485255473912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447573922,"filename":"image_17082025_18_18_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c6ec07a76761a5348b069ef335db864d.jpg","text":"TemporaryFile(/tmp/multipartBody2327892482100573928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447573922,"filename":"image_17082025_18_17_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a45b31961a5b1a50446e49a0ed9caeec.jpg","text":"TemporaryFile(/tmp/multipartBody5180924755920178700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447573922,"filename":"image_17082025_18_18_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c548413f4b8ad69672fefd3b9d60d9dc.jpg","text":"TemporaryFile(/tmp/multipartBody7379804363094342451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447573922,"filename":"image_17082025_18_18_44_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f76c1494f2fe93f073e4dffaf272ae8b.jpg","text":"TemporaryFile(/tmp/multipartBody1642668122148638837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447573922,"filename":"image_17082025_18_18_15_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e061e0ff798f58ca9b21e3bbeae5ac94.jpg","text":"TemporaryFile(/tmp/multipartBody5772198238319336393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447573922,"filename":"image_17082025_18_18_04_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681453","file1":"1377681450","file0":"1377681447","file4":"1377681458","file5":"1377681459","file3":"1377681455"},"map_files_photo_id_array":[{"photo_id":"1377681459","filename":"file5"},{"photo_id":"1377681453","filename":"file2"},{"photo_id":"1377681458","filename":"file4"},{"photo_id":"1377681450","filename":"file1"},{"photo_id":"1377681447","filename":"file0"},{"photo_id":"1377681455","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681453":["hashtag1","hashtag2"]},{"1377681459":["hashtag1","hashtag2"]},{"1377681450":["hashtag1","hashtag2"]},{"1377681447":["hashtag1","hashtag2"]},{"1377681455":["hashtag1","hashtag2"]},{"1377681458":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681453, 1377681459, 1377681450, 1377681447, 1377681455, 1377681458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00323462486267 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:19:17.113641
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/19/image_17082025_18_19_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/18/19/image_17082025_18_19_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/18/19/image_17082025_18_19_24_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/18/19/image_17082025_18_19_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/18/18/image_17082025_18_19_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/18/18/image_17082025_18_18_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/19/image_17082025_18_19_44_10648.jpg', '/home/nano/Desktop/images/17082025/18/19/image_17082025_18_19_34_9639.jpg', '/home/nano/Desktop/images/17082025/18/19/image_17082025_18_19_24_9658.jpg', '/home/nano/Desktop/images/17082025/18/19/image_17082025_18_19_14_10666.jpg', '/home/nano/Desktop/images/17082025/18/18/image_17082025_18_19_04_9641.jpg', '/home/nano/Desktop/images/17082025/18/18/image_17082025_18_18_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/19/image_17082025_18_19_44_10648.jpg
/home/nano/Desktop/images/17082025/18/19/image_17082025_18_19_34_9639.jpg
/home/nano/Desktop/images/17082025/18/19/image_17082025_18_19_24_9658.jpg
/home/nano/Desktop/images/17082025/18/19/image_17082025_18_19_14_10666.jpg
/home/nano/Desktop/images/17082025/18/18/image_17082025_18_19_04_9641.jpg
/home/nano/Desktop/images/17082025/18/18/image_17082025_18_18_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681471","1377681468","1377681477","1377681473","1377681475","1377681469"],"photo_ids_order":["1377681468","1377681469","1377681471","1377681473","1377681475","1377681477"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/71b425a042375c6da292c0ae947ca724.jpg","text":"TemporaryFile(/tmp/multipartBody1513886635129555609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447618869,"filename":"image_17082025_18_19_24_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9760f3b9f9a1fea0e3115964a6996b27.jpg","text":"TemporaryFile(/tmp/multipartBody1501585800538072391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447618869,"filename":"image_17082025_18_19_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4576417c776137f8b6ecaab5463ef168.jpg","text":"TemporaryFile(/tmp/multipartBody715727530742562022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447618869,"filename":"image_17082025_18_18_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e7b3368f4b397381f3fef894b71681b5.jpg","text":"TemporaryFile(/tmp/multipartBody1618000600531656962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447618869,"filename":"image_17082025_18_19_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/be7ef1f29c6a0d014670e4706e29cf2a.jpg","text":"TemporaryFile(/tmp/multipartBody4616029521031711010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447618869,"filename":"image_17082025_18_19_04_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/08ea30d3c8ccf80df39063d453abf6cd.jpg","text":"TemporaryFile(/tmp/multipartBody424308028299595699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447618869,"filename":"image_17082025_18_19_34_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681471","file1":"1377681469","file0":"1377681468","file4":"1377681475","file5":"1377681477","file3":"1377681473"},"map_files_photo_id_array":[{"photo_id":"1377681477","filename":"file5"},{"photo_id":"1377681471","filename":"file2"},{"photo_id":"1377681475","filename":"file4"},{"photo_id":"1377681469","filename":"file1"},{"photo_id":"1377681468","filename":"file0"},{"photo_id":"1377681473","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681471":["hashtag1","hashtag2"]},{"1377681468":["hashtag1","hashtag2"]},{"1377681477":["hashtag1","hashtag2"]},{"1377681473":["hashtag1","hashtag2"]},{"1377681475":["hashtag1","hashtag2"]},{"1377681469":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681471, 1377681468, 1377681477, 1377681473, 1377681475, 1377681469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63713240623474 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:20:02.691685
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/27/image_17082025_14_27_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/27/image_17082025_14_27_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/14/27/image_17082025_14_27_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/27/image_17082025_14_27_14_9673.jpg', 2), ('/home/nano/Desktop/images/17082025/14/26/image_17082025_14_27_04_10658.jpg', 2), ('/home/nano/Desktop/images/17082025/14/26/image_17082025_14_26_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/27/image_17082025_14_27_44_9640.jpg', '/home/nano/Desktop/images/17082025/14/27/image_17082025_14_27_34_10650.jpg', '/home/nano/Desktop/images/17082025/14/27/image_17082025_14_27_24_9640.jpg', '/home/nano/Desktop/images/17082025/14/27/image_17082025_14_27_14_9673.jpg', '/home/nano/Desktop/images/17082025/14/26/image_17082025_14_27_04_10658.jpg', '/home/nano/Desktop/images/17082025/14/26/image_17082025_14_26_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/27/image_17082025_14_27_44_9640.jpg
/home/nano/Desktop/images/17082025/14/27/image_17082025_14_27_34_10650.jpg
/home/nano/Desktop/images/17082025/14/27/image_17082025_14_27_24_9640.jpg
/home/nano/Desktop/images/17082025/14/27/image_17082025_14_27_14_9673.jpg
/home/nano/Desktop/images/17082025/14/26/image_17082025_14_27_04_10658.jpg
/home/nano/Desktop/images/17082025/14/26/image_17082025_14_26_54_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681486","1377681495","1377681482","1377681491","1377681493","1377681490"],"photo_ids_order":["1377681482","1377681486","1377681490","1377681491","1377681493","1377681495"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f9f70a2aa25dd656ca11836653518d97.jpg","text":"TemporaryFile(/tmp/multipartBody3493164954937690078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447664653,"filename":"image_17082025_14_27_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1664d11cc4020f33f222ec83317f0909.jpg","text":"TemporaryFile(/tmp/multipartBody2017249082505771019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447664653,"filename":"image_17082025_14_26_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e844e1782c7d99e922442fbe9d68c39d.jpg","text":"TemporaryFile(/tmp/multipartBody3567280506106309138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447664653,"filename":"image_17082025_14_27_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b98cc98b35cf5647da8e9bd2b2c004d0.jpg","text":"TemporaryFile(/tmp/multipartBody3318886455609837904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447664653,"filename":"image_17082025_14_27_14_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a96ac7d10a20cf19b3aee528c1cd888a.jpg","text":"TemporaryFile(/tmp/multipartBody94505543149632381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447664653,"filename":"image_17082025_14_27_04_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b26b886912e8f556d4e60c7e7e9db130.jpg","text":"TemporaryFile(/tmp/multipartBody6716302069217181470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447664653,"filename":"image_17082025_14_27_24_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681490","file1":"1377681486","file0":"1377681482","file4":"1377681493","file5":"1377681495","file3":"1377681491"},"map_files_photo_id_array":[{"photo_id":"1377681495","filename":"file5"},{"photo_id":"1377681490","filename":"file2"},{"photo_id":"1377681493","filename":"file4"},{"photo_id":"1377681486","filename":"file1"},{"photo_id":"1377681482","filename":"file0"},{"photo_id":"1377681491","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681486":["hashtag1","hashtag2"]},{"1377681495":["hashtag1","hashtag2"]},{"1377681482":["hashtag1","hashtag2"]},{"1377681491":["hashtag1","hashtag2"]},{"1377681493":["hashtag1","hashtag2"]},{"1377681490":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681486, 1377681495, 1377681482, 1377681491, 1377681493, 1377681490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88707971572876 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:20:47.243057
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/20/image_17082025_18_20_54_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/18/20/image_17082025_18_20_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/18/20/image_17082025_18_20_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/18/20/image_17082025_18_20_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/18/19/image_17082025_18_20_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/18/19/image_17082025_18_19_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/20/image_17082025_18_20_54_9636.jpg', '/home/nano/Desktop/images/17082025/18/20/image_17082025_18_20_34_9636.jpg', '/home/nano/Desktop/images/17082025/18/20/image_17082025_18_20_24_9636.jpg', '/home/nano/Desktop/images/17082025/18/20/image_17082025_18_20_14_10664.jpg', '/home/nano/Desktop/images/17082025/18/19/image_17082025_18_20_04_9648.jpg', '/home/nano/Desktop/images/17082025/18/19/image_17082025_18_19_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/20/image_17082025_18_20_54_9636.jpg
/home/nano/Desktop/images/17082025/18/20/image_17082025_18_20_34_9636.jpg
/home/nano/Desktop/images/17082025/18/20/image_17082025_18_20_24_9636.jpg
/home/nano/Desktop/images/17082025/18/20/image_17082025_18_20_14_10664.jpg
/home/nano/Desktop/images/17082025/18/19/image_17082025_18_20_04_9648.jpg
/home/nano/Desktop/images/17082025/18/19/image_17082025_18_19_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681520","1377681502","1377681504","1377681507","1377681509","1377681511"],"photo_ids_order":["1377681502","1377681504","1377681507","1377681509","1377681511","1377681520"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dd3925e1453e7537bb8ea3b857d81609.jpg","text":"TemporaryFile(/tmp/multipartBody1159468755976306465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447709154,"filename":"image_17082025_18_19_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/be8740902ff5b5544f73485a2f903f99.jpg","text":"TemporaryFile(/tmp/multipartBody9032923026270766861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447709154,"filename":"image_17082025_18_20_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6dd2514b47edd0234f2755938377adf1.jpg","text":"TemporaryFile(/tmp/multipartBody1840791283526529434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447709154,"filename":"image_17082025_18_20_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a83d325d9162ac7ac874b8aad94bb580.jpg","text":"TemporaryFile(/tmp/multipartBody3187023630203979498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447709154,"filename":"image_17082025_18_20_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5a26110a4f15c80c0d12ed483fce0833.jpg","text":"TemporaryFile(/tmp/multipartBody6823270871653265779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447709154,"filename":"image_17082025_18_20_14_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a56c978b9fb4596f3667bea3aa1534c3.jpg","text":"TemporaryFile(/tmp/multipartBody178653787437742966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447709154,"filename":"image_17082025_18_20_04_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681507","file1":"1377681504","file0":"1377681502","file4":"1377681511","file5":"1377681520","file3":"1377681509"},"map_files_photo_id_array":[{"photo_id":"1377681520","filename":"file5"},{"photo_id":"1377681507","filename":"file2"},{"photo_id":"1377681511","filename":"file4"},{"photo_id":"1377681504","filename":"file1"},{"photo_id":"1377681502","filename":"file0"},{"photo_id":"1377681509","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681520":["hashtag1","hashtag2"]},{"1377681502":["hashtag1","hashtag2"]},{"1377681504":["hashtag1","hashtag2"]},{"1377681507":["hashtag1","hashtag2"]},{"1377681509":["hashtag1","hashtag2"]},{"1377681511":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681520, 1377681502, 1377681504, 1377681507, 1377681509, 1377681511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85063338279724 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:21:32.411916
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/21/image_17082025_18_21_44_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/18/21/image_17082025_18_21_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/18/21/image_17082025_18_21_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/21/image_17082025_18_21_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/18/20/image_17082025_18_21_05_10661.jpg', 2), ('/home/nano/Desktop/images/17082025/18/20/image_17082025_18_20_44_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/21/image_17082025_18_21_44_9635.jpg', '/home/nano/Desktop/images/17082025/18/21/image_17082025_18_21_34_10646.jpg', '/home/nano/Desktop/images/17082025/18/21/image_17082025_18_21_24_9638.jpg', '/home/nano/Desktop/images/17082025/18/21/image_17082025_18_21_14_9657.jpg', '/home/nano/Desktop/images/17082025/18/20/image_17082025_18_21_05_10661.jpg', '/home/nano/Desktop/images/17082025/18/20/image_17082025_18_20_44_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/21/image_17082025_18_21_44_9635.jpg
/home/nano/Desktop/images/17082025/18/21/image_17082025_18_21_34_10646.jpg
/home/nano/Desktop/images/17082025/18/21/image_17082025_18_21_24_9638.jpg
/home/nano/Desktop/images/17082025/18/21/image_17082025_18_21_14_9657.jpg
/home/nano/Desktop/images/17082025/18/20/image_17082025_18_21_05_10661.jpg
/home/nano/Desktop/images/17082025/18/20/image_17082025_18_20_44_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681529","1377681531","1377681525","1377681528","1377681524","1377681526"],"photo_ids_order":["1377681524","1377681525","1377681526","1377681528","1377681529","1377681531"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fb1516b36dae0d64e31a6f5687804f3e.jpg","text":"TemporaryFile(/tmp/multipartBody5298999484435517705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447754252,"filename":"image_17082025_18_21_05_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/55e9f116bf1631f843f8dbeb39876cfd.jpg","text":"TemporaryFile(/tmp/multipartBody957086427361311920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447754252,"filename":"image_17082025_18_20_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9a3f06770d3de7d305919c70aa61119c.jpg","text":"TemporaryFile(/tmp/multipartBody6128015648642256647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447754252,"filename":"image_17082025_18_21_34_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b9b23a57289254d084b6eb8be2f56ca1.jpg","text":"TemporaryFile(/tmp/multipartBody6950063211441348068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447754252,"filename":"image_17082025_18_21_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5c703df2d0e99aa92b432c481f87eb51.jpg","text":"TemporaryFile(/tmp/multipartBody5610644743097659422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447754252,"filename":"image_17082025_18_21_44_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1c655220abe3615085675b8d1defa772.jpg","text":"TemporaryFile(/tmp/multipartBody5794946866921888454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447754252,"filename":"image_17082025_18_21_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681526","file1":"1377681525","file0":"1377681524","file4":"1377681529","file5":"1377681531","file3":"1377681528"},"map_files_photo_id_array":[{"photo_id":"1377681531","filename":"file5"},{"photo_id":"1377681526","filename":"file2"},{"photo_id":"1377681529","filename":"file4"},{"photo_id":"1377681525","filename":"file1"},{"photo_id":"1377681524","filename":"file0"},{"photo_id":"1377681528","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681529":["hashtag1","hashtag2"]},{"1377681531":["hashtag1","hashtag2"]},{"1377681525":["hashtag1","hashtag2"]},{"1377681528":["hashtag1","hashtag2"]},{"1377681524":["hashtag1","hashtag2"]},{"1377681526":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681529, 1377681531, 1377681525, 1377681528, 1377681524, 1377681526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.630565881729126 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:22:17.481937
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/22/image_17082025_18_22_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/18/22/image_17082025_18_22_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/18/22/image_17082025_18_22_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/18/22/image_17082025_18_22_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/18/21/image_17082025_18_22_04_10659.jpg', 2), ('/home/nano/Desktop/images/17082025/18/21/image_17082025_18_21_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/22/image_17082025_18_22_44_9637.jpg', '/home/nano/Desktop/images/17082025/18/22/image_17082025_18_22_34_10648.jpg', '/home/nano/Desktop/images/17082025/18/22/image_17082025_18_22_24_9637.jpg', '/home/nano/Desktop/images/17082025/18/22/image_17082025_18_22_14_9653.jpg', '/home/nano/Desktop/images/17082025/18/21/image_17082025_18_22_04_10659.jpg', '/home/nano/Desktop/images/17082025/18/21/image_17082025_18_21_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/22/image_17082025_18_22_44_9637.jpg
/home/nano/Desktop/images/17082025/18/22/image_17082025_18_22_34_10648.jpg
/home/nano/Desktop/images/17082025/18/22/image_17082025_18_22_24_9637.jpg
/home/nano/Desktop/images/17082025/18/22/image_17082025_18_22_14_9653.jpg
/home/nano/Desktop/images/17082025/18/21/image_17082025_18_22_04_10659.jpg
/home/nano/Desktop/images/17082025/18/21/image_17082025_18_21_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681552","1377681546","1377681551","1377681545","1377681548","1377681550"],"photo_ids_order":["1377681545","1377681546","1377681548","1377681550","1377681551","1377681552"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/76b1c6c20308e3a2e57c09d2d14f4f2d.jpg","text":"TemporaryFile(/tmp/multipartBody6450718217033693932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447799319,"filename":"image_17082025_18_21_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fb7ad0acb97f9458cc5945bed18b98e6.jpg","text":"TemporaryFile(/tmp/multipartBody6272471226065882717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447799319,"filename":"image_17082025_18_22_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f1f56e8ee3c5b53f2d969895e092ea0d.jpg","text":"TemporaryFile(/tmp/multipartBody4684523078405439070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447799319,"filename":"image_17082025_18_22_04_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f5109674f50715318c1653dd13127be0.jpg","text":"TemporaryFile(/tmp/multipartBody3020742102682425158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447799319,"filename":"image_17082025_18_22_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e5796d3f804ac6ea3c9ab9950d26ca49.jpg","text":"TemporaryFile(/tmp/multipartBody9080439310136893177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447799319,"filename":"image_17082025_18_22_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a7b98fb1434abe14c9170dee36400414.jpg","text":"TemporaryFile(/tmp/multipartBody6010195206522006922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447799319,"filename":"image_17082025_18_22_14_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681548","file1":"1377681546","file0":"1377681545","file4":"1377681551","file5":"1377681552","file3":"1377681550"},"map_files_photo_id_array":[{"photo_id":"1377681552","filename":"file5"},{"photo_id":"1377681548","filename":"file2"},{"photo_id":"1377681551","filename":"file4"},{"photo_id":"1377681546","filename":"file1"},{"photo_id":"1377681545","filename":"file0"},{"photo_id":"1377681550","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681552":["hashtag1","hashtag2"]},{"1377681546":["hashtag1","hashtag2"]},{"1377681551":["hashtag1","hashtag2"]},{"1377681545":["hashtag1","hashtag2"]},{"1377681548":["hashtag1","hashtag2"]},{"1377681550":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681552, 1377681546, 1377681551, 1377681545, 1377681548, 1377681550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11305117607117 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:23:03.411568
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/26/image_17082025_14_26_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/26/image_17082025_14_26_34_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/14/26/image_17082025_14_26_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/26/image_17082025_14_26_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/14/25/image_17082025_14_26_04_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/14/25/image_17082025_14_25_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/26/image_17082025_14_26_44_9640.jpg', '/home/nano/Desktop/images/17082025/14/26/image_17082025_14_26_34_10666.jpg', '/home/nano/Desktop/images/17082025/14/26/image_17082025_14_26_24_9640.jpg', '/home/nano/Desktop/images/17082025/14/26/image_17082025_14_26_14_9656.jpg', '/home/nano/Desktop/images/17082025/14/25/image_17082025_14_26_04_10650.jpg', '/home/nano/Desktop/images/17082025/14/25/image_17082025_14_25_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/26/image_17082025_14_26_44_9640.jpg
/home/nano/Desktop/images/17082025/14/26/image_17082025_14_26_34_10666.jpg
/home/nano/Desktop/images/17082025/14/26/image_17082025_14_26_24_9640.jpg
/home/nano/Desktop/images/17082025/14/26/image_17082025_14_26_14_9656.jpg
/home/nano/Desktop/images/17082025/14/25/image_17082025_14_26_04_10650.jpg
/home/nano/Desktop/images/17082025/14/25/image_17082025_14_25_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681564","1377681566","1377681569","1377681554","1377681568","1377681559"],"photo_ids_order":["1377681554","1377681559","1377681564","1377681566","1377681568","1377681569"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ed5eda9cfeb2de900cd144cdd5c7ed0f.jpg","text":"TemporaryFile(/tmp/multipartBody2463305357920306153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447845609,"filename":"image_17082025_14_26_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f133825765f19b200b8f7ad72d3c080b.jpg","text":"TemporaryFile(/tmp/multipartBody3725802566326568809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447845609,"filename":"image_17082025_14_26_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/33d1caa3b658a69ab5411b6cf5789661.jpg","text":"TemporaryFile(/tmp/multipartBody7445022243594458565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447845609,"filename":"image_17082025_14_25_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3d75de84e7354573d2f11cec9c8a3095.jpg","text":"TemporaryFile(/tmp/multipartBody742431808354133519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447845609,"filename":"image_17082025_14_26_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c871d77bcc79b958156d6867ef5ba12d.jpg","text":"TemporaryFile(/tmp/multipartBody9090144555208736285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447845609,"filename":"image_17082025_14_26_04_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e1c1e5abc1216bc500909a97361d4a3d.jpg","text":"TemporaryFile(/tmp/multipartBody4768182477934324149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447845609,"filename":"image_17082025_14_26_34_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681564","file1":"1377681559","file0":"1377681554","file4":"1377681568","file5":"1377681569","file3":"1377681566"},"map_files_photo_id_array":[{"photo_id":"1377681569","filename":"file5"},{"photo_id":"1377681564","filename":"file2"},{"photo_id":"1377681568","filename":"file4"},{"photo_id":"1377681559","filename":"file1"},{"photo_id":"1377681554","filename":"file0"},{"photo_id":"1377681566","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681564":["hashtag1","hashtag2"]},{"1377681566":["hashtag1","hashtag2"]},{"1377681569":["hashtag1","hashtag2"]},{"1377681554":["hashtag1","hashtag2"]},{"1377681568":["hashtag1","hashtag2"]},{"1377681559":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681564, 1377681566, 1377681569, 1377681554, 1377681568, 1377681559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.551374197006226 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:23:47.588046
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/22/image_17082025_18_23_04_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/18/22/image_17082025_18_22_54_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/14/25/image_17082025_14_25_44_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/14/25/image_17082025_14_25_35_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/14/25/image_17082025_14_25_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/14/25/image_17082025_14_25_14_10668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/22/image_17082025_18_23_04_10649.jpg', '/home/nano/Desktop/images/17082025/18/22/image_17082025_18_22_54_9635.jpg', '/home/nano/Desktop/images/17082025/14/25/image_17082025_14_25_44_9657.jpg', '/home/nano/Desktop/images/17082025/14/25/image_17082025_14_25_35_10653.jpg', '/home/nano/Desktop/images/17082025/14/25/image_17082025_14_25_24_9641.jpg', '/home/nano/Desktop/images/17082025/14/25/image_17082025_14_25_14_10668.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/22/image_17082025_18_23_04_10649.jpg
/home/nano/Desktop/images/17082025/18/22/image_17082025_18_22_54_9635.jpg
/home/nano/Desktop/images/17082025/14/25/image_17082025_14_25_44_9657.jpg
/home/nano/Desktop/images/17082025/14/25/image_17082025_14_25_35_10653.jpg
/home/nano/Desktop/images/17082025/14/25/image_17082025_14_25_24_9641.jpg
/home/nano/Desktop/images/17082025/14/25/image_17082025_14_25_14_10668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681588","1377681576","1377681575","1377681584","1377681578","1377681574"],"photo_ids_order":["1377681574","1377681575","1377681576","1377681578","1377681584","1377681588"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bf012bac01ccfff71b0c17e48a0f2bf7.jpg","text":"TemporaryFile(/tmp/multipartBody2925042692616413499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447889794,"filename":"image_17082025_14_25_14_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0405624ffaec3de6d2fba0c60425c93c.jpg","text":"TemporaryFile(/tmp/multipartBody2072984476796604688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447889794,"filename":"image_17082025_14_25_44_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5de7b598aa34c62c910ba8b36d5822d9.jpg","text":"TemporaryFile(/tmp/multipartBody3250036440431714518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447889794,"filename":"image_17082025_18_22_54_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c8f80999f93836fc929e80707167e93b.jpg","text":"TemporaryFile(/tmp/multipartBody3901709549349178335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447889794,"filename":"image_17082025_14_25_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/209b613d3f52cfa15af5378260583387.jpg","text":"TemporaryFile(/tmp/multipartBody1441684388879711225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447889794,"filename":"image_17082025_14_25_35_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dcf1e4bc215096045f33e04fc892ef11.jpg","text":"TemporaryFile(/tmp/multipartBody3770942864105029336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447889794,"filename":"image_17082025_18_23_04_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681576","file1":"1377681575","file0":"1377681574","file4":"1377681584","file5":"1377681588","file3":"1377681578"},"map_files_photo_id_array":[{"photo_id":"1377681588","filename":"file5"},{"photo_id":"1377681576","filename":"file2"},{"photo_id":"1377681584","filename":"file4"},{"photo_id":"1377681575","filename":"file1"},{"photo_id":"1377681574","filename":"file0"},{"photo_id":"1377681578","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681588":["hashtag1","hashtag2"]},{"1377681576":["hashtag1","hashtag2"]},{"1377681575":["hashtag1","hashtag2"]},{"1377681584":["hashtag1","hashtag2"]},{"1377681578":["hashtag1","hashtag2"]},{"1377681574":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681588, 1377681576, 1377681575, 1377681584, 1377681578, 1377681574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.560683488845825 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:24:32.716299
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/24/image_17082025_18_24_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/18/24/image_17082025_18_24_34_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/18/24/image_17082025_18_24_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/18/24/image_17082025_18_24_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/18/23/image_17082025_18_24_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/18/23/image_17082025_18_23_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/24/image_17082025_18_24_44_9637.jpg', '/home/nano/Desktop/images/17082025/18/24/image_17082025_18_24_34_9652.jpg', '/home/nano/Desktop/images/17082025/18/24/image_17082025_18_24_24_10646.jpg', '/home/nano/Desktop/images/17082025/18/24/image_17082025_18_24_14_9653.jpg', '/home/nano/Desktop/images/17082025/18/23/image_17082025_18_24_04_9647.jpg', '/home/nano/Desktop/images/17082025/18/23/image_17082025_18_23_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/24/image_17082025_18_24_44_9637.jpg
/home/nano/Desktop/images/17082025/18/24/image_17082025_18_24_34_9652.jpg
/home/nano/Desktop/images/17082025/18/24/image_17082025_18_24_24_10646.jpg
/home/nano/Desktop/images/17082025/18/24/image_17082025_18_24_14_9653.jpg
/home/nano/Desktop/images/17082025/18/23/image_17082025_18_24_04_9647.jpg
/home/nano/Desktop/images/17082025/18/23/image_17082025_18_23_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681597","1377681594","1377681596","1377681600","1377681595","1377681598"],"photo_ids_order":["1377681594","1377681595","1377681596","1377681597","1377681598","1377681600"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5ea97613583e05c95b9320b8683f7474.jpg","text":"TemporaryFile(/tmp/multipartBody8044203362808927031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447934730,"filename":"image_17082025_18_24_14_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b1c696a6027f763fafd5d224d90fd087.jpg","text":"TemporaryFile(/tmp/multipartBody3361913988909074536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447934730,"filename":"image_17082025_18_24_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7f5ccea886e5afab2db4aa146fcc880a.jpg","text":"TemporaryFile(/tmp/multipartBody1184931502384413409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447934730,"filename":"image_17082025_18_24_24_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5dcd59fb24bf50b39d1d8361cf719986.jpg","text":"TemporaryFile(/tmp/multipartBody6115899160819852516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447934730,"filename":"image_17082025_18_23_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d5c430a61516387fba41f4d99f2f4d4b.jpg","text":"TemporaryFile(/tmp/multipartBody6574952525064676577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447934730,"filename":"image_17082025_18_24_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/26796300e83f7dca0706614fbfce84cc.jpg","text":"TemporaryFile(/tmp/multipartBody4943505269762463759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447934730,"filename":"image_17082025_18_24_04_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681596","file1":"1377681595","file0":"1377681594","file4":"1377681598","file5":"1377681600","file3":"1377681597"},"map_files_photo_id_array":[{"photo_id":"1377681600","filename":"file5"},{"photo_id":"1377681596","filename":"file2"},{"photo_id":"1377681598","filename":"file4"},{"photo_id":"1377681595","filename":"file1"},{"photo_id":"1377681594","filename":"file0"},{"photo_id":"1377681597","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681597":["hashtag1","hashtag2"]},{"1377681594":["hashtag1","hashtag2"]},{"1377681596":["hashtag1","hashtag2"]},{"1377681600":["hashtag1","hashtag2"]},{"1377681595":["hashtag1","hashtag2"]},{"1377681598":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681597, 1377681594, 1377681596, 1377681600, 1377681595, 1377681598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16889214515686 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:25:16.923705
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/25/image_17082025_18_25_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/25/image_17082025_18_25_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/18/25/image_17082025_18_25_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/18/25/image_17082025_18_25_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/18/24/image_17082025_18_25_04_9673.jpg', 2), ('/home/nano/Desktop/images/17082025/18/24/image_17082025_18_24_54_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/25/image_17082025_18_25_44_9638.jpg', '/home/nano/Desktop/images/17082025/18/25/image_17082025_18_25_34_9639.jpg', '/home/nano/Desktop/images/17082025/18/25/image_17082025_18_25_24_10646.jpg', '/home/nano/Desktop/images/17082025/18/25/image_17082025_18_25_14_9655.jpg', '/home/nano/Desktop/images/17082025/18/24/image_17082025_18_25_04_9673.jpg', '/home/nano/Desktop/images/17082025/18/24/image_17082025_18_24_54_10645.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/25/image_17082025_18_25_44_9638.jpg
/home/nano/Desktop/images/17082025/18/25/image_17082025_18_25_34_9639.jpg
/home/nano/Desktop/images/17082025/18/25/image_17082025_18_25_24_10646.jpg
/home/nano/Desktop/images/17082025/18/25/image_17082025_18_25_14_9655.jpg
/home/nano/Desktop/images/17082025/18/24/image_17082025_18_25_04_9673.jpg
/home/nano/Desktop/images/17082025/18/24/image_17082025_18_24_54_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681613","1377681621","1377681615","1377681618","1377681620","1377681611"],"photo_ids_order":["1377681611","1377681613","1377681615","1377681618","1377681620","1377681621"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/91a9157739376adad2165b03ce622646.jpg","text":"TemporaryFile(/tmp/multipartBody1094342269011319502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447978673,"filename":"image_17082025_18_25_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/21c30469cb5b96865369b6bca1b3ba90.jpg","text":"TemporaryFile(/tmp/multipartBody8768437533940663802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447978673,"filename":"image_17082025_18_24_54_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1145298867eb5e132e678e3a04bdf8ec.jpg","text":"TemporaryFile(/tmp/multipartBody2456191880471015373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447978673,"filename":"image_17082025_18_25_24_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ef5a124d9b7d887c2e5fdebf0809f7f1.jpg","text":"TemporaryFile(/tmp/multipartBody6849744107187558531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447978673,"filename":"image_17082025_18_25_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5c32a4bc1f810fd2079822db99498b38.jpg","text":"TemporaryFile(/tmp/multipartBody8070794736943105099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447978673,"filename":"image_17082025_18_25_04_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9e343d6150748a22b78bddf3e6c4b3a5.jpg","text":"TemporaryFile(/tmp/multipartBody8113961751624815527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755447978673,"filename":"image_17082025_18_25_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681615","file1":"1377681613","file0":"1377681611","file4":"1377681620","file5":"1377681621","file3":"1377681618"},"map_files_photo_id_array":[{"photo_id":"1377681621","filename":"file5"},{"photo_id":"1377681615","filename":"file2"},{"photo_id":"1377681620","filename":"file4"},{"photo_id":"1377681613","filename":"file1"},{"photo_id":"1377681611","filename":"file0"},{"photo_id":"1377681618","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681613":["hashtag1","hashtag2"]},{"1377681621":["hashtag1","hashtag2"]},{"1377681615":["hashtag1","hashtag2"]},{"1377681618":["hashtag1","hashtag2"]},{"1377681620":["hashtag1","hashtag2"]},{"1377681611":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681613, 1377681621, 1377681615, 1377681618, 1377681620, 1377681611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.748594760894775 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:26:02.490827
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/24/image_17082025_14_25_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/14/24/image_17082025_14_24_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/24/image_17082025_14_24_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/24/image_17082025_14_24_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/24/image_17082025_14_24_24_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/14/24/image_17082025_14_24_14_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/24/image_17082025_14_25_04_9656.jpg', '/home/nano/Desktop/images/17082025/14/24/image_17082025_14_24_54_9638.jpg', '/home/nano/Desktop/images/17082025/14/24/image_17082025_14_24_44_10647.jpg', '/home/nano/Desktop/images/17082025/14/24/image_17082025_14_24_34_9640.jpg', '/home/nano/Desktop/images/17082025/14/24/image_17082025_14_24_24_9644.jpg', '/home/nano/Desktop/images/17082025/14/24/image_17082025_14_24_14_10665.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/24/image_17082025_14_25_04_9656.jpg
/home/nano/Desktop/images/17082025/14/24/image_17082025_14_24_54_9638.jpg
/home/nano/Desktop/images/17082025/14/24/image_17082025_14_24_44_10647.jpg
/home/nano/Desktop/images/17082025/14/24/image_17082025_14_24_34_9640.jpg
/home/nano/Desktop/images/17082025/14/24/image_17082025_14_24_24_9644.jpg
/home/nano/Desktop/images/17082025/14/24/image_17082025_14_24_14_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681634","1377681636","1377681638","1377681640","1377681631","1377681625"],"photo_ids_order":["1377681625","1377681631","1377681634","1377681636","1377681638","1377681640"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7e8835cd312f4f2bf9147ef1e79eb3cf.jpg","text":"TemporaryFile(/tmp/multipartBody1155066553737345950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448024217,"filename":"image_17082025_14_24_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/48c9abb7d1838ae1f14993017cad95cd.jpg","text":"TemporaryFile(/tmp/multipartBody5017852023083119974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448024217,"filename":"image_17082025_14_24_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/55866226dd45b8fe931f03bf99a4cbf8.jpg","text":"TemporaryFile(/tmp/multipartBody3342528886881135179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448024217,"filename":"image_17082025_14_24_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a2973a22eda643968955b2250cb4802c.jpg","text":"TemporaryFile(/tmp/multipartBody84852596323772870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448024217,"filename":"image_17082025_14_24_14_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e7c134a9a15d9259096b726e106d0fe7.jpg","text":"TemporaryFile(/tmp/multipartBody2371368849871357973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448024217,"filename":"image_17082025_14_24_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/268a2e068ce3504f207570b0ef5693c6.jpg","text":"TemporaryFile(/tmp/multipartBody2812346492132096871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448024217,"filename":"image_17082025_14_25_04_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681634","file1":"1377681631","file0":"1377681625","file4":"1377681638","file5":"1377681640","file3":"1377681636"},"map_files_photo_id_array":[{"photo_id":"1377681640","filename":"file5"},{"photo_id":"1377681634","filename":"file2"},{"photo_id":"1377681638","filename":"file4"},{"photo_id":"1377681631","filename":"file1"},{"photo_id":"1377681625","filename":"file0"},{"photo_id":"1377681636","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681634":["hashtag1","hashtag2"]},{"1377681636":["hashtag1","hashtag2"]},{"1377681638":["hashtag1","hashtag2"]},{"1377681640":["hashtag1","hashtag2"]},{"1377681631":["hashtag1","hashtag2"]},{"1377681625":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681634, 1377681636, 1377681638, 1377681640, 1377681631, 1377681625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42581534385681 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:26:47.013549
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/26/image_17082025_18_26_45_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/18/26/image_17082025_18_26_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/26/image_17082025_18_26_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/18/26/image_17082025_18_26_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/18/25/image_17082025_18_26_04_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/18/25/image_17082025_18_25_54_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/26/image_17082025_18_26_45_10649.jpg', '/home/nano/Desktop/images/17082025/18/26/image_17082025_18_26_34_9638.jpg', '/home/nano/Desktop/images/17082025/18/26/image_17082025_18_26_24_10647.jpg', '/home/nano/Desktop/images/17082025/18/26/image_17082025_18_26_14_9657.jpg', '/home/nano/Desktop/images/17082025/18/25/image_17082025_18_26_04_9657.jpg', '/home/nano/Desktop/images/17082025/18/25/image_17082025_18_25_54_10645.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/26/image_17082025_18_26_45_10649.jpg
/home/nano/Desktop/images/17082025/18/26/image_17082025_18_26_34_9638.jpg
/home/nano/Desktop/images/17082025/18/26/image_17082025_18_26_24_10647.jpg
/home/nano/Desktop/images/17082025/18/26/image_17082025_18_26_14_9657.jpg
/home/nano/Desktop/images/17082025/18/25/image_17082025_18_26_04_9657.jpg
/home/nano/Desktop/images/17082025/18/25/image_17082025_18_25_54_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681648","1377681642","1377681650","1377681644","1377681658","1377681646"],"photo_ids_order":["1377681642","1377681644","1377681646","1377681648","1377681650","1377681658"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7f512945f6a359abb25cb23ba86ac8ba.jpg","text":"TemporaryFile(/tmp/multipartBody1250509995305090243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448068713,"filename":"image_17082025_18_26_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0a02b3d12f240bfc6b0d940313ab3cc2.jpg","text":"TemporaryFile(/tmp/multipartBody6297487340807301653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448068713,"filename":"image_17082025_18_26_45_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c4d289221f8dbb04521364ce6fd32ca3.jpg","text":"TemporaryFile(/tmp/multipartBody2414670912383226285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448068713,"filename":"image_17082025_18_26_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/70d35530a446a30887e84d758f36893c.jpg","text":"TemporaryFile(/tmp/multipartBody348631151792249949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448068713,"filename":"image_17082025_18_26_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cfb374a4aece64acc6d12b639f9acc9c.jpg","text":"TemporaryFile(/tmp/multipartBody6634030531003198760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448068713,"filename":"image_17082025_18_25_54_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eb5bfada7e1392370613043438c35824.jpg","text":"TemporaryFile(/tmp/multipartBody998284338967126219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448068713,"filename":"image_17082025_18_26_24_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681646","file1":"1377681644","file0":"1377681642","file4":"1377681650","file5":"1377681658","file3":"1377681648"},"map_files_photo_id_array":[{"photo_id":"1377681658","filename":"file5"},{"photo_id":"1377681646","filename":"file2"},{"photo_id":"1377681650","filename":"file4"},{"photo_id":"1377681644","filename":"file1"},{"photo_id":"1377681642","filename":"file0"},{"photo_id":"1377681648","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681648":["hashtag1","hashtag2"]},{"1377681642":["hashtag1","hashtag2"]},{"1377681650":["hashtag1","hashtag2"]},{"1377681644":["hashtag1","hashtag2"]},{"1377681658":["hashtag1","hashtag2"]},{"1377681646":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681648, 1377681642, 1377681650, 1377681644, 1377681658, 1377681646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35921311378479 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:27:32.148664
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_15_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/18/26/image_17082025_18_27_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/18/26/image_17082025_18_26_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_44_10647.jpg', '/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_34_9637.jpg', '/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_24_9638.jpg', '/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_15_10668.jpg', '/home/nano/Desktop/images/17082025/18/26/image_17082025_18_27_04_9666.jpg', '/home/nano/Desktop/images/17082025/18/26/image_17082025_18_26_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_44_10647.jpg
/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_34_9637.jpg
/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_24_9638.jpg
/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_15_10668.jpg
/home/nano/Desktop/images/17082025/18/26/image_17082025_18_27_04_9666.jpg
/home/nano/Desktop/images/17082025/18/26/image_17082025_18_26_54_9642.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7786550521850586 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:27:47.156144
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_15_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/18/26/image_17082025_18_27_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/18/26/image_17082025_18_26_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_44_10647.jpg', '/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_34_9637.jpg', '/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_24_9638.jpg', '/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_15_10668.jpg', '/home/nano/Desktop/images/17082025/18/26/image_17082025_18_27_04_9666.jpg', '/home/nano/Desktop/images/17082025/18/26/image_17082025_18_26_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_44_10647.jpg
/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_34_9637.jpg
/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_24_9638.jpg
/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_15_10668.jpg
/home/nano/Desktop/images/17082025/18/26/image_17082025_18_27_04_9666.jpg
/home/nano/Desktop/images/17082025/18/26/image_17082025_18_26_54_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681675","1377681669","1377681683","1377681671","1377681673","1377681667"],"photo_ids_order":["1377681667","1377681669","1377681671","1377681673","1377681675","1377681683"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0ec981700adf3f121269107db0f2c9d4.jpg","text":"TemporaryFile(/tmp/multipartBody2293541283060150366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448128980,"filename":"image_17082025_18_27_04_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cdf13f11dd836ee032c782ce8789db22.jpg","text":"TemporaryFile(/tmp/multipartBody8836469883982140205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448128980,"filename":"image_17082025_18_27_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/60af2ca4029532f06ba7339f0bd87bf2.jpg","text":"TemporaryFile(/tmp/multipartBody1823092020127151206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448128980,"filename":"image_17082025_18_26_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/76e8c50f2fa29618872ca20af70cea2e.jpg","text":"TemporaryFile(/tmp/multipartBody5505304681083868971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448128980,"filename":"image_17082025_18_27_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8ab5f625c7d68b95d3e796190310f44a.jpg","text":"TemporaryFile(/tmp/multipartBody6207045069205728351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448128980,"filename":"image_17082025_18_27_15_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dc3851d2b612d7979ca7184614e73736.jpg","text":"TemporaryFile(/tmp/multipartBody609179141862096254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448128980,"filename":"image_17082025_18_27_44_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681671","file1":"1377681669","file0":"1377681667","file4":"1377681675","file5":"1377681683","file3":"1377681673"},"map_files_photo_id_array":[{"photo_id":"1377681683","filename":"file5"},{"photo_id":"1377681671","filename":"file2"},{"photo_id":"1377681675","filename":"file4"},{"photo_id":"1377681669","filename":"file1"},{"photo_id":"1377681667","filename":"file0"},{"photo_id":"1377681673","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681675":["hashtag1","hashtag2"]},{"1377681669":["hashtag1","hashtag2"]},{"1377681683":["hashtag1","hashtag2"]},{"1377681671":["hashtag1","hashtag2"]},{"1377681673":["hashtag1","hashtag2"]},{"1377681667":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681675, 1377681669, 1377681683, 1377681671, 1377681673, 1377681667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29121279716492 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:28:32.258274
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/28/image_17082025_18_28_44_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/18/28/image_17082025_18_28_34_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/18/28/image_17082025_18_28_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/18/28/image_17082025_18_28_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/18/27/image_17082025_18_28_04_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/28/image_17082025_18_28_44_10664.jpg', '/home/nano/Desktop/images/17082025/18/28/image_17082025_18_28_34_9656.jpg', '/home/nano/Desktop/images/17082025/18/28/image_17082025_18_28_24_9641.jpg', '/home/nano/Desktop/images/17082025/18/28/image_17082025_18_28_14_10671.jpg', '/home/nano/Desktop/images/17082025/18/27/image_17082025_18_28_04_9637.jpg', '/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/28/image_17082025_18_28_44_10664.jpg
/home/nano/Desktop/images/17082025/18/28/image_17082025_18_28_34_9656.jpg
/home/nano/Desktop/images/17082025/18/28/image_17082025_18_28_24_9641.jpg
/home/nano/Desktop/images/17082025/18/28/image_17082025_18_28_14_10671.jpg
/home/nano/Desktop/images/17082025/18/27/image_17082025_18_28_04_9637.jpg
/home/nano/Desktop/images/17082025/18/27/image_17082025_18_27_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681690","1377681687","1377681692","1377681689","1377681691","1377681688"],"photo_ids_order":["1377681687","1377681688","1377681689","1377681690","1377681691","1377681692"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b6222efdbe95e49c5a79c05f5d42796a.jpg","text":"TemporaryFile(/tmp/multipartBody4241028088702552574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448174284,"filename":"image_17082025_18_28_14_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0b1ea93902960b4001a9aa28efe2eb1e.jpg","text":"TemporaryFile(/tmp/multipartBody3065332904750214106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448174284,"filename":"image_17082025_18_28_44_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4c078b44e2f6f0bd5af099563b7bdd48.jpg","text":"TemporaryFile(/tmp/multipartBody2664376272954582793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448174284,"filename":"image_17082025_18_27_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0cf0f193170f9a3545e9f86546eef7c3.jpg","text":"TemporaryFile(/tmp/multipartBody5538046313581321066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448174284,"filename":"image_17082025_18_28_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/48b028b64cf2dadb70f0c4a56b06490f.jpg","text":"TemporaryFile(/tmp/multipartBody2591482738667019491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448174284,"filename":"image_17082025_18_28_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4df1a5f5b1e4eb9fb27098fd4c7b9faf.jpg","text":"TemporaryFile(/tmp/multipartBody4871976507540723417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448174284,"filename":"image_17082025_18_28_34_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681689","file1":"1377681688","file0":"1377681687","file4":"1377681691","file5":"1377681692","file3":"1377681690"},"map_files_photo_id_array":[{"photo_id":"1377681692","filename":"file5"},{"photo_id":"1377681689","filename":"file2"},{"photo_id":"1377681691","filename":"file4"},{"photo_id":"1377681688","filename":"file1"},{"photo_id":"1377681687","filename":"file0"},{"photo_id":"1377681690","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681690":["hashtag1","hashtag2"]},{"1377681687":["hashtag1","hashtag2"]},{"1377681692":["hashtag1","hashtag2"]},{"1377681689":["hashtag1","hashtag2"]},{"1377681691":["hashtag1","hashtag2"]},{"1377681688":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681690, 1377681687, 1377681692, 1377681689, 1377681691, 1377681688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99208903312683 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:29:17.380135
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/29/image_17082025_18_29_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/18/29/image_17082025_18_29_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/18/29/image_17082025_18_29_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/18/28/image_17082025_18_29_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/18/28/image_17082025_18_28_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/23/image_17082025_14_24_04_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/29/image_17082025_18_29_44_10649.jpg', '/home/nano/Desktop/images/17082025/18/29/image_17082025_18_29_24_9636.jpg', '/home/nano/Desktop/images/17082025/18/29/image_17082025_18_29_14_10665.jpg', '/home/nano/Desktop/images/17082025/18/28/image_17082025_18_29_04_9650.jpg', '/home/nano/Desktop/images/17082025/18/28/image_17082025_18_28_54_9637.jpg', '/home/nano/Desktop/images/17082025/14/23/image_17082025_14_24_04_9647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/29/image_17082025_18_29_44_10649.jpg
/home/nano/Desktop/images/17082025/18/29/image_17082025_18_29_24_9636.jpg
/home/nano/Desktop/images/17082025/18/29/image_17082025_18_29_14_10665.jpg
/home/nano/Desktop/images/17082025/18/28/image_17082025_18_29_04_9650.jpg
/home/nano/Desktop/images/17082025/18/28/image_17082025_18_28_54_9637.jpg
/home/nano/Desktop/images/17082025/14/23/image_17082025_14_24_04_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681712","1377681706","1377681708","1377681710","1377681713","1377681703"],"photo_ids_order":["1377681703","1377681706","1377681708","1377681710","1377681712","1377681713"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aa885955adeebf1026d62a1a51e8576e.jpg","text":"TemporaryFile(/tmp/multipartBody3536674980174533077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448219004,"filename":"image_17082025_18_28_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/58ddb0973c17a5b91fb80961596630e6.jpg","text":"TemporaryFile(/tmp/multipartBody7857616198934191193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448219004,"filename":"image_17082025_18_29_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2e5d754624f3281b3154667e5e412983.jpg","text":"TemporaryFile(/tmp/multipartBody2943440705439256884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448219004,"filename":"image_17082025_18_29_14_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/862754739e20b53675b7532b696780da.jpg","text":"TemporaryFile(/tmp/multipartBody165047495964056327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448219004,"filename":"image_17082025_18_29_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2a41d142ac522aa5b6004c0cd6467475.jpg","text":"TemporaryFile(/tmp/multipartBody7025065934292655864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448219004,"filename":"image_17082025_14_24_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a80523206ec6cca188a25f765a6fd22e.jpg","text":"TemporaryFile(/tmp/multipartBody2775345761168741829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448219004,"filename":"image_17082025_18_29_44_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681708","file1":"1377681706","file0":"1377681703","file4":"1377681712","file5":"1377681713","file3":"1377681710"},"map_files_photo_id_array":[{"photo_id":"1377681713","filename":"file5"},{"photo_id":"1377681708","filename":"file2"},{"photo_id":"1377681712","filename":"file4"},{"photo_id":"1377681706","filename":"file1"},{"photo_id":"1377681703","filename":"file0"},{"photo_id":"1377681710","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681712":["hashtag1","hashtag2"]},{"1377681706":["hashtag1","hashtag2"]},{"1377681708":["hashtag1","hashtag2"]},{"1377681710":["hashtag1","hashtag2"]},{"1377681713":["hashtag1","hashtag2"]},{"1377681703":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681712, 1377681706, 1377681708, 1377681710, 1377681713, 1377681703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7414186000824 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:30:02.944869
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/23/image_17082025_14_23_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/23/image_17082025_14_23_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/14/23/image_17082025_14_23_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/14/23/image_17082025_14_23_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/23/image_17082025_14_23_14_10685.jpg', 2), ('/home/nano/Desktop/images/17082025/14/22/image_17082025_14_23_04_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/23/image_17082025_14_23_54_9639.jpg', '/home/nano/Desktop/images/17082025/14/23/image_17082025_14_23_44_10648.jpg', '/home/nano/Desktop/images/17082025/14/23/image_17082025_14_23_34_9636.jpg', '/home/nano/Desktop/images/17082025/14/23/image_17082025_14_23_24_9638.jpg', '/home/nano/Desktop/images/17082025/14/23/image_17082025_14_23_14_10685.jpg', '/home/nano/Desktop/images/17082025/14/22/image_17082025_14_23_04_9651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/23/image_17082025_14_23_54_9639.jpg
/home/nano/Desktop/images/17082025/14/23/image_17082025_14_23_44_10648.jpg
/home/nano/Desktop/images/17082025/14/23/image_17082025_14_23_34_9636.jpg
/home/nano/Desktop/images/17082025/14/23/image_17082025_14_23_24_9638.jpg
/home/nano/Desktop/images/17082025/14/23/image_17082025_14_23_14_10685.jpg
/home/nano/Desktop/images/17082025/14/22/image_17082025_14_23_04_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681738","1377681725","1377681734","1377681728","1377681730","1377681718"],"photo_ids_order":["1377681718","1377681725","1377681728","1377681730","1377681734","1377681738"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/920a8fb61d6b0e848d58664f8467396f.jpg","text":"TemporaryFile(/tmp/multipartBody5547136298254721464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448264629,"filename":"image_17082025_14_23_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/748d736c205667500aee31b45131e71b.jpg","text":"TemporaryFile(/tmp/multipartBody4819761245670355265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448264629,"filename":"image_17082025_14_23_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b50405fcb98adc408f9a1a97560f2e30.jpg","text":"TemporaryFile(/tmp/multipartBody2047758775995257601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448264629,"filename":"image_17082025_14_23_14_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/62a1513df8f7da2ad8d15cf2101b40fb.jpg","text":"TemporaryFile(/tmp/multipartBody7752191378346349872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448264629,"filename":"image_17082025_14_23_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b0fb74a9aced056693be9095456da0ef.jpg","text":"TemporaryFile(/tmp/multipartBody6856555762039009913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448264629,"filename":"image_17082025_14_23_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/05f468db7bc21752d5f1a3d44aa4d3f1.jpg","text":"TemporaryFile(/tmp/multipartBody3847510892011684964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448264629,"filename":"image_17082025_14_23_54_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681728","file1":"1377681725","file0":"1377681718","file4":"1377681734","file5":"1377681738","file3":"1377681730"},"map_files_photo_id_array":[{"photo_id":"1377681738","filename":"file5"},{"photo_id":"1377681728","filename":"file2"},{"photo_id":"1377681734","filename":"file4"},{"photo_id":"1377681725","filename":"file1"},{"photo_id":"1377681718","filename":"file0"},{"photo_id":"1377681730","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681738":["hashtag1","hashtag2"]},{"1377681725":["hashtag1","hashtag2"]},{"1377681734":["hashtag1","hashtag2"]},{"1377681728":["hashtag1","hashtag2"]},{"1377681730":["hashtag1","hashtag2"]},{"1377681718":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681738, 1377681725, 1377681734, 1377681728, 1377681730, 1377681718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89882206916809 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:30:47.433553
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/30/image_17082025_18_30_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/18/30/image_17082025_18_30_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/18/30/image_17082025_18_30_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/30/image_17082025_18_30_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/18/29/image_17082025_18_30_05_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/18/29/image_17082025_18_29_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/30/image_17082025_18_30_44_9636.jpg', '/home/nano/Desktop/images/17082025/18/30/image_17082025_18_30_34_10646.jpg', '/home/nano/Desktop/images/17082025/18/30/image_17082025_18_30_24_9638.jpg', '/home/nano/Desktop/images/17082025/18/30/image_17082025_18_30_14_9654.jpg', '/home/nano/Desktop/images/17082025/18/29/image_17082025_18_30_05_10667.jpg', '/home/nano/Desktop/images/17082025/18/29/image_17082025_18_29_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/30/image_17082025_18_30_44_9636.jpg
/home/nano/Desktop/images/17082025/18/30/image_17082025_18_30_34_10646.jpg
/home/nano/Desktop/images/17082025/18/30/image_17082025_18_30_24_9638.jpg
/home/nano/Desktop/images/17082025/18/30/image_17082025_18_30_14_9654.jpg
/home/nano/Desktop/images/17082025/18/29/image_17082025_18_30_05_10667.jpg
/home/nano/Desktop/images/17082025/18/29/image_17082025_18_29_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681759","1377681747","1377681743","1377681749","1377681751","1377681745"],"photo_ids_order":["1377681743","1377681745","1377681747","1377681749","1377681751","1377681759"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/420d7558c190ebf4a6fe5f0c97e1a263.jpg","text":"TemporaryFile(/tmp/multipartBody5784228728560079530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448309121,"filename":"image_17082025_18_29_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6ec09f6cd79100a8ff522022254d8820.jpg","text":"TemporaryFile(/tmp/multipartBody3838453377868606289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448309121,"filename":"image_17082025_18_30_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/712c6fd2dd6ab7f577b07f434e4bffc4.jpg","text":"TemporaryFile(/tmp/multipartBody1374841221758455192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448309121,"filename":"image_17082025_18_30_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f249d9809260be419e36969702e272ff.jpg","text":"TemporaryFile(/tmp/multipartBody7310951982252181070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448309121,"filename":"image_17082025_18_30_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/781425942fa1b9464465cf432791ee0a.jpg","text":"TemporaryFile(/tmp/multipartBody3834511559259367258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448309121,"filename":"image_17082025_18_30_05_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/724dfeab2c98aa7f3b0e7d5fbfee6aac.jpg","text":"TemporaryFile(/tmp/multipartBody4865720377665725960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448309121,"filename":"image_17082025_18_30_34_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681747","file1":"1377681745","file0":"1377681743","file4":"1377681751","file5":"1377681759","file3":"1377681749"},"map_files_photo_id_array":[{"photo_id":"1377681759","filename":"file5"},{"photo_id":"1377681747","filename":"file2"},{"photo_id":"1377681751","filename":"file4"},{"photo_id":"1377681745","filename":"file1"},{"photo_id":"1377681743","filename":"file0"},{"photo_id":"1377681749","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681759":["hashtag1","hashtag2"]},{"1377681747":["hashtag1","hashtag2"]},{"1377681743":["hashtag1","hashtag2"]},{"1377681749":["hashtag1","hashtag2"]},{"1377681751":["hashtag1","hashtag2"]},{"1377681745":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681759, 1377681747, 1377681743, 1377681749, 1377681751, 1377681745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.935768604278564 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:31:32.547288
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/31/image_17082025_18_31_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/18/31/image_17082025_18_31_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/18/31/image_17082025_18_31_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/18/31/image_17082025_18_31_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/18/30/image_17082025_18_31_04_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/18/30/image_17082025_18_30_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/31/image_17082025_18_31_44_9636.jpg', '/home/nano/Desktop/images/17082025/18/31/image_17082025_18_31_34_10646.jpg', '/home/nano/Desktop/images/17082025/18/31/image_17082025_18_31_24_9640.jpg', '/home/nano/Desktop/images/17082025/18/31/image_17082025_18_31_14_9657.jpg', '/home/nano/Desktop/images/17082025/18/30/image_17082025_18_31_04_10651.jpg', '/home/nano/Desktop/images/17082025/18/30/image_17082025_18_30_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/31/image_17082025_18_31_44_9636.jpg
/home/nano/Desktop/images/17082025/18/31/image_17082025_18_31_34_10646.jpg
/home/nano/Desktop/images/17082025/18/31/image_17082025_18_31_24_9640.jpg
/home/nano/Desktop/images/17082025/18/31/image_17082025_18_31_14_9657.jpg
/home/nano/Desktop/images/17082025/18/30/image_17082025_18_31_04_10651.jpg
/home/nano/Desktop/images/17082025/18/30/image_17082025_18_30_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681771","1377681765","1377681768","1377681773","1377681775","1377681763"],"photo_ids_order":["1377681763","1377681765","1377681768","1377681771","1377681773","1377681775"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/988558bd57b9c0691c414c9d424d09d8.jpg","text":"TemporaryFile(/tmp/multipartBody8283716607548873202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448354424,"filename":"image_17082025_18_31_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dabb6f41367265742e3f3df8c8ec6ea6.jpg","text":"TemporaryFile(/tmp/multipartBody3441077910461808492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448354424,"filename":"image_17082025_18_31_34_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/03e8f95d33b90d609932b19512116934.jpg","text":"TemporaryFile(/tmp/multipartBody7557127965995460110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448354424,"filename":"image_17082025_18_31_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4697fc3875e7baabfa398ac577d82301.jpg","text":"TemporaryFile(/tmp/multipartBody8750659930446987871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448354424,"filename":"image_17082025_18_31_04_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/202c1386895d8f556be6548b62404b8a.jpg","text":"TemporaryFile(/tmp/multipartBody312521275774001806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448354424,"filename":"image_17082025_18_30_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3758b1287678671e4e78a1861f0964fd.jpg","text":"TemporaryFile(/tmp/multipartBody3928954130695859744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448354424,"filename":"image_17082025_18_31_44_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681768","file1":"1377681765","file0":"1377681763","file4":"1377681773","file5":"1377681775","file3":"1377681771"},"map_files_photo_id_array":[{"photo_id":"1377681775","filename":"file5"},{"photo_id":"1377681768","filename":"file2"},{"photo_id":"1377681773","filename":"file4"},{"photo_id":"1377681765","filename":"file1"},{"photo_id":"1377681763","filename":"file0"},{"photo_id":"1377681771","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681771":["hashtag1","hashtag2"]},{"1377681765":["hashtag1","hashtag2"]},{"1377681768":["hashtag1","hashtag2"]},{"1377681773":["hashtag1","hashtag2"]},{"1377681775":["hashtag1","hashtag2"]},{"1377681763":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681771, 1377681765, 1377681768, 1377681773, 1377681775, 1377681763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31338882446289 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:32:17.673121
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/32/image_17082025_18_32_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/18/32/image_17082025_18_32_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/18/32/image_17082025_18_32_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/18/31/image_17082025_18_32_04_10659.jpg', 2), ('/home/nano/Desktop/images/17082025/18/31/image_17082025_18_31_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/22/image_17082025_14_22_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/32/image_17082025_18_32_44_9637.jpg', '/home/nano/Desktop/images/17082025/18/32/image_17082025_18_32_34_10649.jpg', '/home/nano/Desktop/images/17082025/18/32/image_17082025_18_32_14_9658.jpg', '/home/nano/Desktop/images/17082025/18/31/image_17082025_18_32_04_10659.jpg', '/home/nano/Desktop/images/17082025/18/31/image_17082025_18_31_54_9638.jpg', '/home/nano/Desktop/images/17082025/14/22/image_17082025_14_22_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/32/image_17082025_18_32_44_9637.jpg
/home/nano/Desktop/images/17082025/18/32/image_17082025_18_32_34_10649.jpg
/home/nano/Desktop/images/17082025/18/32/image_17082025_18_32_14_9658.jpg
/home/nano/Desktop/images/17082025/18/31/image_17082025_18_32_04_10659.jpg
/home/nano/Desktop/images/17082025/18/31/image_17082025_18_31_54_9638.jpg
/home/nano/Desktop/images/17082025/14/22/image_17082025_14_22_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681792","1377681786","1377681794","1377681788","1377681790","1377681793"],"photo_ids_order":["1377681786","1377681788","1377681790","1377681792","1377681793","1377681794"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/368a80a11468d4f9cba1bb7572a5bde2.jpg","text":"TemporaryFile(/tmp/multipartBody7088992487529624832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448399428,"filename":"image_17082025_18_32_04_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6ca0a6dd171b0dd0191e514308aa774c.jpg","text":"TemporaryFile(/tmp/multipartBody1524682408420945336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448399428,"filename":"image_17082025_18_32_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6a3256a990aada235fdab4d2e3d51efc.jpg","text":"TemporaryFile(/tmp/multipartBody2441865945445355526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448399428,"filename":"image_17082025_14_22_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/806c0f3f507c5bbe86f87a91bf749efa.jpg","text":"TemporaryFile(/tmp/multipartBody173993862254794978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448399428,"filename":"image_17082025_18_32_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/df26398f0267612b1bd639270fe1409c.jpg","text":"TemporaryFile(/tmp/multipartBody1769017246026944384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448399428,"filename":"image_17082025_18_32_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5c05631744993b50500952e925824ba1.jpg","text":"TemporaryFile(/tmp/multipartBody3546897132513902517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448399428,"filename":"image_17082025_18_31_54_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681790","file1":"1377681788","file0":"1377681786","file4":"1377681793","file5":"1377681794","file3":"1377681792"},"map_files_photo_id_array":[{"photo_id":"1377681794","filename":"file5"},{"photo_id":"1377681790","filename":"file2"},{"photo_id":"1377681793","filename":"file4"},{"photo_id":"1377681788","filename":"file1"},{"photo_id":"1377681786","filename":"file0"},{"photo_id":"1377681792","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681792":["hashtag1","hashtag2"]},{"1377681786":["hashtag1","hashtag2"]},{"1377681794":["hashtag1","hashtag2"]},{"1377681788":["hashtag1","hashtag2"]},{"1377681790":["hashtag1","hashtag2"]},{"1377681793":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681792, 1377681786, 1377681794, 1377681788, 1377681790, 1377681793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12080788612366 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:33:03.372231
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/22/image_17082025_14_22_45_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/22/image_17082025_14_22_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/22/image_17082025_14_22_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/22/image_17082025_14_22_14_9669.jpg', 2), ('/home/nano/Desktop/images/17082025/14/21/image_17082025_14_22_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/14/21/image_17082025_14_21_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/22/image_17082025_14_22_45_10649.jpg', '/home/nano/Desktop/images/17082025/14/22/image_17082025_14_22_34_9638.jpg', '/home/nano/Desktop/images/17082025/14/22/image_17082025_14_22_24_10647.jpg', '/home/nano/Desktop/images/17082025/14/22/image_17082025_14_22_14_9669.jpg', '/home/nano/Desktop/images/17082025/14/21/image_17082025_14_22_04_9641.jpg', '/home/nano/Desktop/images/17082025/14/21/image_17082025_14_21_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/22/image_17082025_14_22_45_10649.jpg
/home/nano/Desktop/images/17082025/14/22/image_17082025_14_22_34_9638.jpg
/home/nano/Desktop/images/17082025/14/22/image_17082025_14_22_24_10647.jpg
/home/nano/Desktop/images/17082025/14/22/image_17082025_14_22_14_9669.jpg
/home/nano/Desktop/images/17082025/14/21/image_17082025_14_22_04_9641.jpg
/home/nano/Desktop/images/17082025/14/21/image_17082025_14_21_54_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681811","1377681801","1377681812","1377681815","1377681809","1377681799"],"photo_ids_order":["1377681799","1377681801","1377681809","1377681811","1377681812","1377681815"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/58d90e277faa348721141afbdeaf652d.jpg","text":"TemporaryFile(/tmp/multipartBody6406812721117447503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448445132,"filename":"image_17082025_14_22_14_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/119dfebf90ec7338a8712f04efd52975.jpg","text":"TemporaryFile(/tmp/multipartBody423784213419971203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448445132,"filename":"image_17082025_14_22_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f986bbff06874cb19111f95c588855e2.jpg","text":"TemporaryFile(/tmp/multipartBody6818541486250814944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448445132,"filename":"image_17082025_14_22_04_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d2f2165b83904321395152c9d2f4c5cd.jpg","text":"TemporaryFile(/tmp/multipartBody1318542806153278609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448445132,"filename":"image_17082025_14_21_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/43fd040ff52b8d2576871b4fbc83c9fe.jpg","text":"TemporaryFile(/tmp/multipartBody1754816358325609679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448445132,"filename":"image_17082025_14_22_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eeea4edec4233fa381f83555d4be163d.jpg","text":"TemporaryFile(/tmp/multipartBody928732166871658960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448445132,"filename":"image_17082025_14_22_45_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681809","file1":"1377681801","file0":"1377681799","file4":"1377681812","file5":"1377681815","file3":"1377681811"},"map_files_photo_id_array":[{"photo_id":"1377681815","filename":"file5"},{"photo_id":"1377681809","filename":"file2"},{"photo_id":"1377681812","filename":"file4"},{"photo_id":"1377681801","filename":"file1"},{"photo_id":"1377681799","filename":"file0"},{"photo_id":"1377681811","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681811":["hashtag1","hashtag2"]},{"1377681801":["hashtag1","hashtag2"]},{"1377681812":["hashtag1","hashtag2"]},{"1377681815":["hashtag1","hashtag2"]},{"1377681809":["hashtag1","hashtag2"]},{"1377681799":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681811, 1377681801, 1377681812, 1377681815, 1377681809, 1377681799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.224953174591064 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:33:47.818589
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/33/image_17082025_18_33_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/18/33/image_17082025_18_33_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/33/image_17082025_18_33_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/18/33/image_17082025_18_33_14_9673.jpg', 2), ('/home/nano/Desktop/images/17082025/18/32/image_17082025_18_33_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/18/32/image_17082025_18_32_55_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/33/image_17082025_18_33_44_9637.jpg', '/home/nano/Desktop/images/17082025/18/33/image_17082025_18_33_34_9638.jpg', '/home/nano/Desktop/images/17082025/18/33/image_17082025_18_33_24_10649.jpg', '/home/nano/Desktop/images/17082025/18/33/image_17082025_18_33_14_9673.jpg', '/home/nano/Desktop/images/17082025/18/32/image_17082025_18_33_04_9644.jpg', '/home/nano/Desktop/images/17082025/18/32/image_17082025_18_32_55_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/33/image_17082025_18_33_44_9637.jpg
/home/nano/Desktop/images/17082025/18/33/image_17082025_18_33_34_9638.jpg
/home/nano/Desktop/images/17082025/18/33/image_17082025_18_33_24_10649.jpg
/home/nano/Desktop/images/17082025/18/33/image_17082025_18_33_14_9673.jpg
/home/nano/Desktop/images/17082025/18/32/image_17082025_18_33_04_9644.jpg
/home/nano/Desktop/images/17082025/18/32/image_17082025_18_32_55_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681831","1377681825","1377681819","1377681818","1377681820","1377681817"],"photo_ids_order":["1377681817","1377681818","1377681819","1377681820","1377681825","1377681831"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f4ea4ae702d0d5bfe625577471a9b82b.jpg","text":"TemporaryFile(/tmp/multipartBody6093743915424477046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448489429,"filename":"image_17082025_18_32_55_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/305a1dc04ef1e9c2ef5b5b797a9103e8.jpg","text":"TemporaryFile(/tmp/multipartBody6842288077140877668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448489429,"filename":"image_17082025_18_33_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7874a61f7fa967189ba12a5122db5e58.jpg","text":"TemporaryFile(/tmp/multipartBody8085421703047637964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448489429,"filename":"image_17082025_18_33_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e1d190c78fe02a983050204a376ea490.jpg","text":"TemporaryFile(/tmp/multipartBody3967925450290386135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448489429,"filename":"image_17082025_18_33_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/53617e5a493124f8fe274c67e3b8bd34.jpg","text":"TemporaryFile(/tmp/multipartBody2710411945346251551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448489429,"filename":"image_17082025_18_33_14_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ff9943969c9c51f5b304d85302705ee9.jpg","text":"TemporaryFile(/tmp/multipartBody2038791886454500268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448489429,"filename":"image_17082025_18_33_44_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681819","file1":"1377681818","file0":"1377681817","file4":"1377681825","file5":"1377681831","file3":"1377681820"},"map_files_photo_id_array":[{"photo_id":"1377681831","filename":"file5"},{"photo_id":"1377681819","filename":"file2"},{"photo_id":"1377681825","filename":"file4"},{"photo_id":"1377681818","filename":"file1"},{"photo_id":"1377681817","filename":"file0"},{"photo_id":"1377681820","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681831":["hashtag1","hashtag2"]},{"1377681825":["hashtag1","hashtag2"]},{"1377681819":["hashtag1","hashtag2"]},{"1377681818":["hashtag1","hashtag2"]},{"1377681820":["hashtag1","hashtag2"]},{"1377681817":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681831, 1377681825, 1377681819, 1377681818, 1377681820, 1377681817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06658673286438 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:34:31.914710
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/34/image_17082025_18_34_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/34/image_17082025_18_34_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/34/image_17082025_18_34_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/18/34/image_17082025_18_34_14_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/18/33/image_17082025_18_34_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/18/33/image_17082025_18_33_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/34/image_17082025_18_34_44_9638.jpg', '/home/nano/Desktop/images/17082025/18/34/image_17082025_18_34_34_9638.jpg', '/home/nano/Desktop/images/17082025/18/34/image_17082025_18_34_24_10646.jpg', '/home/nano/Desktop/images/17082025/18/34/image_17082025_18_34_14_9652.jpg', '/home/nano/Desktop/images/17082025/18/33/image_17082025_18_34_04_9652.jpg', '/home/nano/Desktop/images/17082025/18/33/image_17082025_18_33_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/34/image_17082025_18_34_44_9638.jpg
/home/nano/Desktop/images/17082025/18/34/image_17082025_18_34_34_9638.jpg
/home/nano/Desktop/images/17082025/18/34/image_17082025_18_34_24_10646.jpg
/home/nano/Desktop/images/17082025/18/34/image_17082025_18_34_14_9652.jpg
/home/nano/Desktop/images/17082025/18/33/image_17082025_18_34_04_9652.jpg
/home/nano/Desktop/images/17082025/18/33/image_17082025_18_33_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681843","1377681846","1377681840","1377681842","1377681845","1377681844"],"photo_ids_order":["1377681840","1377681842","1377681843","1377681844","1377681845","1377681846"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8c41b21e903837c74ee15203a3c0f227.jpg","text":"TemporaryFile(/tmp/multipartBody2173480554841448446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448533766,"filename":"image_17082025_18_34_24_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7ff6bbdbb1ae58c646516943f66f24b7.jpg","text":"TemporaryFile(/tmp/multipartBody5561287420366435841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448533766,"filename":"image_17082025_18_33_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/85bf2b384c3d8ce747e35421d14b8648.jpg","text":"TemporaryFile(/tmp/multipartBody5033254500039135408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448533766,"filename":"image_17082025_18_34_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1cb22569bd43001b3f835b84359b9154.jpg","text":"TemporaryFile(/tmp/multipartBody3078174060795486193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448533766,"filename":"image_17082025_18_34_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/093b374aea4f7f586053e80d0e02ad92.jpg","text":"TemporaryFile(/tmp/multipartBody3063204550373543155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448533766,"filename":"image_17082025_18_34_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f692774bc1b068c23dca93caeef2bbf1.jpg","text":"TemporaryFile(/tmp/multipartBody6358747127352479897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448533766,"filename":"image_17082025_18_34_14_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681843","file1":"1377681842","file0":"1377681840","file4":"1377681845","file5":"1377681846","file3":"1377681844"},"map_files_photo_id_array":[{"photo_id":"1377681846","filename":"file5"},{"photo_id":"1377681843","filename":"file2"},{"photo_id":"1377681845","filename":"file4"},{"photo_id":"1377681842","filename":"file1"},{"photo_id":"1377681840","filename":"file0"},{"photo_id":"1377681844","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681843":["hashtag1","hashtag2"]},{"1377681846":["hashtag1","hashtag2"]},{"1377681840":["hashtag1","hashtag2"]},{"1377681842":["hashtag1","hashtag2"]},{"1377681845":["hashtag1","hashtag2"]},{"1377681844":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681843, 1377681846, 1377681840, 1377681842, 1377681845, 1377681844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72346615791321 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:35:17.023773
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/35/image_17082025_18_35_45_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/18/35/image_17082025_18_35_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/18/35/image_17082025_18_35_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/18/34/image_17082025_18_35_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/18/34/image_17082025_18_34_54_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/14/21/image_17082025_14_21_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/35/image_17082025_18_35_45_10662.jpg', '/home/nano/Desktop/images/17082025/18/35/image_17082025_18_35_24_10646.jpg', '/home/nano/Desktop/images/17082025/18/35/image_17082025_18_35_14_9654.jpg', '/home/nano/Desktop/images/17082025/18/34/image_17082025_18_35_04_9652.jpg', '/home/nano/Desktop/images/17082025/18/34/image_17082025_18_34_54_10653.jpg', '/home/nano/Desktop/images/17082025/14/21/image_17082025_14_21_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/35/image_17082025_18_35_45_10662.jpg
/home/nano/Desktop/images/17082025/18/35/image_17082025_18_35_24_10646.jpg
/home/nano/Desktop/images/17082025/18/35/image_17082025_18_35_14_9654.jpg
/home/nano/Desktop/images/17082025/18/34/image_17082025_18_35_04_9652.jpg
/home/nano/Desktop/images/17082025/18/34/image_17082025_18_34_54_10653.jpg
/home/nano/Desktop/images/17082025/14/21/image_17082025_14_21_44_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681864","1377681858","1377681860","1377681863","1377681862","1377681856"],"photo_ids_order":["1377681856","1377681858","1377681860","1377681862","1377681863","1377681864"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/55e3705b504dfe3df67b1c002fbffe04.jpg","text":"TemporaryFile(/tmp/multipartBody3133365380562809585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448578643,"filename":"image_17082025_14_21_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e4f8b9f824d035c2c7e16a3c9ed94383.jpg","text":"TemporaryFile(/tmp/multipartBody7084058844692940065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448578643,"filename":"image_17082025_18_35_24_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/87babde11913d48497ab7452f55a2b2c.jpg","text":"TemporaryFile(/tmp/multipartBody5351537517107786748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448578643,"filename":"image_17082025_18_35_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/74b24a85c739be24b2f33662a567adc6.jpg","text":"TemporaryFile(/tmp/multipartBody5454341001530677532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448578643,"filename":"image_17082025_18_34_54_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1f7eca9f74273087cdcc788675c5aaa3.jpg","text":"TemporaryFile(/tmp/multipartBody5713768117767296023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448578643,"filename":"image_17082025_18_35_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ee628307c0851192c71bd24613ff13d6.jpg","text":"TemporaryFile(/tmp/multipartBody1673393737307737978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448578643,"filename":"image_17082025_18_35_45_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681860","file1":"1377681858","file0":"1377681856","file4":"1377681863","file5":"1377681864","file3":"1377681862"},"map_files_photo_id_array":[{"photo_id":"1377681864","filename":"file5"},{"photo_id":"1377681860","filename":"file2"},{"photo_id":"1377681863","filename":"file4"},{"photo_id":"1377681858","filename":"file1"},{"photo_id":"1377681856","filename":"file0"},{"photo_id":"1377681862","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681864":["hashtag1","hashtag2"]},{"1377681858":["hashtag1","hashtag2"]},{"1377681860":["hashtag1","hashtag2"]},{"1377681863":["hashtag1","hashtag2"]},{"1377681862":["hashtag1","hashtag2"]},{"1377681856":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681864, 1377681858, 1377681860, 1377681863, 1377681862, 1377681856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.086209535598755 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:36:02.540737
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/21/image_17082025_14_21_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/14/21/image_17082025_14_21_24_10658.jpg', 2), ('/home/nano/Desktop/images/17082025/14/21/image_17082025_14_21_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/14/20/image_17082025_14_21_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/14/20/image_17082025_14_20_54_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/14/20/image_17082025_14_20_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/21/image_17082025_14_21_34_9641.jpg', '/home/nano/Desktop/images/17082025/14/21/image_17082025_14_21_24_10658.jpg', '/home/nano/Desktop/images/17082025/14/21/image_17082025_14_21_14_9657.jpg', '/home/nano/Desktop/images/17082025/14/20/image_17082025_14_21_04_9646.jpg', '/home/nano/Desktop/images/17082025/14/20/image_17082025_14_20_54_10665.jpg', '/home/nano/Desktop/images/17082025/14/20/image_17082025_14_20_44_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/21/image_17082025_14_21_34_9641.jpg
/home/nano/Desktop/images/17082025/14/21/image_17082025_14_21_24_10658.jpg
/home/nano/Desktop/images/17082025/14/21/image_17082025_14_21_14_9657.jpg
/home/nano/Desktop/images/17082025/14/20/image_17082025_14_21_04_9646.jpg
/home/nano/Desktop/images/17082025/14/20/image_17082025_14_20_54_10665.jpg
/home/nano/Desktop/images/17082025/14/20/image_17082025_14_20_44_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681882","1377681875","1377681877","1377681871","1377681865","1377681880"],"photo_ids_order":["1377681865","1377681871","1377681875","1377681877","1377681880","1377681882"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/931c4c2004f2b644216f3dc6d856cab9.jpg","text":"TemporaryFile(/tmp/multipartBody8278201069885172467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448624207,"filename":"image_17082025_14_20_44_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/559c524669274817cde2db4cf6fdbf42.jpg","text":"TemporaryFile(/tmp/multipartBody1602113993572282912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448624207,"filename":"image_17082025_14_21_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/505c0a8701a003fbbaf8c54379241fa3.jpg","text":"TemporaryFile(/tmp/multipartBody4100016108874638086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448624207,"filename":"image_17082025_14_21_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cb4cc61e0e6155f03f1ced649f7e9fd3.jpg","text":"TemporaryFile(/tmp/multipartBody7533181903648102738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448624207,"filename":"image_17082025_14_21_24_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b197f039c5d5614cfc00b90afc34f914.jpg","text":"TemporaryFile(/tmp/multipartBody8572722011943655517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448624207,"filename":"image_17082025_14_21_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bd4e34881cc8cafdad1712e97e47662b.jpg","text":"TemporaryFile(/tmp/multipartBody1641616673550344743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448624207,"filename":"image_17082025_14_20_54_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681875","file1":"1377681871","file0":"1377681865","file4":"1377681880","file5":"1377681882","file3":"1377681877"},"map_files_photo_id_array":[{"photo_id":"1377681882","filename":"file5"},{"photo_id":"1377681875","filename":"file2"},{"photo_id":"1377681880","filename":"file4"},{"photo_id":"1377681871","filename":"file1"},{"photo_id":"1377681865","filename":"file0"},{"photo_id":"1377681877","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681882":["hashtag1","hashtag2"]},{"1377681875":["hashtag1","hashtag2"]},{"1377681877":["hashtag1","hashtag2"]},{"1377681871":["hashtag1","hashtag2"]},{"1377681865":["hashtag1","hashtag2"]},{"1377681880":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681882, 1377681875, 1377681877, 1377681871, 1377681865, 1377681880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32747745513916 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:36:47.200953
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/36/image_17082025_18_36_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/18/36/image_17082025_18_36_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/36/image_17082025_18_36_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/36/image_17082025_18_36_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/18/35/image_17082025_18_36_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/18/35/image_17082025_18_35_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/36/image_17082025_18_36_44_10649.jpg', '/home/nano/Desktop/images/17082025/18/36/image_17082025_18_36_34_9638.jpg', '/home/nano/Desktop/images/17082025/18/36/image_17082025_18_36_24_9638.jpg', '/home/nano/Desktop/images/17082025/18/36/image_17082025_18_36_14_10665.jpg', '/home/nano/Desktop/images/17082025/18/35/image_17082025_18_36_04_9651.jpg', '/home/nano/Desktop/images/17082025/18/35/image_17082025_18_35_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/36/image_17082025_18_36_44_10649.jpg
/home/nano/Desktop/images/17082025/18/36/image_17082025_18_36_34_9638.jpg
/home/nano/Desktop/images/17082025/18/36/image_17082025_18_36_24_9638.jpg
/home/nano/Desktop/images/17082025/18/36/image_17082025_18_36_14_10665.jpg
/home/nano/Desktop/images/17082025/18/35/image_17082025_18_36_04_9651.jpg
/home/nano/Desktop/images/17082025/18/35/image_17082025_18_35_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681888","1377681891","1377681900","1377681890","1377681893","1377681892"],"photo_ids_order":["1377681888","1377681890","1377681891","1377681892","1377681893","1377681900"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/15834435a1432e76a91ee8806e282399.jpg","text":"TemporaryFile(/tmp/multipartBody1109233732118292336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448669080,"filename":"image_17082025_18_36_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f74e3fc2c27a3671a04138720740a9d8.jpg","text":"TemporaryFile(/tmp/multipartBody1848117868154781522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448669080,"filename":"image_17082025_18_36_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2d814dd617d837fb4640ac93ebe48d04.jpg","text":"TemporaryFile(/tmp/multipartBody8574584462739882248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448669080,"filename":"image_17082025_18_35_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a031c932d7c560e96ebcada29c30086b.jpg","text":"TemporaryFile(/tmp/multipartBody5667971903364089309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448669080,"filename":"image_17082025_18_36_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8a32ff030e21b77dd5b05d1c64fb2c25.jpg","text":"TemporaryFile(/tmp/multipartBody6173300376751449626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448669080,"filename":"image_17082025_18_36_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b1166d65b3a6391052c4f8642bdfe32a.jpg","text":"TemporaryFile(/tmp/multipartBody3573096525685717595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448669080,"filename":"image_17082025_18_36_14_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681891","file1":"1377681890","file0":"1377681888","file4":"1377681893","file5":"1377681900","file3":"1377681892"},"map_files_photo_id_array":[{"photo_id":"1377681900","filename":"file5"},{"photo_id":"1377681891","filename":"file2"},{"photo_id":"1377681893","filename":"file4"},{"photo_id":"1377681890","filename":"file1"},{"photo_id":"1377681888","filename":"file0"},{"photo_id":"1377681892","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681888":["hashtag1","hashtag2"]},{"1377681891":["hashtag1","hashtag2"]},{"1377681900":["hashtag1","hashtag2"]},{"1377681890":["hashtag1","hashtag2"]},{"1377681893":["hashtag1","hashtag2"]},{"1377681892":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681888, 1377681891, 1377681900, 1377681890, 1377681893, 1377681892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09611129760742 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:37:32.295464
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/37/image_17082025_18_37_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/18/37/image_17082025_18_37_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/37/image_17082025_18_37_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/18/37/image_17082025_18_37_14_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/18/36/image_17082025_18_37_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/36/image_17082025_18_36_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/37/image_17082025_18_37_44_10647.jpg', '/home/nano/Desktop/images/17082025/18/37/image_17082025_18_37_34_9638.jpg', '/home/nano/Desktop/images/17082025/18/37/image_17082025_18_37_24_9636.jpg', '/home/nano/Desktop/images/17082025/18/37/image_17082025_18_37_14_10663.jpg', '/home/nano/Desktop/images/17082025/18/36/image_17082025_18_37_04_9638.jpg', '/home/nano/Desktop/images/17082025/18/36/image_17082025_18_36_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/37/image_17082025_18_37_44_10647.jpg
/home/nano/Desktop/images/17082025/18/37/image_17082025_18_37_34_9638.jpg
/home/nano/Desktop/images/17082025/18/37/image_17082025_18_37_24_9636.jpg
/home/nano/Desktop/images/17082025/18/37/image_17082025_18_37_14_10663.jpg
/home/nano/Desktop/images/17082025/18/36/image_17082025_18_37_04_9638.jpg
/home/nano/Desktop/images/17082025/18/36/image_17082025_18_36_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681904","1377681913","1377681907","1377681906","1377681909","1377681911"],"photo_ids_order":["1377681904","1377681906","1377681907","1377681909","1377681911","1377681913"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/86fdb2c14dc5d251024178dda0ff22bd.jpg","text":"TemporaryFile(/tmp/multipartBody7826781079096379725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448714198,"filename":"image_17082025_18_37_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2510a3ba1f7e3c146f98a23a80325423.jpg","text":"TemporaryFile(/tmp/multipartBody1825154860713967040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448714198,"filename":"image_17082025_18_36_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6c317c908379a3daa2e4e4848bb049b4.jpg","text":"TemporaryFile(/tmp/multipartBody5924351458107860258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448714198,"filename":"image_17082025_18_37_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6d66204d2dd8f80f785347c3479e061d.jpg","text":"TemporaryFile(/tmp/multipartBody4417600691756842850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448714198,"filename":"image_17082025_18_37_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0120a7bb8d83c72b4970c88991119157.jpg","text":"TemporaryFile(/tmp/multipartBody3675191218512450516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448714198,"filename":"image_17082025_18_37_14_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ee0f43c90bb9ad3e53ecacd5bceadfd5.jpg","text":"TemporaryFile(/tmp/multipartBody4726455510077930136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448714198,"filename":"image_17082025_18_37_04_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681907","file1":"1377681906","file0":"1377681904","file4":"1377681911","file5":"1377681913","file3":"1377681909"},"map_files_photo_id_array":[{"photo_id":"1377681913","filename":"file5"},{"photo_id":"1377681907","filename":"file2"},{"photo_id":"1377681911","filename":"file4"},{"photo_id":"1377681906","filename":"file1"},{"photo_id":"1377681904","filename":"file0"},{"photo_id":"1377681909","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681904":["hashtag1","hashtag2"]},{"1377681913":["hashtag1","hashtag2"]},{"1377681907":["hashtag1","hashtag2"]},{"1377681906":["hashtag1","hashtag2"]},{"1377681909":["hashtag1","hashtag2"]},{"1377681911":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681904, 1377681913, 1377681907, 1377681906, 1377681909, 1377681911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6565101146698 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:38:17.453148
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/38/image_17082025_18_38_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/38/image_17082025_18_38_35_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/18/38/image_17082025_18_38_24_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/18/38/image_17082025_18_38_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/18/37/image_17082025_18_38_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/18/37/image_17082025_18_37_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/38/image_17082025_18_38_44_9638.jpg', '/home/nano/Desktop/images/17082025/18/38/image_17082025_18_38_35_10648.jpg', '/home/nano/Desktop/images/17082025/18/38/image_17082025_18_38_24_9635.jpg', '/home/nano/Desktop/images/17082025/18/38/image_17082025_18_38_14_10667.jpg', '/home/nano/Desktop/images/17082025/18/37/image_17082025_18_38_04_9653.jpg', '/home/nano/Desktop/images/17082025/18/37/image_17082025_18_37_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/38/image_17082025_18_38_44_9638.jpg
/home/nano/Desktop/images/17082025/18/38/image_17082025_18_38_35_10648.jpg
/home/nano/Desktop/images/17082025/18/38/image_17082025_18_38_24_9635.jpg
/home/nano/Desktop/images/17082025/18/38/image_17082025_18_38_14_10667.jpg
/home/nano/Desktop/images/17082025/18/37/image_17082025_18_38_04_9653.jpg
/home/nano/Desktop/images/17082025/18/37/image_17082025_18_37_54_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681930","1377681924","1377681933","1377681927","1377681926","1377681922"],"photo_ids_order":["1377681922","1377681924","1377681926","1377681927","1377681930","1377681933"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d71f1fcdad3e15526c1e6cd0ffe1673a.jpg","text":"TemporaryFile(/tmp/multipartBody2067820403265421621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448759183,"filename":"image_17082025_18_38_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/37a079aeb7d609ca7744f975c31a1630.jpg","text":"TemporaryFile(/tmp/multipartBody4990380148900253928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448759183,"filename":"image_17082025_18_38_35_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f7dfc03c89921f07104d9423a4538137.jpg","text":"TemporaryFile(/tmp/multipartBody2232677301294170963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448759183,"filename":"image_17082025_18_37_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d1a877d79714ee24ac9b54c1697b9d5b.jpg","text":"TemporaryFile(/tmp/multipartBody1032388787777142793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448759183,"filename":"image_17082025_18_38_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d72e08397b7b62e39c64ffae2cddb554.jpg","text":"TemporaryFile(/tmp/multipartBody7376365725314634329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448759183,"filename":"image_17082025_18_38_24_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c3de496891f73164303982db5250c2d8.jpg","text":"TemporaryFile(/tmp/multipartBody4754535081194995854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448759183,"filename":"image_17082025_18_38_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681926","file1":"1377681924","file0":"1377681922","file4":"1377681930","file5":"1377681933","file3":"1377681927"},"map_files_photo_id_array":[{"photo_id":"1377681933","filename":"file5"},{"photo_id":"1377681926","filename":"file2"},{"photo_id":"1377681930","filename":"file4"},{"photo_id":"1377681924","filename":"file1"},{"photo_id":"1377681922","filename":"file0"},{"photo_id":"1377681927","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681930":["hashtag1","hashtag2"]},{"1377681924":["hashtag1","hashtag2"]},{"1377681933":["hashtag1","hashtag2"]},{"1377681927":["hashtag1","hashtag2"]},{"1377681926":["hashtag1","hashtag2"]},{"1377681922":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681930, 1377681924, 1377681933, 1377681927, 1377681926, 1377681922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53640031814575 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:39:03.520838
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/20/image_17082025_14_20_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/20/image_17082025_14_20_24_10679.jpg', 2), ('/home/nano/Desktop/images/17082025/14/20/image_17082025_14_20_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/14/19/image_17082025_14_20_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/14/19/image_17082025_14_19_54_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/14/19/image_17082025_14_19_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/20/image_17082025_14_20_34_9639.jpg', '/home/nano/Desktop/images/17082025/14/20/image_17082025_14_20_24_10679.jpg', '/home/nano/Desktop/images/17082025/14/20/image_17082025_14_20_14_9654.jpg', '/home/nano/Desktop/images/17082025/14/19/image_17082025_14_20_04_9655.jpg', '/home/nano/Desktop/images/17082025/14/19/image_17082025_14_19_54_10664.jpg', '/home/nano/Desktop/images/17082025/14/19/image_17082025_14_19_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/20/image_17082025_14_20_34_9639.jpg
/home/nano/Desktop/images/17082025/14/20/image_17082025_14_20_24_10679.jpg
/home/nano/Desktop/images/17082025/14/20/image_17082025_14_20_14_9654.jpg
/home/nano/Desktop/images/17082025/14/19/image_17082025_14_20_04_9655.jpg
/home/nano/Desktop/images/17082025/14/19/image_17082025_14_19_54_10664.jpg
/home/nano/Desktop/images/17082025/14/19/image_17082025_14_19_44_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681951","1377681948","1377681953","1377681941","1377681949","1377681940"],"photo_ids_order":["1377681940","1377681941","1377681948","1377681949","1377681951","1377681953"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/59a301fb6abc3f32f9527601d1bc725e.jpg","text":"TemporaryFile(/tmp/multipartBody2173483555402026360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448805403,"filename":"image_17082025_14_19_54_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/24848993258c4c313f8f42ae4551cb75.jpg","text":"TemporaryFile(/tmp/multipartBody179922009513430844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448805403,"filename":"image_17082025_14_20_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8046933c32f50e3d086d6787a2dc514f.jpg","text":"TemporaryFile(/tmp/multipartBody1859980031155657685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448805403,"filename":"image_17082025_14_19_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1f5fa0e3f8385f446c9e7979d253b98f.jpg","text":"TemporaryFile(/tmp/multipartBody7602898265652956680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448805403,"filename":"image_17082025_14_20_24_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/503259872cc4c871365af9d21d7f92d2.jpg","text":"TemporaryFile(/tmp/multipartBody8997093311544913899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448805403,"filename":"image_17082025_14_20_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3f012b9ad43f2dad973fddc952df46c6.jpg","text":"TemporaryFile(/tmp/multipartBody2037205936211928066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448805403,"filename":"image_17082025_14_20_34_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681948","file1":"1377681941","file0":"1377681940","file4":"1377681951","file5":"1377681953","file3":"1377681949"},"map_files_photo_id_array":[{"photo_id":"1377681953","filename":"file5"},{"photo_id":"1377681948","filename":"file2"},{"photo_id":"1377681951","filename":"file4"},{"photo_id":"1377681941","filename":"file1"},{"photo_id":"1377681940","filename":"file0"},{"photo_id":"1377681949","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681951":["hashtag1","hashtag2"]},{"1377681948":["hashtag1","hashtag2"]},{"1377681953":["hashtag1","hashtag2"]},{"1377681941":["hashtag1","hashtag2"]},{"1377681949":["hashtag1","hashtag2"]},{"1377681940":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681951, 1377681948, 1377681953, 1377681941, 1377681949, 1377681940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19781732559204 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:39:47.476270
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/39/image_17082025_18_39_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/39/image_17082025_18_39_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/18/39/image_17082025_18_39_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/18/39/image_17082025_18_39_14_9677.jpg', 2), ('/home/nano/Desktop/images/17082025/18/38/image_17082025_18_39_04_10660.jpg', 2), ('/home/nano/Desktop/images/17082025/18/38/image_17082025_18_38_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/39/image_17082025_18_39_44_9638.jpg', '/home/nano/Desktop/images/17082025/18/39/image_17082025_18_39_34_10647.jpg', '/home/nano/Desktop/images/17082025/18/39/image_17082025_18_39_24_9637.jpg', '/home/nano/Desktop/images/17082025/18/39/image_17082025_18_39_14_9677.jpg', '/home/nano/Desktop/images/17082025/18/38/image_17082025_18_39_04_10660.jpg', '/home/nano/Desktop/images/17082025/18/38/image_17082025_18_38_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/39/image_17082025_18_39_44_9638.jpg
/home/nano/Desktop/images/17082025/18/39/image_17082025_18_39_34_10647.jpg
/home/nano/Desktop/images/17082025/18/39/image_17082025_18_39_24_9637.jpg
/home/nano/Desktop/images/17082025/18/39/image_17082025_18_39_14_9677.jpg
/home/nano/Desktop/images/17082025/18/38/image_17082025_18_39_04_10660.jpg
/home/nano/Desktop/images/17082025/18/38/image_17082025_18_38_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681963","1377681957","1377681965","1377681959","1377681973","1377681961"],"photo_ids_order":["1377681957","1377681959","1377681961","1377681963","1377681965","1377681973"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8add577feb65b912299bc980b700afd7.jpg","text":"TemporaryFile(/tmp/multipartBody6049419517309904727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448849400,"filename":"image_17082025_18_39_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8f07a81b620563568b2af5eaf8e86827.jpg","text":"TemporaryFile(/tmp/multipartBody1436725504620080418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448849400,"filename":"image_17082025_18_39_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1299fe19f2c5645c2c4e7fb166552799.jpg","text":"TemporaryFile(/tmp/multipartBody9084812141299761478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448849400,"filename":"image_17082025_18_39_04_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b264374d31212fda083e2c803732e4d1.jpg","text":"TemporaryFile(/tmp/multipartBody4898424970099338825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448849400,"filename":"image_17082025_18_39_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/054e27c46e9314335b84b5f90ec22c7f.jpg","text":"TemporaryFile(/tmp/multipartBody4484767595447570994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448849400,"filename":"image_17082025_18_38_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/330c893f59a9dc1d2faeda1f9166ed31.jpg","text":"TemporaryFile(/tmp/multipartBody353278961205260511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448849400,"filename":"image_17082025_18_39_24_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681961","file1":"1377681959","file0":"1377681957","file4":"1377681965","file5":"1377681973","file3":"1377681963"},"map_files_photo_id_array":[{"photo_id":"1377681973","filename":"file5"},{"photo_id":"1377681961","filename":"file2"},{"photo_id":"1377681965","filename":"file4"},{"photo_id":"1377681959","filename":"file1"},{"photo_id":"1377681957","filename":"file0"},{"photo_id":"1377681963","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681963":["hashtag1","hashtag2"]},{"1377681957":["hashtag1","hashtag2"]},{"1377681965":["hashtag1","hashtag2"]},{"1377681959":["hashtag1","hashtag2"]},{"1377681973":["hashtag1","hashtag2"]},{"1377681961":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681963, 1377681957, 1377681965, 1377681959, 1377681973, 1377681961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.466970682144165 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:40:32.615750
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_24_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/18/39/image_17082025_18_40_04_10660.jpg', 2), ('/home/nano/Desktop/images/17082025/18/39/image_17082025_18_39_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_44_9638.jpg', '/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_34_10647.jpg', '/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_24_9654.jpg', '/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_14_9655.jpg', '/home/nano/Desktop/images/17082025/18/39/image_17082025_18_40_04_10660.jpg', '/home/nano/Desktop/images/17082025/18/39/image_17082025_18_39_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_44_9638.jpg
/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_34_10647.jpg
/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_24_9654.jpg
/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_14_9655.jpg
/home/nano/Desktop/images/17082025/18/39/image_17082025_18_40_04_10660.jpg
/home/nano/Desktop/images/17082025/18/39/image_17082025_18_39_54_9637.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6445739269256592 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:40:47.554250
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_24_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/18/39/image_17082025_18_40_04_10660.jpg', 2), ('/home/nano/Desktop/images/17082025/18/39/image_17082025_18_39_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_44_9638.jpg', '/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_34_10647.jpg', '/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_24_9654.jpg', '/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_14_9655.jpg', '/home/nano/Desktop/images/17082025/18/39/image_17082025_18_40_04_10660.jpg', '/home/nano/Desktop/images/17082025/18/39/image_17082025_18_39_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_44_9638.jpg
/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_34_10647.jpg
/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_24_9654.jpg
/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_14_9655.jpg
/home/nano/Desktop/images/17082025/18/39/image_17082025_18_40_04_10660.jpg
/home/nano/Desktop/images/17082025/18/39/image_17082025_18_39_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377681987","1377681999","1377681990","1377681984","1377681989","1377681991"],"photo_ids_order":["1377681984","1377681987","1377681989","1377681990","1377681991","1377681999"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/496bb4474906a58355eb21c5bf527bd7.jpg","text":"TemporaryFile(/tmp/multipartBody7541239249893250138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448909267,"filename":"image_17082025_18_40_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e2deececffde56b16185acab8b466da3.jpg","text":"TemporaryFile(/tmp/multipartBody2479899597952134511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448909267,"filename":"image_17082025_18_39_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f0edbe6aa9666b54b19c29e173cc5c7a.jpg","text":"TemporaryFile(/tmp/multipartBody1580460718627570469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448909267,"filename":"image_17082025_18_40_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cafa869df8c8a8b1ded4f2f207962bb1.jpg","text":"TemporaryFile(/tmp/multipartBody1067090074669121367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448909267,"filename":"image_17082025_18_40_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/634402e7ba7b33fae86db12ac3045a00.jpg","text":"TemporaryFile(/tmp/multipartBody5238349440927864939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448909267,"filename":"image_17082025_18_40_24_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9875852ccd7ea5715eb468869c1e4b56.jpg","text":"TemporaryFile(/tmp/multipartBody7352104427527282483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448909267,"filename":"image_17082025_18_40_04_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377681989","file1":"1377681987","file0":"1377681984","file4":"1377681991","file5":"1377681999","file3":"1377681990"},"map_files_photo_id_array":[{"photo_id":"1377681999","filename":"file5"},{"photo_id":"1377681989","filename":"file2"},{"photo_id":"1377681991","filename":"file4"},{"photo_id":"1377681987","filename":"file1"},{"photo_id":"1377681984","filename":"file0"},{"photo_id":"1377681990","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377681987":["hashtag1","hashtag2"]},{"1377681999":["hashtag1","hashtag2"]},{"1377681990":["hashtag1","hashtag2"]},{"1377681984":["hashtag1","hashtag2"]},{"1377681989":["hashtag1","hashtag2"]},{"1377681991":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377681987, 1377681999, 1377681990, 1377681984, 1377681989, 1377681991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06728982925415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:41:32.660132
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/41/image_17082025_18_41_34_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/18/41/image_17082025_18_41_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/18/41/image_17082025_18_41_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/18/40/image_17082025_18_41_04_10659.jpg', 2), ('/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/19/image_17082025_14_19_34_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/41/image_17082025_18_41_34_10651.jpg', '/home/nano/Desktop/images/17082025/18/41/image_17082025_18_41_24_9639.jpg', '/home/nano/Desktop/images/17082025/18/41/image_17082025_18_41_14_9655.jpg', '/home/nano/Desktop/images/17082025/18/40/image_17082025_18_41_04_10659.jpg', '/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_54_9637.jpg', '/home/nano/Desktop/images/17082025/14/19/image_17082025_14_19_34_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/41/image_17082025_18_41_34_10651.jpg
/home/nano/Desktop/images/17082025/18/41/image_17082025_18_41_24_9639.jpg
/home/nano/Desktop/images/17082025/18/41/image_17082025_18_41_14_9655.jpg
/home/nano/Desktop/images/17082025/18/40/image_17082025_18_41_04_10659.jpg
/home/nano/Desktop/images/17082025/18/40/image_17082025_18_40_54_9637.jpg
/home/nano/Desktop/images/17082025/14/19/image_17082025_14_19_34_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682008","1377682017","1377682010","1377682015","1377682012","1377682006"],"photo_ids_order":["1377682006","1377682008","1377682010","1377682012","1377682015","1377682017"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/39b40d70dab8af8110926631f17bc0dc.jpg","text":"TemporaryFile(/tmp/multipartBody7903763186079580790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448954631,"filename":"image_17082025_18_41_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9a7daa5f5293d0872fba18b93a3911d9.jpg","text":"TemporaryFile(/tmp/multipartBody5663322216769605569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448954631,"filename":"image_17082025_14_19_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/029c91e7875629225005afd86e1d862b.jpg","text":"TemporaryFile(/tmp/multipartBody5627929630756569545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448954631,"filename":"image_17082025_18_41_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8f2b9131ed34c0510624a214dae9db1c.jpg","text":"TemporaryFile(/tmp/multipartBody6204906836099539075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448954631,"filename":"image_17082025_18_40_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7ffe5bcd8fb07676dc82da773828c8f4.jpg","text":"TemporaryFile(/tmp/multipartBody8315147535696528226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448954631,"filename":"image_17082025_18_41_04_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f1433b64f89576f9e330e0139f9d3a18.jpg","text":"TemporaryFile(/tmp/multipartBody7060172893785125478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448954631,"filename":"image_17082025_18_41_34_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682010","file1":"1377682008","file0":"1377682006","file4":"1377682015","file5":"1377682017","file3":"1377682012"},"map_files_photo_id_array":[{"photo_id":"1377682017","filename":"file5"},{"photo_id":"1377682010","filename":"file2"},{"photo_id":"1377682015","filename":"file4"},{"photo_id":"1377682008","filename":"file1"},{"photo_id":"1377682006","filename":"file0"},{"photo_id":"1377682012","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682008":["hashtag1","hashtag2"]},{"1377682017":["hashtag1","hashtag2"]},{"1377682010":["hashtag1","hashtag2"]},{"1377682015":["hashtag1","hashtag2"]},{"1377682012":["hashtag1","hashtag2"]},{"1377682006":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682008, 1377682017, 1377682010, 1377682015, 1377682012, 1377682006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.487995862960815 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:42:16.762619
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/42/image_17082025_18_42_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/42/image_17082025_18_42_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/18/42/image_17082025_18_42_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/18/42/image_17082025_18_42_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/18/41/image_17082025_18_42_04_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/18/41/image_17082025_18_41_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/42/image_17082025_18_42_44_9638.jpg', '/home/nano/Desktop/images/17082025/18/42/image_17082025_18_42_34_9640.jpg', '/home/nano/Desktop/images/17082025/18/42/image_17082025_18_42_24_10649.jpg', '/home/nano/Desktop/images/17082025/18/42/image_17082025_18_42_14_9656.jpg', '/home/nano/Desktop/images/17082025/18/41/image_17082025_18_42_04_9636.jpg', '/home/nano/Desktop/images/17082025/18/41/image_17082025_18_41_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/42/image_17082025_18_42_44_9638.jpg
/home/nano/Desktop/images/17082025/18/42/image_17082025_18_42_34_9640.jpg
/home/nano/Desktop/images/17082025/18/42/image_17082025_18_42_24_10649.jpg
/home/nano/Desktop/images/17082025/18/42/image_17082025_18_42_14_9656.jpg
/home/nano/Desktop/images/17082025/18/41/image_17082025_18_42_04_9636.jpg
/home/nano/Desktop/images/17082025/18/41/image_17082025_18_41_44_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682032","1377682029","1377682034","1377682037","1377682027","1377682024"],"photo_ids_order":["1377682024","1377682027","1377682029","1377682032","1377682034","1377682037"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b5ed8db1cc67c252d0f6872d31bcd6e3.jpg","text":"TemporaryFile(/tmp/multipartBody7646122958385708385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448998593,"filename":"image_17082025_18_42_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/09b2d9fd30d37b87af57ccc72960184a.jpg","text":"TemporaryFile(/tmp/multipartBody1992179557418938222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448998593,"filename":"image_17082025_18_42_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/87e2b5e974d17d755591a86810832666.jpg","text":"TemporaryFile(/tmp/multipartBody8530411392573430781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448998593,"filename":"image_17082025_18_42_04_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3ebff4075cfbd2b4b88da34faab32fe1.jpg","text":"TemporaryFile(/tmp/multipartBody3851842648702325498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448998593,"filename":"image_17082025_18_41_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e01739d4d1419abcc976cbdce1fa67bf.jpg","text":"TemporaryFile(/tmp/multipartBody6005365260708569943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448998593,"filename":"image_17082025_18_42_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5881ab08705982a8c64234378e5edaa1.jpg","text":"TemporaryFile(/tmp/multipartBody5130977627816505781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755448998593,"filename":"image_17082025_18_42_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682029","file1":"1377682027","file0":"1377682024","file4":"1377682034","file5":"1377682037","file3":"1377682032"},"map_files_photo_id_array":[{"photo_id":"1377682037","filename":"file5"},{"photo_id":"1377682029","filename":"file2"},{"photo_id":"1377682034","filename":"file4"},{"photo_id":"1377682027","filename":"file1"},{"photo_id":"1377682024","filename":"file0"},{"photo_id":"1377682032","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682032":["hashtag1","hashtag2"]},{"1377682029":["hashtag1","hashtag2"]},{"1377682034":["hashtag1","hashtag2"]},{"1377682037":["hashtag1","hashtag2"]},{"1377682027":["hashtag1","hashtag2"]},{"1377682024":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682032, 1377682029, 1377682034, 1377682037, 1377682027, 1377682024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.838486194610596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:43:02.417349
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/19/image_17082025_14_19_24_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/14/19/image_17082025_14_19_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/14/18/image_17082025_14_19_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/14/18/image_17082025_14_18_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/18/image_17082025_14_18_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/14/18/image_17082025_14_18_34_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/19/image_17082025_14_19_24_10667.jpg', '/home/nano/Desktop/images/17082025/14/19/image_17082025_14_19_14_9659.jpg', '/home/nano/Desktop/images/17082025/14/18/image_17082025_14_19_04_9650.jpg', '/home/nano/Desktop/images/17082025/14/18/image_17082025_14_18_54_10649.jpg', '/home/nano/Desktop/images/17082025/14/18/image_17082025_14_18_44_9636.jpg', '/home/nano/Desktop/images/17082025/14/18/image_17082025_14_18_34_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/19/image_17082025_14_19_24_10667.jpg
/home/nano/Desktop/images/17082025/14/19/image_17082025_14_19_14_9659.jpg
/home/nano/Desktop/images/17082025/14/18/image_17082025_14_19_04_9650.jpg
/home/nano/Desktop/images/17082025/14/18/image_17082025_14_18_54_10649.jpg
/home/nano/Desktop/images/17082025/14/18/image_17082025_14_18_44_9636.jpg
/home/nano/Desktop/images/17082025/14/18/image_17082025_14_18_34_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682050","1377682052","1377682043","1377682051","1377682054","1377682042"],"photo_ids_order":["1377682042","1377682043","1377682050","1377682051","1377682052","1377682054"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e99dfa4adeba043253689a39b390b765.jpg","text":"TemporaryFile(/tmp/multipartBody1524020264385193633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449044413,"filename":"image_17082025_14_19_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/15c664541c566db8463d9f4b93c04729.jpg","text":"TemporaryFile(/tmp/multipartBody4029379467529617358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449044413,"filename":"image_17082025_14_18_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/95e8748dd5ddbac23c963b9206bde2e3.jpg","text":"TemporaryFile(/tmp/multipartBody4931371690709768363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449044413,"filename":"image_17082025_14_19_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/734c30a72b34a50159fe7aeba8979b98.jpg","text":"TemporaryFile(/tmp/multipartBody6778104860276897209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449044413,"filename":"image_17082025_14_18_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e144835503ebafd7582e161624fc15d2.jpg","text":"TemporaryFile(/tmp/multipartBody7970712865522399577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449044413,"filename":"image_17082025_14_18_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/40e77de3f8c94d6a43f32660e0e34a8c.jpg","text":"TemporaryFile(/tmp/multipartBody2126993387051453595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449044413,"filename":"image_17082025_14_19_24_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682050","file1":"1377682043","file0":"1377682042","file4":"1377682052","file5":"1377682054","file3":"1377682051"},"map_files_photo_id_array":[{"photo_id":"1377682054","filename":"file5"},{"photo_id":"1377682050","filename":"file2"},{"photo_id":"1377682052","filename":"file4"},{"photo_id":"1377682043","filename":"file1"},{"photo_id":"1377682042","filename":"file0"},{"photo_id":"1377682051","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682050":["hashtag1","hashtag2"]},{"1377682052":["hashtag1","hashtag2"]},{"1377682043":["hashtag1","hashtag2"]},{"1377682051":["hashtag1","hashtag2"]},{"1377682054":["hashtag1","hashtag2"]},{"1377682042":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682050, 1377682052, 1377682043, 1377682051, 1377682054, 1377682042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.689931869506836 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:43:46.932105
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/43/image_17082025_18_43_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/18/43/image_17082025_18_43_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/18/43/image_17082025_18_43_24_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/18/43/image_17082025_18_43_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/18/42/image_17082025_18_43_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/18/42/image_17082025_18_42_54_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/43/image_17082025_18_43_44_9639.jpg', '/home/nano/Desktop/images/17082025/18/43/image_17082025_18_43_34_9637.jpg', '/home/nano/Desktop/images/17082025/18/43/image_17082025_18_43_24_10663.jpg', '/home/nano/Desktop/images/17082025/18/43/image_17082025_18_43_14_9658.jpg', '/home/nano/Desktop/images/17082025/18/42/image_17082025_18_43_04_9651.jpg', '/home/nano/Desktop/images/17082025/18/42/image_17082025_18_42_54_10645.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/43/image_17082025_18_43_44_9639.jpg
/home/nano/Desktop/images/17082025/18/43/image_17082025_18_43_34_9637.jpg
/home/nano/Desktop/images/17082025/18/43/image_17082025_18_43_24_10663.jpg
/home/nano/Desktop/images/17082025/18/43/image_17082025_18_43_14_9658.jpg
/home/nano/Desktop/images/17082025/18/42/image_17082025_18_43_04_9651.jpg
/home/nano/Desktop/images/17082025/18/42/image_17082025_18_42_54_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682062","1377682064","1377682063","1377682066","1377682060","1377682074"],"photo_ids_order":["1377682060","1377682062","1377682063","1377682064","1377682066","1377682074"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/59133a642461497fe8fee56129cbd76e.jpg","text":"TemporaryFile(/tmp/multipartBody719506005343609398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449088665,"filename":"image_17082025_18_43_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b2db4bd1e986679fc5e77ec0d988a324.jpg","text":"TemporaryFile(/tmp/multipartBody1171359645607059493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449088665,"filename":"image_17082025_18_43_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/03f1a7cc660ff608e7be1119f9afe784.jpg","text":"TemporaryFile(/tmp/multipartBody305065210585427222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449088665,"filename":"image_17082025_18_43_24_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/159b6fdca3bca3401041309e96c675e0.jpg","text":"TemporaryFile(/tmp/multipartBody3979756063716176994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449088665,"filename":"image_17082025_18_43_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/82a8af04e1a3f5a25bdd9fca82e491c2.jpg","text":"TemporaryFile(/tmp/multipartBody444701825167184547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449088665,"filename":"image_17082025_18_43_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/619689c059cd765f8bc6d4e42fb58ddb.jpg","text":"TemporaryFile(/tmp/multipartBody3958368763681627237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449088665,"filename":"image_17082025_18_42_54_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682063","file1":"1377682062","file0":"1377682060","file4":"1377682066","file5":"1377682074","file3":"1377682064"},"map_files_photo_id_array":[{"photo_id":"1377682074","filename":"file5"},{"photo_id":"1377682063","filename":"file2"},{"photo_id":"1377682066","filename":"file4"},{"photo_id":"1377682062","filename":"file1"},{"photo_id":"1377682060","filename":"file0"},{"photo_id":"1377682064","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682062":["hashtag1","hashtag2"]},{"1377682064":["hashtag1","hashtag2"]},{"1377682063":["hashtag1","hashtag2"]},{"1377682066":["hashtag1","hashtag2"]},{"1377682060":["hashtag1","hashtag2"]},{"1377682074":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682062, 1377682064, 1377682063, 1377682066, 1377682060, 1377682074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.084818601608276 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:44:32.098908
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/44/image_17082025_18_44_45_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/18/44/image_17082025_18_44_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/18/44/image_17082025_18_44_24_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/18/44/image_17082025_18_44_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/18/43/image_17082025_18_44_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/18/43/image_17082025_18_43_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/44/image_17082025_18_44_45_10648.jpg', '/home/nano/Desktop/images/17082025/18/44/image_17082025_18_44_34_9639.jpg', '/home/nano/Desktop/images/17082025/18/44/image_17082025_18_44_24_10668.jpg', '/home/nano/Desktop/images/17082025/18/44/image_17082025_18_44_14_9656.jpg', '/home/nano/Desktop/images/17082025/18/43/image_17082025_18_44_04_9661.jpg', '/home/nano/Desktop/images/17082025/18/43/image_17082025_18_43_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/44/image_17082025_18_44_45_10648.jpg
/home/nano/Desktop/images/17082025/18/44/image_17082025_18_44_34_9639.jpg
/home/nano/Desktop/images/17082025/18/44/image_17082025_18_44_24_10668.jpg
/home/nano/Desktop/images/17082025/18/44/image_17082025_18_44_14_9656.jpg
/home/nano/Desktop/images/17082025/18/43/image_17082025_18_44_04_9661.jpg
/home/nano/Desktop/images/17082025/18/43/image_17082025_18_43_54_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682083","1377682085","1377682081","1377682090","1377682087","1377682089"],"photo_ids_order":["1377682081","1377682083","1377682085","1377682087","1377682089","1377682090"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/620e7254f4a56bebdeac7886c53848ce.jpg","text":"TemporaryFile(/tmp/multipartBody6883377636668066872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449133915,"filename":"image_17082025_18_44_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/03b6c6e12c39e60e1915988bb87e7b40.jpg","text":"TemporaryFile(/tmp/multipartBody3239392677245176663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449133915,"filename":"image_17082025_18_44_24_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/651c57b7b1cd05bb44da00959b91d36f.jpg","text":"TemporaryFile(/tmp/multipartBody8315959514323542441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449133915,"filename":"image_17082025_18_44_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5fbdc2ac48a9d4cbd87e3b5700a2603a.jpg","text":"TemporaryFile(/tmp/multipartBody3449653943040427136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449133915,"filename":"image_17082025_18_43_54_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/db91248055203d1919e77fb9bc0095d2.jpg","text":"TemporaryFile(/tmp/multipartBody6857046504259056194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449133915,"filename":"image_17082025_18_44_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e765515e7a72f5711085f387c4bf4fe1.jpg","text":"TemporaryFile(/tmp/multipartBody5835710461202910007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449133915,"filename":"image_17082025_18_44_04_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682085","file1":"1377682083","file0":"1377682081","file4":"1377682089","file5":"1377682090","file3":"1377682087"},"map_files_photo_id_array":[{"photo_id":"1377682090","filename":"file5"},{"photo_id":"1377682085","filename":"file2"},{"photo_id":"1377682089","filename":"file4"},{"photo_id":"1377682083","filename":"file1"},{"photo_id":"1377682081","filename":"file0"},{"photo_id":"1377682087","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682083":["hashtag1","hashtag2"]},{"1377682085":["hashtag1","hashtag2"]},{"1377682081":["hashtag1","hashtag2"]},{"1377682090":["hashtag1","hashtag2"]},{"1377682087":["hashtag1","hashtag2"]},{"1377682089":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682083, 1377682085, 1377682081, 1377682090, 1377682087, 1377682089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.254878997802734 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:45:17.144103
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_15_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/18/44/image_17082025_18_45_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/18/44/image_17082025_18_44_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_44_10649.jpg', '/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_34_9643.jpg', '/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_24_9641.jpg', '/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_15_10664.jpg', '/home/nano/Desktop/images/17082025/18/44/image_17082025_18_45_04_9654.jpg', '/home/nano/Desktop/images/17082025/18/44/image_17082025_18_44_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_44_10649.jpg
/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_34_9643.jpg
/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_24_9641.jpg
/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_15_10664.jpg
/home/nano/Desktop/images/17082025/18/44/image_17082025_18_45_04_9654.jpg
/home/nano/Desktop/images/17082025/18/44/image_17082025_18_44_54_9642.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2813904285430908 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:45:32.173916
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_15_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/18/44/image_17082025_18_45_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/18/44/image_17082025_18_44_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_44_10649.jpg', '/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_34_9643.jpg', '/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_24_9641.jpg', '/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_15_10664.jpg', '/home/nano/Desktop/images/17082025/18/44/image_17082025_18_45_04_9654.jpg', '/home/nano/Desktop/images/17082025/18/44/image_17082025_18_44_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_44_10649.jpg
/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_34_9643.jpg
/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_24_9641.jpg
/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_15_10664.jpg
/home/nano/Desktop/images/17082025/18/44/image_17082025_18_45_04_9654.jpg
/home/nano/Desktop/images/17082025/18/44/image_17082025_18_44_54_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682110","1377682113","1377682103","1377682112","1377682106","1377682108"],"photo_ids_order":["1377682103","1377682106","1377682108","1377682110","1377682112","1377682113"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5b224bdce0778bd85f58fad55590a305.jpg","text":"TemporaryFile(/tmp/multipartBody562176684669722943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449193714,"filename":"image_17082025_18_45_15_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/825b83dd9a546595ac96ad27b3e30d77.jpg","text":"TemporaryFile(/tmp/multipartBody8644200575349993042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449193714,"filename":"image_17082025_18_44_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8538a22264628ff7f2d91b09729055b1.jpg","text":"TemporaryFile(/tmp/multipartBody4968315634903320046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449193714,"filename":"image_17082025_18_45_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b53245e88739c40a9c2e710e99606a75.jpg","text":"TemporaryFile(/tmp/multipartBody3321053778640663566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449193714,"filename":"image_17082025_18_45_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f8875507add50b1124456d1dd5fb2b44.jpg","text":"TemporaryFile(/tmp/multipartBody4550102065361000035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449193714,"filename":"image_17082025_18_45_34_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fb631bcc25699d39a296decb91c181d9.jpg","text":"TemporaryFile(/tmp/multipartBody8147538851953549298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449193714,"filename":"image_17082025_18_45_24_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682108","file1":"1377682106","file0":"1377682103","file4":"1377682112","file5":"1377682113","file3":"1377682110"},"map_files_photo_id_array":[{"photo_id":"1377682113","filename":"file5"},{"photo_id":"1377682108","filename":"file2"},{"photo_id":"1377682112","filename":"file4"},{"photo_id":"1377682106","filename":"file1"},{"photo_id":"1377682103","filename":"file0"},{"photo_id":"1377682110","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682110":["hashtag1","hashtag2"]},{"1377682113":["hashtag1","hashtag2"]},{"1377682103":["hashtag1","hashtag2"]},{"1377682112":["hashtag1","hashtag2"]},{"1377682106":["hashtag1","hashtag2"]},{"1377682108":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682110, 1377682113, 1377682103, 1377682112, 1377682106, 1377682108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.42298340797424 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:46:17.254125
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/46/image_17082025_18_46_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/18/46/image_17082025_18_46_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/18/46/image_17082025_18_46_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/18/45/image_17082025_18_46_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/18/image_17082025_14_18_14_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/46/image_17082025_18_46_44_10650.jpg', '/home/nano/Desktop/images/17082025/18/46/image_17082025_18_46_34_9637.jpg', '/home/nano/Desktop/images/17082025/18/46/image_17082025_18_46_14_10668.jpg', '/home/nano/Desktop/images/17082025/18/45/image_17082025_18_46_04_9647.jpg', '/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_54_9639.jpg', '/home/nano/Desktop/images/17082025/14/18/image_17082025_14_18_14_9657.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/46/image_17082025_18_46_44_10650.jpg
/home/nano/Desktop/images/17082025/18/46/image_17082025_18_46_34_9637.jpg
/home/nano/Desktop/images/17082025/18/46/image_17082025_18_46_14_10668.jpg
/home/nano/Desktop/images/17082025/18/45/image_17082025_18_46_04_9647.jpg
/home/nano/Desktop/images/17082025/18/45/image_17082025_18_45_54_9639.jpg
/home/nano/Desktop/images/17082025/14/18/image_17082025_14_18_14_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682125","1377682121","1377682130","1377682127","1377682120","1377682123"],"photo_ids_order":["1377682120","1377682121","1377682123","1377682125","1377682127","1377682130"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/39d448a7f2eaa2135f60e741121fa4b0.jpg","text":"TemporaryFile(/tmp/multipartBody8090576916154808298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449238937,"filename":"image_17082025_18_46_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/67b031346b15fea9a8a669b101ecdd43.jpg","text":"TemporaryFile(/tmp/multipartBody8714449937538253567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449238937,"filename":"image_17082025_18_46_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7fe73baa05e751b2d88b23f01e87f38c.jpg","text":"TemporaryFile(/tmp/multipartBody6390922509305276529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449238937,"filename":"image_17082025_14_18_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/525a8378a337b29541e58028ec4c1cc6.jpg","text":"TemporaryFile(/tmp/multipartBody5570461404924004218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449238937,"filename":"image_17082025_18_45_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2ace070b20148dfb1cb3fb7472b9a209.jpg","text":"TemporaryFile(/tmp/multipartBody8184264580320800255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449238937,"filename":"image_17082025_18_46_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a1e0481c8f217d48cc0186878d13b3d4.jpg","text":"TemporaryFile(/tmp/multipartBody2917922750391565497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449238937,"filename":"image_17082025_18_46_14_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682123","file1":"1377682121","file0":"1377682120","file4":"1377682127","file5":"1377682130","file3":"1377682125"},"map_files_photo_id_array":[{"photo_id":"1377682130","filename":"file5"},{"photo_id":"1377682123","filename":"file2"},{"photo_id":"1377682127","filename":"file4"},{"photo_id":"1377682121","filename":"file1"},{"photo_id":"1377682120","filename":"file0"},{"photo_id":"1377682125","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682125":["hashtag1","hashtag2"]},{"1377682121":["hashtag1","hashtag2"]},{"1377682130":["hashtag1","hashtag2"]},{"1377682127":["hashtag1","hashtag2"]},{"1377682120":["hashtag1","hashtag2"]},{"1377682123":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682125, 1377682121, 1377682130, 1377682127, 1377682120, 1377682123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.708290338516235 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:47:03.001999
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/17/image_17082025_14_18_04_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/14/17/image_17082025_14_17_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/17/image_17082025_14_17_44_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/14/17/image_17082025_14_17_34_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/14/17/image_17082025_14_17_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/17/image_17082025_14_17_14_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/17/image_17082025_14_18_04_10648.jpg', '/home/nano/Desktop/images/17082025/14/17/image_17082025_14_17_54_9637.jpg', '/home/nano/Desktop/images/17082025/14/17/image_17082025_14_17_44_9643.jpg', '/home/nano/Desktop/images/17082025/14/17/image_17082025_14_17_34_10645.jpg', '/home/nano/Desktop/images/17082025/14/17/image_17082025_14_17_24_9638.jpg', '/home/nano/Desktop/images/17082025/14/17/image_17082025_14_17_14_9650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/17/image_17082025_14_18_04_10648.jpg
/home/nano/Desktop/images/17082025/14/17/image_17082025_14_17_54_9637.jpg
/home/nano/Desktop/images/17082025/14/17/image_17082025_14_17_44_9643.jpg
/home/nano/Desktop/images/17082025/14/17/image_17082025_14_17_34_10645.jpg
/home/nano/Desktop/images/17082025/14/17/image_17082025_14_17_24_9638.jpg
/home/nano/Desktop/images/17082025/14/17/image_17082025_14_17_14_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682146","1377682148","1377682136","1377682145","1377682138","1377682147"],"photo_ids_order":["1377682136","1377682138","1377682145","1377682146","1377682147","1377682148"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6a3a710cb2eba1718ade1d8d5d56eefd.jpg","text":"TemporaryFile(/tmp/multipartBody8401689868025076585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449285300,"filename":"image_17082025_14_17_34_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/53d241996cd43371895c43729ba66c5d.jpg","text":"TemporaryFile(/tmp/multipartBody1537279043208674463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449285300,"filename":"image_17082025_14_17_14_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/46f172f19819bab9778c3e64610a62db.jpg","text":"TemporaryFile(/tmp/multipartBody6943739230232334490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449285300,"filename":"image_17082025_14_18_04_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6ebd9de770369887186575eb5087249b.jpg","text":"TemporaryFile(/tmp/multipartBody1562045545063867604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449285300,"filename":"image_17082025_14_17_44_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dbfcf99313973c0f1683ef1a6627883b.jpg","text":"TemporaryFile(/tmp/multipartBody1225262738883649447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449285300,"filename":"image_17082025_14_17_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0eba20f452cf84ab5213aabff7e2c132.jpg","text":"TemporaryFile(/tmp/multipartBody5060217554207297461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449285300,"filename":"image_17082025_14_17_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682145","file1":"1377682138","file0":"1377682136","file4":"1377682147","file5":"1377682148","file3":"1377682146"},"map_files_photo_id_array":[{"photo_id":"1377682148","filename":"file5"},{"photo_id":"1377682145","filename":"file2"},{"photo_id":"1377682147","filename":"file4"},{"photo_id":"1377682138","filename":"file1"},{"photo_id":"1377682136","filename":"file0"},{"photo_id":"1377682146","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682146":["hashtag1","hashtag2"]},{"1377682148":["hashtag1","hashtag2"]},{"1377682136":["hashtag1","hashtag2"]},{"1377682145":["hashtag1","hashtag2"]},{"1377682138":["hashtag1","hashtag2"]},{"1377682147":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682146, 1377682148, 1377682136, 1377682145, 1377682138, 1377682147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.153998136520386 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:47:47.384309
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/47/image_17082025_18_47_44_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/18/47/image_17082025_18_47_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/18/47/image_17082025_18_47_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/18/47/image_17082025_18_47_14_10675.jpg', 2), ('/home/nano/Desktop/images/17082025/18/46/image_17082025_18_47_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/46/image_17082025_18_46_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/47/image_17082025_18_47_44_10665.jpg', '/home/nano/Desktop/images/17082025/18/47/image_17082025_18_47_34_9639.jpg', '/home/nano/Desktop/images/17082025/18/47/image_17082025_18_47_24_9640.jpg', '/home/nano/Desktop/images/17082025/18/47/image_17082025_18_47_14_10675.jpg', '/home/nano/Desktop/images/17082025/18/46/image_17082025_18_47_04_9638.jpg', '/home/nano/Desktop/images/17082025/18/46/image_17082025_18_46_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/47/image_17082025_18_47_44_10665.jpg
/home/nano/Desktop/images/17082025/18/47/image_17082025_18_47_34_9639.jpg
/home/nano/Desktop/images/17082025/18/47/image_17082025_18_47_24_9640.jpg
/home/nano/Desktop/images/17082025/18/47/image_17082025_18_47_14_10675.jpg
/home/nano/Desktop/images/17082025/18/46/image_17082025_18_47_04_9638.jpg
/home/nano/Desktop/images/17082025/18/46/image_17082025_18_46_54_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682152","1377682154","1377682156","1377682159","1377682150","1377682168"],"photo_ids_order":["1377682150","1377682152","1377682154","1377682156","1377682159","1377682168"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/732cdc69fd30e7edf7b2a91e2d75e9df.jpg","text":"TemporaryFile(/tmp/multipartBody1065609094125474336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449329201,"filename":"image_17082025_18_47_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/14c4eadd15fe8d9807bc5e2c050d90bc.jpg","text":"TemporaryFile(/tmp/multipartBody7305659405579967433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449329201,"filename":"image_17082025_18_47_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/df6b123507063b2dc9feef8219046f76.jpg","text":"TemporaryFile(/tmp/multipartBody7700608469305155207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449329201,"filename":"image_17082025_18_47_14_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e8183399de3ff24909830bcc605a7842.jpg","text":"TemporaryFile(/tmp/multipartBody270326268178697060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449329201,"filename":"image_17082025_18_47_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1ac657cd8db94d5b1f4e4e47c5947456.jpg","text":"TemporaryFile(/tmp/multipartBody9038704167069094290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449329201,"filename":"image_17082025_18_47_44_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1d074ceb309816b95c1d6bc4ae873d1c.jpg","text":"TemporaryFile(/tmp/multipartBody6379066472889110612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449329201,"filename":"image_17082025_18_46_54_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682154","file1":"1377682152","file0":"1377682150","file4":"1377682159","file5":"1377682168","file3":"1377682156"},"map_files_photo_id_array":[{"photo_id":"1377682168","filename":"file5"},{"photo_id":"1377682154","filename":"file2"},{"photo_id":"1377682159","filename":"file4"},{"photo_id":"1377682152","filename":"file1"},{"photo_id":"1377682150","filename":"file0"},{"photo_id":"1377682156","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682152":["hashtag1","hashtag2"]},{"1377682154":["hashtag1","hashtag2"]},{"1377682156":["hashtag1","hashtag2"]},{"1377682159":["hashtag1","hashtag2"]},{"1377682150":["hashtag1","hashtag2"]},{"1377682168":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682152, 1377682154, 1377682156, 1377682159, 1377682150, 1377682168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83949065208435 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:48:32.469462
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/48/image_17082025_18_48_44_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/18/48/image_17082025_18_48_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/18/48/image_17082025_18_48_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/48/image_17082025_18_48_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/18/47/image_17082025_18_48_05_10660.jpg', 2), ('/home/nano/Desktop/images/17082025/18/47/image_17082025_18_47_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/48/image_17082025_18_48_44_9657.jpg', '/home/nano/Desktop/images/17082025/18/48/image_17082025_18_48_34_10650.jpg', '/home/nano/Desktop/images/17082025/18/48/image_17082025_18_48_24_9638.jpg', '/home/nano/Desktop/images/17082025/18/48/image_17082025_18_48_14_9656.jpg', '/home/nano/Desktop/images/17082025/18/47/image_17082025_18_48_05_10660.jpg', '/home/nano/Desktop/images/17082025/18/47/image_17082025_18_47_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/48/image_17082025_18_48_44_9657.jpg
/home/nano/Desktop/images/17082025/18/48/image_17082025_18_48_34_10650.jpg
/home/nano/Desktop/images/17082025/18/48/image_17082025_18_48_24_9638.jpg
/home/nano/Desktop/images/17082025/18/48/image_17082025_18_48_14_9656.jpg
/home/nano/Desktop/images/17082025/18/47/image_17082025_18_48_05_10660.jpg
/home/nano/Desktop/images/17082025/18/47/image_17082025_18_47_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682179","1377682178","1377682181","1377682183","1377682177","1377682185"],"photo_ids_order":["1377682177","1377682178","1377682179","1377682181","1377682183","1377682185"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/656cae3e6a500930783f02a47d259404.jpg","text":"TemporaryFile(/tmp/multipartBody5019398396738445951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449374151,"filename":"image_17082025_18_48_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bddc5fbbc4be3eeedb6274a01d569a6d.jpg","text":"TemporaryFile(/tmp/multipartBody5081730523948087308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449374151,"filename":"image_17082025_18_48_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4b6bacf4f47bd8edd6bc2f95adbb07d5.jpg","text":"TemporaryFile(/tmp/multipartBody911762011324112380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449374151,"filename":"image_17082025_18_48_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1c55f90afb1260c473452b1c6b9ce88e.jpg","text":"TemporaryFile(/tmp/multipartBody2976192450414664323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449374151,"filename":"image_17082025_18_48_05_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/df24da3aea44ea96d215129f86da1b58.jpg","text":"TemporaryFile(/tmp/multipartBody9066202277349576892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449374151,"filename":"image_17082025_18_48_44_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d4ffda569f9878508e5562cf7a248f36.jpg","text":"TemporaryFile(/tmp/multipartBody7179431074462328581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449374151,"filename":"image_17082025_18_47_54_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682179","file1":"1377682178","file0":"1377682177","file4":"1377682183","file5":"1377682185","file3":"1377682181"},"map_files_photo_id_array":[{"photo_id":"1377682185","filename":"file5"},{"photo_id":"1377682179","filename":"file2"},{"photo_id":"1377682183","filename":"file4"},{"photo_id":"1377682178","filename":"file1"},{"photo_id":"1377682177","filename":"file0"},{"photo_id":"1377682181","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682179":["hashtag1","hashtag2"]},{"1377682178":["hashtag1","hashtag2"]},{"1377682181":["hashtag1","hashtag2"]},{"1377682183":["hashtag1","hashtag2"]},{"1377682177":["hashtag1","hashtag2"]},{"1377682185":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682179, 1377682178, 1377682181, 1377682183, 1377682177, 1377682185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.607181549072266 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:49:17.642404
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/49/image_17082025_18_49_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/18/49/image_17082025_18_49_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/18/49/image_17082025_18_49_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/49/image_17082025_18_49_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/18/48/image_17082025_18_49_04_10680.jpg', 2), ('/home/nano/Desktop/images/17082025/18/48/image_17082025_18_48_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/49/image_17082025_18_49_44_9640.jpg', '/home/nano/Desktop/images/17082025/18/49/image_17082025_18_49_34_10650.jpg', '/home/nano/Desktop/images/17082025/18/49/image_17082025_18_49_24_9638.jpg', '/home/nano/Desktop/images/17082025/18/49/image_17082025_18_49_14_9657.jpg', '/home/nano/Desktop/images/17082025/18/48/image_17082025_18_49_04_10680.jpg', '/home/nano/Desktop/images/17082025/18/48/image_17082025_18_48_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/49/image_17082025_18_49_44_9640.jpg
/home/nano/Desktop/images/17082025/18/49/image_17082025_18_49_34_10650.jpg
/home/nano/Desktop/images/17082025/18/49/image_17082025_18_49_24_9638.jpg
/home/nano/Desktop/images/17082025/18/49/image_17082025_18_49_14_9657.jpg
/home/nano/Desktop/images/17082025/18/48/image_17082025_18_49_04_10680.jpg
/home/nano/Desktop/images/17082025/18/48/image_17082025_18_48_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682206","1377682196","1377682199","1377682202","1377682205","1377682208"],"photo_ids_order":["1377682196","1377682199","1377682202","1377682205","1377682206","1377682208"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4e2f228acef5295fc4477a3097db74be.jpg","text":"TemporaryFile(/tmp/multipartBody1416278739777388519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449419306,"filename":"image_17082025_18_49_04_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/78a8a3ae128f318e5b482f31da693fab.jpg","text":"TemporaryFile(/tmp/multipartBody8561627831152745308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449419306,"filename":"image_17082025_18_49_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8ecccda2434c00783182876cf1a06c89.jpg","text":"TemporaryFile(/tmp/multipartBody1016312090547535143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449419306,"filename":"image_17082025_18_49_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3d27fd28b0f0d479e3ca59e0b904c391.jpg","text":"TemporaryFile(/tmp/multipartBody7757867281549218474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449419306,"filename":"image_17082025_18_49_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fcd88548eb369058a1b5ba3b47bd6d4f.jpg","text":"TemporaryFile(/tmp/multipartBody1235849552221068438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449419306,"filename":"image_17082025_18_49_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6f458ed8949173d07dbd54617b1a1fa6.jpg","text":"TemporaryFile(/tmp/multipartBody7467399771257142056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449419306,"filename":"image_17082025_18_48_54_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682202","file1":"1377682199","file0":"1377682196","file4":"1377682206","file5":"1377682208","file3":"1377682205"},"map_files_photo_id_array":[{"photo_id":"1377682208","filename":"file5"},{"photo_id":"1377682202","filename":"file2"},{"photo_id":"1377682206","filename":"file4"},{"photo_id":"1377682199","filename":"file1"},{"photo_id":"1377682196","filename":"file0"},{"photo_id":"1377682205","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682206":["hashtag1","hashtag2"]},{"1377682196":["hashtag1","hashtag2"]},{"1377682199":["hashtag1","hashtag2"]},{"1377682202":["hashtag1","hashtag2"]},{"1377682205":["hashtag1","hashtag2"]},{"1377682208":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682206, 1377682196, 1377682199, 1377682202, 1377682205, 1377682208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.420472145080566 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:50:03.318108
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/16/image_17082025_14_17_04_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/14/16/image_17082025_14_16_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/16/image_17082025_14_16_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/16/image_17082025_14_16_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/14/16/image_17082025_14_16_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/16/image_17082025_14_16_14_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/16/image_17082025_14_17_04_10646.jpg', '/home/nano/Desktop/images/17082025/14/16/image_17082025_14_16_54_9638.jpg', '/home/nano/Desktop/images/17082025/14/16/image_17082025_14_16_44_9638.jpg', '/home/nano/Desktop/images/17082025/14/16/image_17082025_14_16_34_10648.jpg', '/home/nano/Desktop/images/17082025/14/16/image_17082025_14_16_24_9637.jpg', '/home/nano/Desktop/images/17082025/14/16/image_17082025_14_16_14_9651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/16/image_17082025_14_17_04_10646.jpg
/home/nano/Desktop/images/17082025/14/16/image_17082025_14_16_54_9638.jpg
/home/nano/Desktop/images/17082025/14/16/image_17082025_14_16_44_9638.jpg
/home/nano/Desktop/images/17082025/14/16/image_17082025_14_16_34_10648.jpg
/home/nano/Desktop/images/17082025/14/16/image_17082025_14_16_24_9637.jpg
/home/nano/Desktop/images/17082025/14/16/image_17082025_14_16_14_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682233","1377682229","1377682220","1377682211","1377682225","1377682222"],"photo_ids_order":["1377682211","1377682220","1377682222","1377682225","1377682229","1377682233"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/48fa7dd131396e1f4ef187b60600c922.jpg","text":"TemporaryFile(/tmp/multipartBody4082282083613730359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449465571,"filename":"image_17082025_14_16_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6ba145e4dd3d59d21e364bb318cabdd4.jpg","text":"TemporaryFile(/tmp/multipartBody6506202844092199078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449465571,"filename":"image_17082025_14_16_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7c5ebd8a6fb73c7048f14d008bb65d78.jpg","text":"TemporaryFile(/tmp/multipartBody6121236814882972804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449465571,"filename":"image_17082025_14_16_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/995cd2c07fca7e128b4128afa4dc765a.jpg","text":"TemporaryFile(/tmp/multipartBody8920068995174592612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449465571,"filename":"image_17082025_14_17_04_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dfc531133fafbc2a87c6df32c6ad50d5.jpg","text":"TemporaryFile(/tmp/multipartBody3964966542442997364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449465571,"filename":"image_17082025_14_16_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4348227b89fa07e005dd3506f1d5e3ac.jpg","text":"TemporaryFile(/tmp/multipartBody619604052052434499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449465571,"filename":"image_17082025_14_16_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682222","file1":"1377682220","file0":"1377682211","file4":"1377682229","file5":"1377682233","file3":"1377682225"},"map_files_photo_id_array":[{"photo_id":"1377682233","filename":"file5"},{"photo_id":"1377682222","filename":"file2"},{"photo_id":"1377682229","filename":"file4"},{"photo_id":"1377682220","filename":"file1"},{"photo_id":"1377682211","filename":"file0"},{"photo_id":"1377682225","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682233":["hashtag1","hashtag2"]},{"1377682229":["hashtag1","hashtag2"]},{"1377682220":["hashtag1","hashtag2"]},{"1377682211":["hashtag1","hashtag2"]},{"1377682225":["hashtag1","hashtag2"]},{"1377682222":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682233, 1377682229, 1377682220, 1377682211, 1377682225, 1377682222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03042149543762 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:50:47.723803
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/50/image_17082025_18_50_44_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/18/50/image_17082025_18_50_34_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/18/50/image_17082025_18_50_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/18/50/image_17082025_18_50_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/18/49/image_17082025_18_50_04_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/18/49/image_17082025_18_49_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/50/image_17082025_18_50_44_9656.jpg', '/home/nano/Desktop/images/17082025/18/50/image_17082025_18_50_34_10666.jpg', '/home/nano/Desktop/images/17082025/18/50/image_17082025_18_50_24_9642.jpg', '/home/nano/Desktop/images/17082025/18/50/image_17082025_18_50_14_9653.jpg', '/home/nano/Desktop/images/17082025/18/49/image_17082025_18_50_04_10666.jpg', '/home/nano/Desktop/images/17082025/18/49/image_17082025_18_49_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/50/image_17082025_18_50_44_9656.jpg
/home/nano/Desktop/images/17082025/18/50/image_17082025_18_50_34_10666.jpg
/home/nano/Desktop/images/17082025/18/50/image_17082025_18_50_24_9642.jpg
/home/nano/Desktop/images/17082025/18/50/image_17082025_18_50_14_9653.jpg
/home/nano/Desktop/images/17082025/18/49/image_17082025_18_50_04_10666.jpg
/home/nano/Desktop/images/17082025/18/49/image_17082025_18_49_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682248","1377682257","1377682250","1377682247","1377682244","1377682249"],"photo_ids_order":["1377682244","1377682247","1377682248","1377682249","1377682250","1377682257"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5c05035f4fda374b3dd21223177ac748.jpg","text":"TemporaryFile(/tmp/multipartBody2217440816178396868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449509857,"filename":"image_17082025_18_50_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0c896a364cf715dcd48d07c56e21c003.jpg","text":"TemporaryFile(/tmp/multipartBody6777099641634142393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449509857,"filename":"image_17082025_18_49_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ce787e3b1275f78c8f262dbf4aaf9cfd.jpg","text":"TemporaryFile(/tmp/multipartBody728411422947552009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449509857,"filename":"image_17082025_18_50_04_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f93722cbe8456a8b394a20f5e9f4842c.jpg","text":"TemporaryFile(/tmp/multipartBody1384160744809879422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449509857,"filename":"image_17082025_18_50_34_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dd83d25a24252df4c00a5ca968dc7d5f.jpg","text":"TemporaryFile(/tmp/multipartBody2515389554555050716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449509857,"filename":"image_17082025_18_50_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/96a1f47eaef6989b8354a6ec74a0030b.jpg","text":"TemporaryFile(/tmp/multipartBody3771772022754324233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449509857,"filename":"image_17082025_18_50_14_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682248","file1":"1377682247","file0":"1377682244","file4":"1377682250","file5":"1377682257","file3":"1377682249"},"map_files_photo_id_array":[{"photo_id":"1377682257","filename":"file5"},{"photo_id":"1377682248","filename":"file2"},{"photo_id":"1377682250","filename":"file4"},{"photo_id":"1377682247","filename":"file1"},{"photo_id":"1377682244","filename":"file0"},{"photo_id":"1377682249","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682248":["hashtag1","hashtag2"]},{"1377682257":["hashtag1","hashtag2"]},{"1377682250":["hashtag1","hashtag2"]},{"1377682247":["hashtag1","hashtag2"]},{"1377682244":["hashtag1","hashtag2"]},{"1377682249":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682248, 1377682257, 1377682250, 1377682247, 1377682244, 1377682249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66075158119202 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:51:31.826209
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/51/image_17082025_18_51_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/51/image_17082025_18_51_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/18/51/image_17082025_18_51_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/51/image_17082025_18_51_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/18/50/image_17082025_18_51_04_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/18/50/image_17082025_18_50_54_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/51/image_17082025_18_51_44_9638.jpg', '/home/nano/Desktop/images/17082025/18/51/image_17082025_18_51_34_10647.jpg', '/home/nano/Desktop/images/17082025/18/51/image_17082025_18_51_24_9638.jpg', '/home/nano/Desktop/images/17082025/18/51/image_17082025_18_51_14_9656.jpg', '/home/nano/Desktop/images/17082025/18/50/image_17082025_18_51_04_10656.jpg', '/home/nano/Desktop/images/17082025/18/50/image_17082025_18_50_54_9654.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/51/image_17082025_18_51_44_9638.jpg
/home/nano/Desktop/images/17082025/18/51/image_17082025_18_51_34_10647.jpg
/home/nano/Desktop/images/17082025/18/51/image_17082025_18_51_24_9638.jpg
/home/nano/Desktop/images/17082025/18/51/image_17082025_18_51_14_9656.jpg
/home/nano/Desktop/images/17082025/18/50/image_17082025_18_51_04_10656.jpg
/home/nano/Desktop/images/17082025/18/50/image_17082025_18_50_54_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682269","1377682263","1377682274","1377682261","1377682272","1377682266"],"photo_ids_order":["1377682261","1377682263","1377682266","1377682269","1377682272","1377682274"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/42a30c4c10ddc1bf2fede2d25f7cbd00.jpg","text":"TemporaryFile(/tmp/multipartBody2571759989055418821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449553728,"filename":"image_17082025_18_51_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/37d7cbe7977c78ad8a1882881b04e67d.jpg","text":"TemporaryFile(/tmp/multipartBody1691204252963906816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449553728,"filename":"image_17082025_18_51_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/395273bea8b5e8a178a5f9305bd3a7b0.jpg","text":"TemporaryFile(/tmp/multipartBody7985372330473300305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449553728,"filename":"image_17082025_18_50_54_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6725a3a8e5fd4ab2dc2c7290434bb639.jpg","text":"TemporaryFile(/tmp/multipartBody6645613269240877743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449553728,"filename":"image_17082025_18_51_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/775642a5e60a2f8e030d9dd30744c8e8.jpg","text":"TemporaryFile(/tmp/multipartBody2977211964600897052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449553728,"filename":"image_17082025_18_51_04_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f13096919f2c0b8843e26af80c2fa449.jpg","text":"TemporaryFile(/tmp/multipartBody6495036007588546579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449553728,"filename":"image_17082025_18_51_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682266","file1":"1377682263","file0":"1377682261","file4":"1377682272","file5":"1377682274","file3":"1377682269"},"map_files_photo_id_array":[{"photo_id":"1377682274","filename":"file5"},{"photo_id":"1377682266","filename":"file2"},{"photo_id":"1377682272","filename":"file4"},{"photo_id":"1377682263","filename":"file1"},{"photo_id":"1377682261","filename":"file0"},{"photo_id":"1377682269","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682269":["hashtag1","hashtag2"]},{"1377682263":["hashtag1","hashtag2"]},{"1377682274":["hashtag1","hashtag2"]},{"1377682261":["hashtag1","hashtag2"]},{"1377682272":["hashtag1","hashtag2"]},{"1377682266":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682269, 1377682263, 1377682274, 1377682261, 1377682272, 1377682266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.28425598144531 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:52:16.969057
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/52/image_17082025_18_52_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/18/52/image_17082025_18_52_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/18/52/image_17082025_18_52_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/18/51/image_17082025_18_52_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/18/51/image_17082025_18_51_55_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/14/15/image_17082025_14_15_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/52/image_17082025_18_52_44_9636.jpg', '/home/nano/Desktop/images/17082025/18/52/image_17082025_18_52_34_9643.jpg', '/home/nano/Desktop/images/17082025/18/52/image_17082025_18_52_14_9662.jpg', '/home/nano/Desktop/images/17082025/18/51/image_17082025_18_52_04_9651.jpg', '/home/nano/Desktop/images/17082025/18/51/image_17082025_18_51_55_10646.jpg', '/home/nano/Desktop/images/17082025/14/15/image_17082025_14_15_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/52/image_17082025_18_52_44_9636.jpg
/home/nano/Desktop/images/17082025/18/52/image_17082025_18_52_34_9643.jpg
/home/nano/Desktop/images/17082025/18/52/image_17082025_18_52_14_9662.jpg
/home/nano/Desktop/images/17082025/18/51/image_17082025_18_52_04_9651.jpg
/home/nano/Desktop/images/17082025/18/51/image_17082025_18_51_55_10646.jpg
/home/nano/Desktop/images/17082025/14/15/image_17082025_14_15_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682295","1377682289","1377682286","1377682291","1377682294","1377682293"],"photo_ids_order":["1377682286","1377682289","1377682291","1377682293","1377682294","1377682295"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/de51c661bb058ba9afd00642d0c84d34.jpg","text":"TemporaryFile(/tmp/multipartBody578477189180416602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449598718,"filename":"image_17082025_14_15_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a8ab4aca31285147d094955d39a85b2e.jpg","text":"TemporaryFile(/tmp/multipartBody4171572847457348745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449598718,"filename":"image_17082025_18_52_34_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2a9b9d9b7085a12803f3afcdb1ef9629.jpg","text":"TemporaryFile(/tmp/multipartBody905936671343755138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449598718,"filename":"image_17082025_18_52_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1b0358846aab13d69234623d938e50b1.jpg","text":"TemporaryFile(/tmp/multipartBody2809348197881794739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449598718,"filename":"image_17082025_18_52_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/448e68956ecbd672da6faf14c66e05b2.jpg","text":"TemporaryFile(/tmp/multipartBody4392310693521073334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449598718,"filename":"image_17082025_18_51_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/66d8a7da8f32783a7b94cd6294870ea6.jpg","text":"TemporaryFile(/tmp/multipartBody4315986746077116633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449598718,"filename":"image_17082025_18_52_04_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682291","file1":"1377682289","file0":"1377682286","file4":"1377682294","file5":"1377682295","file3":"1377682293"},"map_files_photo_id_array":[{"photo_id":"1377682295","filename":"file5"},{"photo_id":"1377682291","filename":"file2"},{"photo_id":"1377682294","filename":"file4"},{"photo_id":"1377682289","filename":"file1"},{"photo_id":"1377682286","filename":"file0"},{"photo_id":"1377682293","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682295":["hashtag1","hashtag2"]},{"1377682289":["hashtag1","hashtag2"]},{"1377682286":["hashtag1","hashtag2"]},{"1377682291":["hashtag1","hashtag2"]},{"1377682294":["hashtag1","hashtag2"]},{"1377682293":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682295, 1377682289, 1377682286, 1377682291, 1377682294, 1377682293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63541650772095 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:53:02.845208
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/15/image_17082025_14_15_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/15/image_17082025_14_15_34_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/14/15/image_17082025_14_15_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/15/image_17082025_14_15_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/14/14/image_17082025_14_15_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/14/image_17082025_14_14_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/15/image_17082025_14_15_44_10647.jpg', '/home/nano/Desktop/images/17082025/14/15/image_17082025_14_15_34_9635.jpg', '/home/nano/Desktop/images/17082025/14/15/image_17082025_14_15_24_9640.jpg', '/home/nano/Desktop/images/17082025/14/15/image_17082025_14_15_14_10669.jpg', '/home/nano/Desktop/images/17082025/14/14/image_17082025_14_15_04_9638.jpg', '/home/nano/Desktop/images/17082025/14/14/image_17082025_14_14_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/15/image_17082025_14_15_44_10647.jpg
/home/nano/Desktop/images/17082025/14/15/image_17082025_14_15_34_9635.jpg
/home/nano/Desktop/images/17082025/14/15/image_17082025_14_15_24_9640.jpg
/home/nano/Desktop/images/17082025/14/15/image_17082025_14_15_14_10669.jpg
/home/nano/Desktop/images/17082025/14/14/image_17082025_14_15_04_9638.jpg
/home/nano/Desktop/images/17082025/14/14/image_17082025_14_14_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682317","1377682311","1377682313","1377682307","1377682315","1377682299"],"photo_ids_order":["1377682299","1377682307","1377682311","1377682313","1377682315","1377682317"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/949c891d11a2306199e43c5441b123a5.jpg","text":"TemporaryFile(/tmp/multipartBody7228487231805324992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449644656,"filename":"image_17082025_14_14_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3c160b7e8d59cc60e1f6db06fea0b5b4.jpg","text":"TemporaryFile(/tmp/multipartBody7417048917455047235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449644656,"filename":"image_17082025_14_15_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/00dae1c226efd88402e4328303c2fbf0.jpg","text":"TemporaryFile(/tmp/multipartBody4636848072911564141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449644656,"filename":"image_17082025_14_15_14_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/89f3ee59d85dce279f58b4191d15c9ad.jpg","text":"TemporaryFile(/tmp/multipartBody4348900196823766442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449644656,"filename":"image_17082025_14_15_34_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ad9f2371dd0044010095a90c5f8a684d.jpg","text":"TemporaryFile(/tmp/multipartBody4599678926608411398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449644656,"filename":"image_17082025_14_15_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/042ed481bb2d81d5f09c3a23ed4319a9.jpg","text":"TemporaryFile(/tmp/multipartBody7301162753055625343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449644656,"filename":"image_17082025_14_15_44_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682311","file1":"1377682307","file0":"1377682299","file4":"1377682315","file5":"1377682317","file3":"1377682313"},"map_files_photo_id_array":[{"photo_id":"1377682317","filename":"file5"},{"photo_id":"1377682311","filename":"file2"},{"photo_id":"1377682315","filename":"file4"},{"photo_id":"1377682307","filename":"file1"},{"photo_id":"1377682299","filename":"file0"},{"photo_id":"1377682313","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682317":["hashtag1","hashtag2"]},{"1377682311":["hashtag1","hashtag2"]},{"1377682313":["hashtag1","hashtag2"]},{"1377682307":["hashtag1","hashtag2"]},{"1377682315":["hashtag1","hashtag2"]},{"1377682299":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682317, 1377682311, 1377682313, 1377682307, 1377682315, 1377682299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.107787132263184 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:53:47.034122
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/53/image_17082025_18_53_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/18/53/image_17082025_18_53_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/18/53/image_17082025_18_53_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/18/53/image_17082025_18_53_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/18/52/image_17082025_18_53_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/18/52/image_17082025_18_52_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/53/image_17082025_18_53_44_9637.jpg', '/home/nano/Desktop/images/17082025/18/53/image_17082025_18_53_34_9639.jpg', '/home/nano/Desktop/images/17082025/18/53/image_17082025_18_53_24_10649.jpg', '/home/nano/Desktop/images/17082025/18/53/image_17082025_18_53_14_9656.jpg', '/home/nano/Desktop/images/17082025/18/52/image_17082025_18_53_04_9651.jpg', '/home/nano/Desktop/images/17082025/18/52/image_17082025_18_52_54_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/53/image_17082025_18_53_44_9637.jpg
/home/nano/Desktop/images/17082025/18/53/image_17082025_18_53_34_9639.jpg
/home/nano/Desktop/images/17082025/18/53/image_17082025_18_53_24_10649.jpg
/home/nano/Desktop/images/17082025/18/53/image_17082025_18_53_14_9656.jpg
/home/nano/Desktop/images/17082025/18/52/image_17082025_18_53_04_9651.jpg
/home/nano/Desktop/images/17082025/18/52/image_17082025_18_52_54_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682323","1377682325","1377682328","1377682319","1377682336","1377682321"],"photo_ids_order":["1377682319","1377682321","1377682323","1377682325","1377682328","1377682336"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/25010645ce4db262d8c49f118f3289bd.jpg","text":"TemporaryFile(/tmp/multipartBody236817062361612001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449688736,"filename":"image_17082025_18_53_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7dac9e352e32d76236e0f0c2423ebb24.jpg","text":"TemporaryFile(/tmp/multipartBody1371198242086143026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449688736,"filename":"image_17082025_18_53_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/795e96bf1d459e3025d8519f8415ae79.jpg","text":"TemporaryFile(/tmp/multipartBody7287783821890934366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449688736,"filename":"image_17082025_18_53_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dd998de7ce2f62759ff2f479767f188f.jpg","text":"TemporaryFile(/tmp/multipartBody3213074618936914041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449688736,"filename":"image_17082025_18_53_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e02f81ed4565876adaac126a6c20ab17.jpg","text":"TemporaryFile(/tmp/multipartBody1141816971100001333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449688736,"filename":"image_17082025_18_52_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b69ba12daf27ce8da166690b95cea2e0.jpg","text":"TemporaryFile(/tmp/multipartBody2236163045209492251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449688736,"filename":"image_17082025_18_53_34_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682323","file1":"1377682321","file0":"1377682319","file4":"1377682328","file5":"1377682336","file3":"1377682325"},"map_files_photo_id_array":[{"photo_id":"1377682336","filename":"file5"},{"photo_id":"1377682323","filename":"file2"},{"photo_id":"1377682328","filename":"file4"},{"photo_id":"1377682321","filename":"file1"},{"photo_id":"1377682319","filename":"file0"},{"photo_id":"1377682325","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682323":["hashtag1","hashtag2"]},{"1377682325":["hashtag1","hashtag2"]},{"1377682328":["hashtag1","hashtag2"]},{"1377682319":["hashtag1","hashtag2"]},{"1377682336":["hashtag1","hashtag2"]},{"1377682321":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682323, 1377682325, 1377682328, 1377682319, 1377682336, 1377682321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.670987367630005 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:54:32.159097
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/54/image_17082025_18_54_45_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/18/54/image_17082025_18_54_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/54/image_17082025_18_54_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/18/54/image_17082025_18_54_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/18/53/image_17082025_18_54_04_9678.jpg', 2), ('/home/nano/Desktop/images/17082025/18/53/image_17082025_18_53_54_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/54/image_17082025_18_54_45_10647.jpg', '/home/nano/Desktop/images/17082025/18/54/image_17082025_18_54_34_9638.jpg', '/home/nano/Desktop/images/17082025/18/54/image_17082025_18_54_24_10646.jpg', '/home/nano/Desktop/images/17082025/18/54/image_17082025_18_54_14_9654.jpg', '/home/nano/Desktop/images/17082025/18/53/image_17082025_18_54_04_9678.jpg', '/home/nano/Desktop/images/17082025/18/53/image_17082025_18_53_54_10646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/54/image_17082025_18_54_45_10647.jpg
/home/nano/Desktop/images/17082025/18/54/image_17082025_18_54_34_9638.jpg
/home/nano/Desktop/images/17082025/18/54/image_17082025_18_54_24_10646.jpg
/home/nano/Desktop/images/17082025/18/54/image_17082025_18_54_14_9654.jpg
/home/nano/Desktop/images/17082025/18/53/image_17082025_18_54_04_9678.jpg
/home/nano/Desktop/images/17082025/18/53/image_17082025_18_53_54_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682350","1377682346","1377682349","1377682351","1377682345","1377682348"],"photo_ids_order":["1377682345","1377682346","1377682348","1377682349","1377682350","1377682351"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/df65a579e16f06d1064d1f1c9fc43ccc.jpg","text":"TemporaryFile(/tmp/multipartBody5534913642078551698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449734010,"filename":"image_17082025_18_54_04_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fb1cc1214ea0b526753c94c0f819f10a.jpg","text":"TemporaryFile(/tmp/multipartBody3822189965666912113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449734010,"filename":"image_17082025_18_54_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/667390a1831810430c41b20677610b34.jpg","text":"TemporaryFile(/tmp/multipartBody6045753123615362733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449734010,"filename":"image_17082025_18_54_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7086883af1ae3c87b6c1d3254ea4c34b.jpg","text":"TemporaryFile(/tmp/multipartBody2131312205946306829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449734010,"filename":"image_17082025_18_53_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3e06cbcee3b538a481171ea0f6b73334.jpg","text":"TemporaryFile(/tmp/multipartBody8164780989175332956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449734010,"filename":"image_17082025_18_54_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f2e7765e0ea236e65a8e88f028109d38.jpg","text":"TemporaryFile(/tmp/multipartBody6534578425455986105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449734010,"filename":"image_17082025_18_54_24_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682348","file1":"1377682346","file0":"1377682345","file4":"1377682350","file5":"1377682351","file3":"1377682349"},"map_files_photo_id_array":[{"photo_id":"1377682351","filename":"file5"},{"photo_id":"1377682348","filename":"file2"},{"photo_id":"1377682350","filename":"file4"},{"photo_id":"1377682346","filename":"file1"},{"photo_id":"1377682345","filename":"file0"},{"photo_id":"1377682349","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682350":["hashtag1","hashtag2"]},{"1377682346":["hashtag1","hashtag2"]},{"1377682349":["hashtag1","hashtag2"]},{"1377682351":["hashtag1","hashtag2"]},{"1377682345":["hashtag1","hashtag2"]},{"1377682348":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682350, 1377682346, 1377682349, 1377682351, 1377682345, 1377682348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.418174743652344 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:55:17.288095
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/55/image_17082025_18_55_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/18/55/image_17082025_18_55_34_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/18/55/image_17082025_18_55_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/18/54/image_17082025_18_55_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/18/54/image_17082025_18_54_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/14/image_17082025_14_14_44_10664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/55/image_17082025_18_55_44_10649.jpg', '/home/nano/Desktop/images/17082025/18/55/image_17082025_18_55_34_9645.jpg', '/home/nano/Desktop/images/17082025/18/55/image_17082025_18_55_24_9655.jpg', '/home/nano/Desktop/images/17082025/18/54/image_17082025_18_55_04_9638.jpg', '/home/nano/Desktop/images/17082025/18/54/image_17082025_18_54_54_9638.jpg', '/home/nano/Desktop/images/17082025/14/14/image_17082025_14_14_44_10664.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/55/image_17082025_18_55_44_10649.jpg
/home/nano/Desktop/images/17082025/18/55/image_17082025_18_55_34_9645.jpg
/home/nano/Desktop/images/17082025/18/55/image_17082025_18_55_24_9655.jpg
/home/nano/Desktop/images/17082025/18/54/image_17082025_18_55_04_9638.jpg
/home/nano/Desktop/images/17082025/18/54/image_17082025_18_54_54_9638.jpg
/home/nano/Desktop/images/17082025/14/14/image_17082025_14_14_44_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682368","1377682361","1377682367","1377682369","1377682363","1377682365"],"photo_ids_order":["1377682361","1377682363","1377682365","1377682367","1377682368","1377682369"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5608f427e599daa19b496a79c3a3e42e.jpg","text":"TemporaryFile(/tmp/multipartBody962365009673348459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449779109,"filename":"image_17082025_18_54_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4c3204582c545d2ec161e9924440e575.jpg","text":"TemporaryFile(/tmp/multipartBody5945937860371272809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449779109,"filename":"image_17082025_18_55_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6f04f54e7eaca0044f8b731cc86626c1.jpg","text":"TemporaryFile(/tmp/multipartBody6569433583611042332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449779109,"filename":"image_17082025_18_55_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1f588ee414690e7442cea567834fa653.jpg","text":"TemporaryFile(/tmp/multipartBody442087300997316265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449779109,"filename":"image_17082025_14_14_44_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1d0615b1c5b61f5bda5cf45416620e4f.jpg","text":"TemporaryFile(/tmp/multipartBody8188881454623840116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449779109,"filename":"image_17082025_18_55_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4a40d208147850c0d0105de013b5f7fc.jpg","text":"TemporaryFile(/tmp/multipartBody7799756668432019659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449779109,"filename":"image_17082025_18_55_24_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682365","file1":"1377682363","file0":"1377682361","file4":"1377682368","file5":"1377682369","file3":"1377682367"},"map_files_photo_id_array":[{"photo_id":"1377682369","filename":"file5"},{"photo_id":"1377682365","filename":"file2"},{"photo_id":"1377682368","filename":"file4"},{"photo_id":"1377682363","filename":"file1"},{"photo_id":"1377682361","filename":"file0"},{"photo_id":"1377682367","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682368":["hashtag1","hashtag2"]},{"1377682361":["hashtag1","hashtag2"]},{"1377682367":["hashtag1","hashtag2"]},{"1377682369":["hashtag1","hashtag2"]},{"1377682363":["hashtag1","hashtag2"]},{"1377682365":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682368, 1377682361, 1377682367, 1377682369, 1377682363, 1377682365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18987798690796 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:56:02.923284
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/14/image_17082025_14_14_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/14/image_17082025_14_14_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/14/image_17082025_14_14_14_10686.jpg', 2), ('/home/nano/Desktop/images/17082025/14/13/image_17082025_14_14_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/14/13/image_17082025_14_13_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/14/13/image_17082025_14_13_34_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/14/image_17082025_14_14_34_9638.jpg', '/home/nano/Desktop/images/17082025/14/14/image_17082025_14_14_24_9640.jpg', '/home/nano/Desktop/images/17082025/14/14/image_17082025_14_14_14_10686.jpg', '/home/nano/Desktop/images/17082025/14/13/image_17082025_14_14_04_9645.jpg', '/home/nano/Desktop/images/17082025/14/13/image_17082025_14_13_44_10650.jpg', '/home/nano/Desktop/images/17082025/14/13/image_17082025_14_13_34_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/14/image_17082025_14_14_34_9638.jpg
/home/nano/Desktop/images/17082025/14/14/image_17082025_14_14_24_9640.jpg
/home/nano/Desktop/images/17082025/14/14/image_17082025_14_14_14_10686.jpg
/home/nano/Desktop/images/17082025/14/13/image_17082025_14_14_04_9645.jpg
/home/nano/Desktop/images/17082025/14/13/image_17082025_14_13_44_10650.jpg
/home/nano/Desktop/images/17082025/14/13/image_17082025_14_13_34_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682382","1377682373","1377682390","1377682387","1377682384","1377682371"],"photo_ids_order":["1377682371","1377682373","1377682382","1377682384","1377682387","1377682390"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ac0a4d01e7249669e75838db7edfdf02.jpg","text":"TemporaryFile(/tmp/multipartBody9165939277807625361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449824839,"filename":"image_17082025_14_14_14_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/328d52a199626b14d89017f182092ede.jpg","text":"TemporaryFile(/tmp/multipartBody6763311124978443383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449824839,"filename":"image_17082025_14_14_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/336a54d1668269cdbc26f961ec97c527.jpg","text":"TemporaryFile(/tmp/multipartBody7853885746845770642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449824839,"filename":"image_17082025_14_13_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/623dab9cc9116bca0137b42cbb213269.jpg","text":"TemporaryFile(/tmp/multipartBody8531852295304840085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449824839,"filename":"image_17082025_14_13_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e547ae64a16e3b32b6f07d8d6533e27d.jpg","text":"TemporaryFile(/tmp/multipartBody913329571543443736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449824839,"filename":"image_17082025_14_14_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a5256457dccaa06104362475bfa0a577.jpg","text":"TemporaryFile(/tmp/multipartBody2283482743747862260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449824839,"filename":"image_17082025_14_14_34_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682382","file1":"1377682373","file0":"1377682371","file4":"1377682387","file5":"1377682390","file3":"1377682384"},"map_files_photo_id_array":[{"photo_id":"1377682390","filename":"file5"},{"photo_id":"1377682382","filename":"file2"},{"photo_id":"1377682387","filename":"file4"},{"photo_id":"1377682373","filename":"file1"},{"photo_id":"1377682371","filename":"file0"},{"photo_id":"1377682384","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682382":["hashtag1","hashtag2"]},{"1377682373":["hashtag1","hashtag2"]},{"1377682390":["hashtag1","hashtag2"]},{"1377682387":["hashtag1","hashtag2"]},{"1377682384":["hashtag1","hashtag2"]},{"1377682371":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682382, 1377682373, 1377682390, 1377682387, 1377682384, 1377682371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.650636434555054 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:56:47.382964
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/56/image_17082025_18_56_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/18/56/image_17082025_18_56_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/18/56/image_17082025_18_56_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/18/55/image_17082025_18_56_04_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/18/55/image_17082025_18_55_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/13/image_17082025_14_13_24_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/56/image_17082025_18_56_44_10650.jpg', '/home/nano/Desktop/images/17082025/18/56/image_17082025_18_56_34_9640.jpg', '/home/nano/Desktop/images/17082025/18/56/image_17082025_18_56_24_9636.jpg', '/home/nano/Desktop/images/17082025/18/55/image_17082025_18_56_04_9639.jpg', '/home/nano/Desktop/images/17082025/18/55/image_17082025_18_55_54_9637.jpg', '/home/nano/Desktop/images/17082025/14/13/image_17082025_14_13_24_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/56/image_17082025_18_56_44_10650.jpg
/home/nano/Desktop/images/17082025/18/56/image_17082025_18_56_34_9640.jpg
/home/nano/Desktop/images/17082025/18/56/image_17082025_18_56_24_9636.jpg
/home/nano/Desktop/images/17082025/18/55/image_17082025_18_56_04_9639.jpg
/home/nano/Desktop/images/17082025/18/55/image_17082025_18_55_54_9637.jpg
/home/nano/Desktop/images/17082025/14/13/image_17082025_14_13_24_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682410","1377682394","1377682400","1377682396","1377682398","1377682402"],"photo_ids_order":["1377682394","1377682396","1377682398","1377682400","1377682402","1377682410"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6d263881ac12160bfde707cd5a37551c.jpg","text":"TemporaryFile(/tmp/multipartBody2815813115701275046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449869160,"filename":"image_17082025_14_13_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3659b4af6a24af33752e062e137c302b.jpg","text":"TemporaryFile(/tmp/multipartBody9222780806959163406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449869160,"filename":"image_17082025_18_56_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bafffbcba0562738eaa2e9be549810c6.jpg","text":"TemporaryFile(/tmp/multipartBody6781170315270015432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449869160,"filename":"image_17082025_18_56_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d06e6155397fbd0daad683fe5a883ff2.jpg","text":"TemporaryFile(/tmp/multipartBody6898094354084019164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449869160,"filename":"image_17082025_18_56_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3556764f0f6f71b81be36bc480657128.jpg","text":"TemporaryFile(/tmp/multipartBody2074022385292056558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449869160,"filename":"image_17082025_18_56_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eca5827144ca205660bb32fc6e0d8039.jpg","text":"TemporaryFile(/tmp/multipartBody8486011510539684222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449869160,"filename":"image_17082025_18_55_54_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682398","file1":"1377682396","file0":"1377682394","file4":"1377682402","file5":"1377682410","file3":"1377682400"},"map_files_photo_id_array":[{"photo_id":"1377682410","filename":"file5"},{"photo_id":"1377682398","filename":"file2"},{"photo_id":"1377682402","filename":"file4"},{"photo_id":"1377682396","filename":"file1"},{"photo_id":"1377682394","filename":"file0"},{"photo_id":"1377682400","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682410":["hashtag1","hashtag2"]},{"1377682394":["hashtag1","hashtag2"]},{"1377682400":["hashtag1","hashtag2"]},{"1377682396":["hashtag1","hashtag2"]},{"1377682398":["hashtag1","hashtag2"]},{"1377682402":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682410, 1377682394, 1377682400, 1377682396, 1377682398, 1377682402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37545680999756 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:57:32.528731
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_14_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/18/56/image_17082025_18_57_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/18/56/image_17082025_18_56_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_44_10649.jpg', '/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_34_9639.jpg', '/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_24_9656.jpg', '/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_14_10673.jpg', '/home/nano/Desktop/images/17082025/18/56/image_17082025_18_57_04_9646.jpg', '/home/nano/Desktop/images/17082025/18/56/image_17082025_18_56_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_44_10649.jpg
/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_34_9639.jpg
/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_24_9656.jpg
/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_14_10673.jpg
/home/nano/Desktop/images/17082025/18/56/image_17082025_18_57_04_9646.jpg
/home/nano/Desktop/images/17082025/18/56/image_17082025_18_56_54_9638.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:58:03.192650
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_14_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/18/56/image_17082025_18_57_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/18/56/image_17082025_18_56_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_44_10649.jpg', '/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_34_9639.jpg', '/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_24_9656.jpg', '/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_14_10673.jpg', '/home/nano/Desktop/images/17082025/18/56/image_17082025_18_57_04_9646.jpg', '/home/nano/Desktop/images/17082025/18/56/image_17082025_18_56_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_44_10649.jpg
/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_34_9639.jpg
/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_24_9656.jpg
/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_14_10673.jpg
/home/nano/Desktop/images/17082025/18/56/image_17082025_18_57_04_9646.jpg
/home/nano/Desktop/images/17082025/18/56/image_17082025_18_56_54_9638.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377682842","1377682728","1377682673","1377682783","1377682588","1377682618"],"photo_ids_order":["1377682588","1377682618","1377682673","1377682728","1377682783","1377682842"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/545801cc2ec35ee428aab256398341bb.jpg","text":"TemporaryFile(/tmp/multipartBody5431001017315646540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449945139,"filename":"image_17082025_18_56_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/80dac4e53bed06d5ac5df489a57fc67d.jpg","text":"TemporaryFile(/tmp/multipartBody2107286155911536953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449945139,"filename":"image_17082025_18_57_14_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/428f86c7f5ace6ef96480478b9f2f0a4.jpg","text":"TemporaryFile(/tmp/multipartBody7590022153167149386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449945139,"filename":"image_17082025_18_57_24_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e5e91fb54818426de5f423fd1b0bdf14.jpg","text":"TemporaryFile(/tmp/multipartBody5587536070037376242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449945139,"filename":"image_17082025_18_57_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/72a6317f38acee474edcf1a7fcc77b9a.jpg","text":"TemporaryFile(/tmp/multipartBody1671444440184088414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449945139,"filename":"image_17082025_18_57_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c0ca5cece3936cb46b4f0520f1978c06.jpg","text":"TemporaryFile(/tmp/multipartBody5746223610184762023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755449945139,"filename":"image_17082025_18_57_34_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377682673","file1":"1377682618","file0":"1377682588","file4":"1377682783","file5":"1377682842","file3":"1377682728"},"map_files_photo_id_array":[{"photo_id":"1377682842","filename":"file5"},{"photo_id":"1377682673","filename":"file2"},{"photo_id":"1377682783","filename":"file4"},{"photo_id":"1377682618","filename":"file1"},{"photo_id":"1377682588","filename":"file0"},{"photo_id":"1377682728","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377682842":["hashtag1","hashtag2"]},{"1377682728":["hashtag1","hashtag2"]},{"1377682673":["hashtag1","hashtag2"]},{"1377682783":["hashtag1","hashtag2"]},{"1377682588":["hashtag1","hashtag2"]},{"1377682618":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377682842, 1377682728, 1377682673, 1377682783, 1377682588, 1377682618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4828724861145 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:59:03.216728
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/58/image_17082025_18_58_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/18/58/image_17082025_18_58_34_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/18/58/image_17082025_18_58_24_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/18/58/image_17082025_18_58_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/18/57/image_17082025_18_58_05_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/58/image_17082025_18_58_44_9639.jpg', '/home/nano/Desktop/images/17082025/18/58/image_17082025_18_58_34_10652.jpg', '/home/nano/Desktop/images/17082025/18/58/image_17082025_18_58_24_9654.jpg', '/home/nano/Desktop/images/17082025/18/58/image_17082025_18_58_14_9662.jpg', '/home/nano/Desktop/images/17082025/18/57/image_17082025_18_58_05_10669.jpg', '/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/58/image_17082025_18_58_44_9639.jpg
/home/nano/Desktop/images/17082025/18/58/image_17082025_18_58_34_10652.jpg
/home/nano/Desktop/images/17082025/18/58/image_17082025_18_58_24_9654.jpg
/home/nano/Desktop/images/17082025/18/58/image_17082025_18_58_14_9662.jpg
/home/nano/Desktop/images/17082025/18/57/image_17082025_18_58_05_10669.jpg
/home/nano/Desktop/images/17082025/18/57/image_17082025_18_57_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377683474","1377683363","1377683537","1377683290","1377683419","1377683610"],"photo_ids_order":["1377683290","1377683363","1377683419","1377683474","1377683537","1377683610"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6a593241433ecca4b6114468dd0deaa4.jpg","text":"TemporaryFile(/tmp/multipartBody6105886517203284904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450005333,"filename":"image_17082025_18_58_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/630bc7b3f5af35277e8980d625675808.jpg","text":"TemporaryFile(/tmp/multipartBody3976710283984051380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450005333,"filename":"image_17082025_18_58_34_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/83d3ba5fdc6d10998b13ca1d6ec52501.jpg","text":"TemporaryFile(/tmp/multipartBody1951194098513683820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450005333,"filename":"image_17082025_18_58_05_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/22ceb204f068a740bdc61b18bec4c258.jpg","text":"TemporaryFile(/tmp/multipartBody7649114543165008564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450005333,"filename":"image_17082025_18_58_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2b7a2f4d224a3e927e2656af0a8f372e.jpg","text":"TemporaryFile(/tmp/multipartBody7680326538925809520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450005333,"filename":"image_17082025_18_58_24_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/75a1f1f54c06700144dbcb9d88dbda0a.jpg","text":"TemporaryFile(/tmp/multipartBody5030351231727912392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450005333,"filename":"image_17082025_18_57_54_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377683419","file1":"1377683363","file0":"1377683290","file4":"1377683537","file5":"1377683610","file3":"1377683474"},"map_files_photo_id_array":[{"photo_id":"1377683610","filename":"file5"},{"photo_id":"1377683419","filename":"file2"},{"photo_id":"1377683537","filename":"file4"},{"photo_id":"1377683363","filename":"file1"},{"photo_id":"1377683290","filename":"file0"},{"photo_id":"1377683474","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377683474":["hashtag1","hashtag2"]},{"1377683363":["hashtag1","hashtag2"]},{"1377683537":["hashtag1","hashtag2"]},{"1377683290":["hashtag1","hashtag2"]},{"1377683419":["hashtag1","hashtag2"]},{"1377683610":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377683474, 1377683363, 1377683537, 1377683290, 1377683419, 1377683610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.76448678970337 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 18:59:47.317082
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/18/59/image_17082025_18_59_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/18/59/image_17082025_18_59_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/18/59/image_17082025_18_59_24_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/18/59/image_17082025_18_59_14_9678.jpg', 2), ('/home/nano/Desktop/images/17082025/18/58/image_17082025_18_59_04_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/18/58/image_17082025_18_58_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/18/59/image_17082025_18_59_44_9637.jpg', '/home/nano/Desktop/images/17082025/18/59/image_17082025_18_59_34_10647.jpg', '/home/nano/Desktop/images/17082025/18/59/image_17082025_18_59_24_9654.jpg', '/home/nano/Desktop/images/17082025/18/59/image_17082025_18_59_14_9678.jpg', '/home/nano/Desktop/images/17082025/18/58/image_17082025_18_59_04_10657.jpg', '/home/nano/Desktop/images/17082025/18/58/image_17082025_18_58_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/18/59/image_17082025_18_59_44_9637.jpg
/home/nano/Desktop/images/17082025/18/59/image_17082025_18_59_34_10647.jpg
/home/nano/Desktop/images/17082025/18/59/image_17082025_18_59_24_9654.jpg
/home/nano/Desktop/images/17082025/18/59/image_17082025_18_59_14_9678.jpg
/home/nano/Desktop/images/17082025/18/58/image_17082025_18_59_04_10657.jpg
/home/nano/Desktop/images/17082025/18/58/image_17082025_18_58_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377683978","1377684007","1377683950","1377684138","1377684036","1377684074"],"photo_ids_order":["1377683950","1377683978","1377684007","1377684036","1377684074","1377684138"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f7b61e5274053ae0926784b7186361c5.jpg","text":"TemporaryFile(/tmp/multipartBody5903162094292037762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450048941,"filename":"image_17082025_18_59_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d9a7a0daf7b10d1cd86cb1511ab2276d.jpg","text":"TemporaryFile(/tmp/multipartBody5580696813886609737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450048941,"filename":"image_17082025_18_59_24_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0c8464db5ee4a5ae6c5caa889f42e82f.jpg","text":"TemporaryFile(/tmp/multipartBody376498297908051593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450048941,"filename":"image_17082025_18_59_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eaa1cac285a39d5616953f4bc90476b9.jpg","text":"TemporaryFile(/tmp/multipartBody5422515606915384702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450048941,"filename":"image_17082025_18_58_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8bee301c30ae29d39fdd5964e0731472.jpg","text":"TemporaryFile(/tmp/multipartBody1017236565274541730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450048941,"filename":"image_17082025_18_59_14_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e901ed862bb0bef1dbf9ae901ba3687e.jpg","text":"TemporaryFile(/tmp/multipartBody8364608012367649265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450048941,"filename":"image_17082025_18_59_04_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377684007","file1":"1377683978","file0":"1377683950","file4":"1377684074","file5":"1377684138","file3":"1377684036"},"map_files_photo_id_array":[{"photo_id":"1377684138","filename":"file5"},{"photo_id":"1377684007","filename":"file2"},{"photo_id":"1377684074","filename":"file4"},{"photo_id":"1377683978","filename":"file1"},{"photo_id":"1377683950","filename":"file0"},{"photo_id":"1377684036","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377683978":["hashtag1","hashtag2"]},{"1377684007":["hashtag1","hashtag2"]},{"1377683950":["hashtag1","hashtag2"]},{"1377684138":["hashtag1","hashtag2"]},{"1377684036":["hashtag1","hashtag2"]},{"1377684074":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377683978, 1377684007, 1377683950, 1377684138, 1377684036, 1377684074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91437768936157 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:00:32.421436
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/00/image_17082025_19_00_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/19/00/image_17082025_19_00_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/19/00/image_17082025_19_00_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/18/59/image_17082025_19_00_04_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/18/59/image_17082025_18_59_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/13/image_17082025_14_13_15_10664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/00/image_17082025_19_00_44_9639.jpg', '/home/nano/Desktop/images/17082025/19/00/image_17082025_19_00_24_9637.jpg', '/home/nano/Desktop/images/17082025/19/00/image_17082025_19_00_14_9654.jpg', '/home/nano/Desktop/images/17082025/18/59/image_17082025_19_00_04_10657.jpg', '/home/nano/Desktop/images/17082025/18/59/image_17082025_18_59_54_9638.jpg', '/home/nano/Desktop/images/17082025/14/13/image_17082025_14_13_15_10664.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/00/image_17082025_19_00_44_9639.jpg
/home/nano/Desktop/images/17082025/19/00/image_17082025_19_00_24_9637.jpg
/home/nano/Desktop/images/17082025/19/00/image_17082025_19_00_14_9654.jpg
/home/nano/Desktop/images/17082025/18/59/image_17082025_19_00_04_10657.jpg
/home/nano/Desktop/images/17082025/18/59/image_17082025_18_59_54_9638.jpg
/home/nano/Desktop/images/17082025/14/13/image_17082025_14_13_15_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377684637","1377684565","1377684498","1377684684","1377684717","1377684414"],"photo_ids_order":["1377684414","1377684498","1377684565","1377684637","1377684684","1377684717"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d9ddc453e294b87f865ff7bf3192eda3.jpg","text":"TemporaryFile(/tmp/multipartBody3966294378858732119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450094271,"filename":"image_17082025_19_00_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a361b5ee483d402376223e0cac39c28a.jpg","text":"TemporaryFile(/tmp/multipartBody744564613393527897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450094271,"filename":"image_17082025_19_00_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8f6816242811ff57c57cf5f43aee6def.jpg","text":"TemporaryFile(/tmp/multipartBody5422864582953629225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450094271,"filename":"image_17082025_19_00_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aca96436283f2ae3c9534ff44283e577.jpg","text":"TemporaryFile(/tmp/multipartBody110153802050298087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450094271,"filename":"image_17082025_18_59_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ed6c8961df85c4196ad789f3192a1486.jpg","text":"TemporaryFile(/tmp/multipartBody3853783929755969152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450094271,"filename":"image_17082025_14_13_15_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/40ab13bae9c48052c52bc5b081ea0d6d.jpg","text":"TemporaryFile(/tmp/multipartBody6532926825792123812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450094271,"filename":"image_17082025_19_00_44_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377684565","file1":"1377684498","file0":"1377684414","file4":"1377684684","file5":"1377684717","file3":"1377684637"},"map_files_photo_id_array":[{"photo_id":"1377684717","filename":"file5"},{"photo_id":"1377684565","filename":"file2"},{"photo_id":"1377684684","filename":"file4"},{"photo_id":"1377684498","filename":"file1"},{"photo_id":"1377684414","filename":"file0"},{"photo_id":"1377684637","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377684637":["hashtag1","hashtag2"]},{"1377684565":["hashtag1","hashtag2"]},{"1377684498":["hashtag1","hashtag2"]},{"1377684684":["hashtag1","hashtag2"]},{"1377684717":["hashtag1","hashtag2"]},{"1377684414":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377684637, 1377684565, 1377684498, 1377684684, 1377684717, 1377684414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16344928741455 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:01:17.504763
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/01/image_17082025_19_01_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/19/01/image_17082025_19_01_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/19/01/image_17082025_19_01_25_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/19/01/image_17082025_19_01_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/19/00/image_17082025_19_01_04_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/19/00/image_17082025_19_00_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/01/image_17082025_19_01_44_9638.jpg', '/home/nano/Desktop/images/17082025/19/01/image_17082025_19_01_34_9639.jpg', '/home/nano/Desktop/images/17082025/19/01/image_17082025_19_01_25_10646.jpg', '/home/nano/Desktop/images/17082025/19/01/image_17082025_19_01_14_9658.jpg', '/home/nano/Desktop/images/17082025/19/00/image_17082025_19_01_04_10671.jpg', '/home/nano/Desktop/images/17082025/19/00/image_17082025_19_00_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/01/image_17082025_19_01_44_9638.jpg
/home/nano/Desktop/images/17082025/19/01/image_17082025_19_01_34_9639.jpg
/home/nano/Desktop/images/17082025/19/01/image_17082025_19_01_25_10646.jpg
/home/nano/Desktop/images/17082025/19/01/image_17082025_19_01_14_9658.jpg
/home/nano/Desktop/images/17082025/19/00/image_17082025_19_01_04_10671.jpg
/home/nano/Desktop/images/17082025/19/00/image_17082025_19_00_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377684862","1377684861","1377684858","1377684852","1377684855","1377684860"],"photo_ids_order":["1377684852","1377684855","1377684858","1377684860","1377684861","1377684862"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/50cd9201a271bd51bb33a62464b4d717.jpg","text":"TemporaryFile(/tmp/multipartBody4151478862011668975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450139172,"filename":"image_17082025_19_00_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/12036e4847855b399fb2d42a92287bb5.jpg","text":"TemporaryFile(/tmp/multipartBody7765112091544826948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450139172,"filename":"image_17082025_19_01_04_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/878898a19a547fbbed3a6f9bcc205a2c.jpg","text":"TemporaryFile(/tmp/multipartBody6720917820211103812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450139172,"filename":"image_17082025_19_01_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/86828a79e001b1ab70c703f0e56b8b25.jpg","text":"TemporaryFile(/tmp/multipartBody4197298634770038518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450139172,"filename":"image_17082025_19_01_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9581f9952308352910abd0feb42840d7.jpg","text":"TemporaryFile(/tmp/multipartBody5783358888842925705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450139172,"filename":"image_17082025_19_01_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b63d09126a9de1bc02bde6623766f55c.jpg","text":"TemporaryFile(/tmp/multipartBody2040554248249448656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450139172,"filename":"image_17082025_19_01_14_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377684858","file1":"1377684855","file0":"1377684852","file4":"1377684861","file5":"1377684862","file3":"1377684860"},"map_files_photo_id_array":[{"photo_id":"1377684862","filename":"file5"},{"photo_id":"1377684858","filename":"file2"},{"photo_id":"1377684861","filename":"file4"},{"photo_id":"1377684855","filename":"file1"},{"photo_id":"1377684852","filename":"file0"},{"photo_id":"1377684860","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377684862":["hashtag1","hashtag2"]},{"1377684861":["hashtag1","hashtag2"]},{"1377684858":["hashtag1","hashtag2"]},{"1377684852":["hashtag1","hashtag2"]},{"1377684855":["hashtag1","hashtag2"]},{"1377684860":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377684862, 1377684861, 1377684858, 1377684852, 1377684855, 1377684860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.129342555999756 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:02:03.191296
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/12/image_17082025_14_13_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/12/image_17082025_14_12_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/12/image_17082025_14_12_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/12/image_17082025_14_12_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/12/image_17082025_14_12_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/14/11/image_17082025_14_12_04_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/12/image_17082025_14_13_04_9638.jpg', '/home/nano/Desktop/images/17082025/14/12/image_17082025_14_12_54_10647.jpg', '/home/nano/Desktop/images/17082025/14/12/image_17082025_14_12_44_9639.jpg', '/home/nano/Desktop/images/17082025/14/12/image_17082025_14_12_34_9639.jpg', '/home/nano/Desktop/images/17082025/14/12/image_17082025_14_12_14_9656.jpg', '/home/nano/Desktop/images/17082025/14/11/image_17082025_14_12_04_9646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/12/image_17082025_14_13_04_9638.jpg
/home/nano/Desktop/images/17082025/14/12/image_17082025_14_12_54_10647.jpg
/home/nano/Desktop/images/17082025/14/12/image_17082025_14_12_44_9639.jpg
/home/nano/Desktop/images/17082025/14/12/image_17082025_14_12_34_9639.jpg
/home/nano/Desktop/images/17082025/14/12/image_17082025_14_12_14_9656.jpg
/home/nano/Desktop/images/17082025/14/11/image_17082025_14_12_04_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377684959","1377684892","1377684990","1377684930","1377685052","1377685022"],"photo_ids_order":["1377684892","1377684930","1377684959","1377684990","1377685022","1377685052"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d191c108e6ff2366a63a2116fb487ba5.jpg","text":"TemporaryFile(/tmp/multipartBody2067910410912911954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450184947,"filename":"image_17082025_14_12_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/293f76af8d964cf764a6694feb8a087c.jpg","text":"TemporaryFile(/tmp/multipartBody4023667357237767796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450184947,"filename":"image_17082025_14_13_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/faecd3ab29ac3a19730bfcb37e6792c5.jpg","text":"TemporaryFile(/tmp/multipartBody6349111502392718884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450184947,"filename":"image_17082025_14_12_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8223c36af83bc455bdd4f99befa034f6.jpg","text":"TemporaryFile(/tmp/multipartBody8384755875779393907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450184947,"filename":"image_17082025_14_12_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1a49de28dc34795745ecfd6d5ae29fc0.jpg","text":"TemporaryFile(/tmp/multipartBody8467852908509661081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450184947,"filename":"image_17082025_14_12_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/47b7c4c091056d24ca73a5433500d887.jpg","text":"TemporaryFile(/tmp/multipartBody3348443150818522168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450184947,"filename":"image_17082025_14_12_14_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377684959","file1":"1377684930","file0":"1377684892","file4":"1377685022","file5":"1377685052","file3":"1377684990"},"map_files_photo_id_array":[{"photo_id":"1377685052","filename":"file5"},{"photo_id":"1377684959","filename":"file2"},{"photo_id":"1377685022","filename":"file4"},{"photo_id":"1377684930","filename":"file1"},{"photo_id":"1377684892","filename":"file0"},{"photo_id":"1377684990","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377684959":["hashtag1","hashtag2"]},{"1377684892":["hashtag1","hashtag2"]},{"1377684990":["hashtag1","hashtag2"]},{"1377684930":["hashtag1","hashtag2"]},{"1377685052":["hashtag1","hashtag2"]},{"1377685022":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377684959, 1377684892, 1377684990, 1377684930, 1377685052, 1377685022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12076282501221 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:02:47.613105
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/02/image_17082025_19_02_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/19/02/image_17082025_19_02_24_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/19/02/image_17082025_19_02_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/19/01/image_17082025_19_02_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/19/01/image_17082025_19_01_54_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/14/11/image_17082025_14_11_54_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/02/image_17082025_19_02_34_9639.jpg', '/home/nano/Desktop/images/17082025/19/02/image_17082025_19_02_24_10656.jpg', '/home/nano/Desktop/images/17082025/19/02/image_17082025_19_02_14_9655.jpg', '/home/nano/Desktop/images/17082025/19/01/image_17082025_19_02_04_9643.jpg', '/home/nano/Desktop/images/17082025/19/01/image_17082025_19_01_54_10646.jpg', '/home/nano/Desktop/images/17082025/14/11/image_17082025_14_11_54_10646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/02/image_17082025_19_02_34_9639.jpg
/home/nano/Desktop/images/17082025/19/02/image_17082025_19_02_24_10656.jpg
/home/nano/Desktop/images/17082025/19/02/image_17082025_19_02_14_9655.jpg
/home/nano/Desktop/images/17082025/19/01/image_17082025_19_02_04_9643.jpg
/home/nano/Desktop/images/17082025/19/01/image_17082025_19_01_54_10646.jpg
/home/nano/Desktop/images/17082025/14/11/image_17082025_14_11_54_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685202","1377685165","1377685185","1377685158","1377685193","1377685133"],"photo_ids_order":["1377685133","1377685158","1377685165","1377685185","1377685193","1377685202"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/85f94054dc75df71852ebf88df9f15c2.jpg","text":"TemporaryFile(/tmp/multipartBody4493511447725662296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450229557,"filename":"image_17082025_14_11_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/31560247b9424f5cfa88ec1cfb61a180.jpg","text":"TemporaryFile(/tmp/multipartBody5813691609464904313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450229557,"filename":"image_17082025_19_02_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5b8af3968b97a95da3a9a51c63ddf2ab.jpg","text":"TemporaryFile(/tmp/multipartBody8597926701431356690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450229557,"filename":"image_17082025_19_02_04_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f8757513ef25f11aebc016b9e03cde06.jpg","text":"TemporaryFile(/tmp/multipartBody6325149034711731872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450229557,"filename":"image_17082025_19_02_24_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5e36c0d109d5ebb97f7bf4da6bc3cde9.jpg","text":"TemporaryFile(/tmp/multipartBody6776573799381866875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450229557,"filename":"image_17082025_19_01_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/886a41a81092da83780ac66d820d52b9.jpg","text":"TemporaryFile(/tmp/multipartBody8730153542372016194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450229557,"filename":"image_17082025_19_02_34_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685165","file1":"1377685158","file0":"1377685133","file4":"1377685193","file5":"1377685202","file3":"1377685185"},"map_files_photo_id_array":[{"photo_id":"1377685202","filename":"file5"},{"photo_id":"1377685165","filename":"file2"},{"photo_id":"1377685193","filename":"file4"},{"photo_id":"1377685158","filename":"file1"},{"photo_id":"1377685133","filename":"file0"},{"photo_id":"1377685185","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685202":["hashtag1","hashtag2"]},{"1377685165":["hashtag1","hashtag2"]},{"1377685185":["hashtag1","hashtag2"]},{"1377685158":["hashtag1","hashtag2"]},{"1377685193":["hashtag1","hashtag2"]},{"1377685133":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685202, 1377685165, 1377685185, 1377685158, 1377685193, 1377685133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.777347803115845 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:03:32.744849
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/03/image_17082025_19_03_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/19/03/image_17082025_19_03_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/19/03/image_17082025_19_03_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/19/03/image_17082025_19_03_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/19/02/image_17082025_19_03_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/19/02/image_17082025_19_02_54_10664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/03/image_17082025_19_03_44_9639.jpg', '/home/nano/Desktop/images/17082025/19/03/image_17082025_19_03_34_9638.jpg', '/home/nano/Desktop/images/17082025/19/03/image_17082025_19_03_24_10648.jpg', '/home/nano/Desktop/images/17082025/19/03/image_17082025_19_03_14_9656.jpg', '/home/nano/Desktop/images/17082025/19/02/image_17082025_19_03_04_9642.jpg', '/home/nano/Desktop/images/17082025/19/02/image_17082025_19_02_54_10664.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/03/image_17082025_19_03_44_9639.jpg
/home/nano/Desktop/images/17082025/19/03/image_17082025_19_03_34_9638.jpg
/home/nano/Desktop/images/17082025/19/03/image_17082025_19_03_24_10648.jpg
/home/nano/Desktop/images/17082025/19/03/image_17082025_19_03_14_9656.jpg
/home/nano/Desktop/images/17082025/19/02/image_17082025_19_03_04_9642.jpg
/home/nano/Desktop/images/17082025/19/02/image_17082025_19_02_54_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685217","1377685210","1377685213","1377685215","1377685212","1377685209"],"photo_ids_order":["1377685209","1377685210","1377685212","1377685213","1377685215","1377685217"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8693f7c3a51ceb68e691633f883c0a4e.jpg","text":"TemporaryFile(/tmp/multipartBody7870412496397699048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450274656,"filename":"image_17082025_19_02_54_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/165e933121c3ebb9a39cea41fd3a9c44.jpg","text":"TemporaryFile(/tmp/multipartBody7031210695763429510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450274656,"filename":"image_17082025_19_03_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1502b3ae78e78b92759d2efdb8f039d3.jpg","text":"TemporaryFile(/tmp/multipartBody5491931043304286891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450274656,"filename":"image_17082025_19_03_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0d3b89f4f62c226e27449ece4330fa84.jpg","text":"TemporaryFile(/tmp/multipartBody7345559314401445023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450274656,"filename":"image_17082025_19_03_04_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/926cfe714b8be863bca1e33e91aa79df.jpg","text":"TemporaryFile(/tmp/multipartBody2978199717160616066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450274656,"filename":"image_17082025_19_03_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/19c24473f66ed21b3bd530d776781b9e.jpg","text":"TemporaryFile(/tmp/multipartBody4210105030452120222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450274656,"filename":"image_17082025_19_03_44_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685212","file1":"1377685210","file0":"1377685209","file4":"1377685215","file5":"1377685217","file3":"1377685213"},"map_files_photo_id_array":[{"photo_id":"1377685217","filename":"file5"},{"photo_id":"1377685212","filename":"file2"},{"photo_id":"1377685215","filename":"file4"},{"photo_id":"1377685210","filename":"file1"},{"photo_id":"1377685209","filename":"file0"},{"photo_id":"1377685213","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685217":["hashtag1","hashtag2"]},{"1377685210":["hashtag1","hashtag2"]},{"1377685213":["hashtag1","hashtag2"]},{"1377685215":["hashtag1","hashtag2"]},{"1377685212":["hashtag1","hashtag2"]},{"1377685209":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685217, 1377685210, 1377685213, 1377685215, 1377685212, 1377685209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.054802894592285 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:04:16.854289
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/04/image_17082025_19_04_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/19/04/image_17082025_19_04_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/04/image_17082025_19_04_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/19/04/image_17082025_19_04_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/19/03/image_17082025_19_04_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/19/03/image_17082025_19_03_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/04/image_17082025_19_04_44_10648.jpg', '/home/nano/Desktop/images/17082025/19/04/image_17082025_19_04_34_9640.jpg', '/home/nano/Desktop/images/17082025/19/04/image_17082025_19_04_24_10647.jpg', '/home/nano/Desktop/images/17082025/19/04/image_17082025_19_04_14_9654.jpg', '/home/nano/Desktop/images/17082025/19/03/image_17082025_19_04_04_9651.jpg', '/home/nano/Desktop/images/17082025/19/03/image_17082025_19_03_54_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/04/image_17082025_19_04_44_10648.jpg
/home/nano/Desktop/images/17082025/19/04/image_17082025_19_04_34_9640.jpg
/home/nano/Desktop/images/17082025/19/04/image_17082025_19_04_24_10647.jpg
/home/nano/Desktop/images/17082025/19/04/image_17082025_19_04_14_9654.jpg
/home/nano/Desktop/images/17082025/19/03/image_17082025_19_04_04_9651.jpg
/home/nano/Desktop/images/17082025/19/03/image_17082025_19_03_54_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685238","1377685239","1377685230","1377685232","1377685241","1377685235"],"photo_ids_order":["1377685230","1377685232","1377685235","1377685238","1377685239","1377685241"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/136569ccac72b8601da18ba850e4d71a.jpg","text":"TemporaryFile(/tmp/multipartBody6101168269374988567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450318835,"filename":"image_17082025_19_04_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d5aa95f1a07f359f5009c1d32a86ced5.jpg","text":"TemporaryFile(/tmp/multipartBody8916823028678188379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450318835,"filename":"image_17082025_19_04_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b7e3ce3841d6d7284b22be9662dee4a5.jpg","text":"TemporaryFile(/tmp/multipartBody8125779923973172004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450318835,"filename":"image_17082025_19_04_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/591d9c376e0d959e39102ddd28602413.jpg","text":"TemporaryFile(/tmp/multipartBody6817163498765912943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450318835,"filename":"image_17082025_19_04_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1ce32d68531747258a57b835c6802e32.jpg","text":"TemporaryFile(/tmp/multipartBody345884328121636615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450318835,"filename":"image_17082025_19_03_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1ca8afaaf3b05df25603023e43100a03.jpg","text":"TemporaryFile(/tmp/multipartBody6990464556711664430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450318835,"filename":"image_17082025_19_04_24_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685235","file1":"1377685232","file0":"1377685230","file4":"1377685239","file5":"1377685241","file3":"1377685238"},"map_files_photo_id_array":[{"photo_id":"1377685241","filename":"file5"},{"photo_id":"1377685235","filename":"file2"},{"photo_id":"1377685239","filename":"file4"},{"photo_id":"1377685232","filename":"file1"},{"photo_id":"1377685230","filename":"file0"},{"photo_id":"1377685238","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685238":["hashtag1","hashtag2"]},{"1377685239":["hashtag1","hashtag2"]},{"1377685230":["hashtag1","hashtag2"]},{"1377685232":["hashtag1","hashtag2"]},{"1377685241":["hashtag1","hashtag2"]},{"1377685235":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685238, 1377685239, 1377685230, 1377685232, 1377685241, 1377685235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6759877204895 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:05:02.726884
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/11/image_17082025_14_11_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/11/image_17082025_14_11_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/11/image_17082025_14_11_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/14/11/image_17082025_14_11_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/14/10/image_17082025_14_11_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/14/10/image_17082025_14_10_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/11/image_17082025_14_11_44_9638.jpg', '/home/nano/Desktop/images/17082025/14/11/image_17082025_14_11_34_9637.jpg', '/home/nano/Desktop/images/17082025/14/11/image_17082025_14_11_24_10646.jpg', '/home/nano/Desktop/images/17082025/14/11/image_17082025_14_11_14_9659.jpg', '/home/nano/Desktop/images/17082025/14/10/image_17082025_14_11_04_9654.jpg', '/home/nano/Desktop/images/17082025/14/10/image_17082025_14_10_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/11/image_17082025_14_11_44_9638.jpg
/home/nano/Desktop/images/17082025/14/11/image_17082025_14_11_34_9637.jpg
/home/nano/Desktop/images/17082025/14/11/image_17082025_14_11_24_10646.jpg
/home/nano/Desktop/images/17082025/14/11/image_17082025_14_11_14_9659.jpg
/home/nano/Desktop/images/17082025/14/10/image_17082025_14_11_04_9654.jpg
/home/nano/Desktop/images/17082025/14/10/image_17082025_14_10_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685258","1377685246","1377685260","1377685254","1377685245","1377685256"],"photo_ids_order":["1377685245","1377685246","1377685254","1377685256","1377685258","1377685260"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5190bc45b22231a652567197d52aea26.jpg","text":"TemporaryFile(/tmp/multipartBody3722479700185023999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450364427,"filename":"image_17082025_14_11_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5836d447901e99de41eb397dc7fdf624.jpg","text":"TemporaryFile(/tmp/multipartBody808659316302024960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450364427,"filename":"image_17082025_14_11_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cb847b6bef460d6399206c21f9508709.jpg","text":"TemporaryFile(/tmp/multipartBody5344348956886509316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450364427,"filename":"image_17082025_14_10_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/81dd6a83f88683f60bfbf425d7f2078e.jpg","text":"TemporaryFile(/tmp/multipartBody3803963504678847009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450364427,"filename":"image_17082025_14_11_24_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9d836ed19524ae1c9879f02354082019.jpg","text":"TemporaryFile(/tmp/multipartBody1814842066154932596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450364427,"filename":"image_17082025_14_11_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b9420989e31741bf5f9e7049ceb7fd74.jpg","text":"TemporaryFile(/tmp/multipartBody5490187165925019101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450364427,"filename":"image_17082025_14_11_14_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685254","file1":"1377685246","file0":"1377685245","file4":"1377685258","file5":"1377685260","file3":"1377685256"},"map_files_photo_id_array":[{"photo_id":"1377685260","filename":"file5"},{"photo_id":"1377685254","filename":"file2"},{"photo_id":"1377685258","filename":"file4"},{"photo_id":"1377685246","filename":"file1"},{"photo_id":"1377685245","filename":"file0"},{"photo_id":"1377685256","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685258":["hashtag1","hashtag2"]},{"1377685246":["hashtag1","hashtag2"]},{"1377685260":["hashtag1","hashtag2"]},{"1377685254":["hashtag1","hashtag2"]},{"1377685245":["hashtag1","hashtag2"]},{"1377685256":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685258, 1377685246, 1377685260, 1377685254, 1377685245, 1377685256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6326117515564 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:05:46.928312
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/05/image_17082025_19_05_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/19/05/image_17082025_19_05_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/19/05/image_17082025_19_05_14_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/19/04/image_17082025_19_05_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/19/04/image_17082025_19_04_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/10/image_17082025_14_10_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/05/image_17082025_19_05_34_9641.jpg', '/home/nano/Desktop/images/17082025/19/05/image_17082025_19_05_24_9639.jpg', '/home/nano/Desktop/images/17082025/19/05/image_17082025_19_05_14_10662.jpg', '/home/nano/Desktop/images/17082025/19/04/image_17082025_19_05_04_9652.jpg', '/home/nano/Desktop/images/17082025/19/04/image_17082025_19_04_54_9640.jpg', '/home/nano/Desktop/images/17082025/14/10/image_17082025_14_10_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/05/image_17082025_19_05_34_9641.jpg
/home/nano/Desktop/images/17082025/19/05/image_17082025_19_05_24_9639.jpg
/home/nano/Desktop/images/17082025/19/05/image_17082025_19_05_14_10662.jpg
/home/nano/Desktop/images/17082025/19/04/image_17082025_19_05_04_9652.jpg
/home/nano/Desktop/images/17082025/19/04/image_17082025_19_04_54_9640.jpg
/home/nano/Desktop/images/17082025/14/10/image_17082025_14_10_44_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685264","1377685266","1377685275","1377685263","1377685262","1377685268"],"photo_ids_order":["1377685262","1377685263","1377685264","1377685266","1377685268","1377685275"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d2921f839ad17a46fb83f315d3b9e62c.jpg","text":"TemporaryFile(/tmp/multipartBody4692340071453527944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450409064,"filename":"image_17082025_19_05_14_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/736de4c03e058d9f692dac493c2cedf4.jpg","text":"TemporaryFile(/tmp/multipartBody34394652196552734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450409064,"filename":"image_17082025_19_05_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1959cc49ce74356ab4161f0d9ba3b22b.jpg","text":"TemporaryFile(/tmp/multipartBody7335880869996004528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450409064,"filename":"image_17082025_14_10_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b860e65fc33d81f88b65117cea495705.jpg","text":"TemporaryFile(/tmp/multipartBody8454168349760421200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450409064,"filename":"image_17082025_19_05_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6730cecca74ddd94420d815cceaad874.jpg","text":"TemporaryFile(/tmp/multipartBody6241982241415788575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450409064,"filename":"image_17082025_19_05_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/92475b97cd0435e1390461c785f8b2cd.jpg","text":"TemporaryFile(/tmp/multipartBody7696896458480768751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450409064,"filename":"image_17082025_19_04_54_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685264","file1":"1377685263","file0":"1377685262","file4":"1377685268","file5":"1377685275","file3":"1377685266"},"map_files_photo_id_array":[{"photo_id":"1377685275","filename":"file5"},{"photo_id":"1377685264","filename":"file2"},{"photo_id":"1377685268","filename":"file4"},{"photo_id":"1377685263","filename":"file1"},{"photo_id":"1377685262","filename":"file0"},{"photo_id":"1377685266","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685264":["hashtag1","hashtag2"]},{"1377685266":["hashtag1","hashtag2"]},{"1377685275":["hashtag1","hashtag2"]},{"1377685263":["hashtag1","hashtag2"]},{"1377685262":["hashtag1","hashtag2"]},{"1377685268":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685264, 1377685266, 1377685275, 1377685263, 1377685262, 1377685268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.271549224853516 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:06:32.025785
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/06/image_17082025_19_06_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/19/06/image_17082025_19_06_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/19/06/image_17082025_19_06_24_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/19/06/image_17082025_19_06_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/19/05/image_17082025_19_06_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/19/05/image_17082025_19_05_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/06/image_17082025_19_06_44_10650.jpg', '/home/nano/Desktop/images/17082025/19/06/image_17082025_19_06_34_9654.jpg', '/home/nano/Desktop/images/17082025/19/06/image_17082025_19_06_24_9657.jpg', '/home/nano/Desktop/images/17082025/19/06/image_17082025_19_06_14_10671.jpg', '/home/nano/Desktop/images/17082025/19/05/image_17082025_19_06_04_9655.jpg', '/home/nano/Desktop/images/17082025/19/05/image_17082025_19_05_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/06/image_17082025_19_06_44_10650.jpg
/home/nano/Desktop/images/17082025/19/06/image_17082025_19_06_34_9654.jpg
/home/nano/Desktop/images/17082025/19/06/image_17082025_19_06_24_9657.jpg
/home/nano/Desktop/images/17082025/19/06/image_17082025_19_06_14_10671.jpg
/home/nano/Desktop/images/17082025/19/05/image_17082025_19_06_04_9655.jpg
/home/nano/Desktop/images/17082025/19/05/image_17082025_19_05_44_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685285","1377685282","1377685284","1377685287","1377685289","1377685286"],"photo_ids_order":["1377685282","1377685284","1377685285","1377685286","1377685287","1377685289"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8d77979af2c2b8875d0ea32b85dc629b.jpg","text":"TemporaryFile(/tmp/multipartBody3380483305205570405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450453967,"filename":"image_17082025_19_06_24_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/76604f1271675a2f84bc98b384bac434.jpg","text":"TemporaryFile(/tmp/multipartBody7425573220032718596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450453967,"filename":"image_17082025_19_06_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e6333594359bc9918b24c10007d55925.jpg","text":"TemporaryFile(/tmp/multipartBody2550807702398094133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450453967,"filename":"image_17082025_19_06_34_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/570cddfa5f7eab1e2083a67f3740a5c2.jpg","text":"TemporaryFile(/tmp/multipartBody1373053022489543864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450453967,"filename":"image_17082025_19_06_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b286870525cbe6c6d5f12547930c7032.jpg","text":"TemporaryFile(/tmp/multipartBody8387564166783904307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450453967,"filename":"image_17082025_19_05_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f6513eaa96c0a74f6bd17f823adebaad.jpg","text":"TemporaryFile(/tmp/multipartBody7826684171497635586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450453967,"filename":"image_17082025_19_06_14_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685285","file1":"1377685284","file0":"1377685282","file4":"1377685287","file5":"1377685289","file3":"1377685286"},"map_files_photo_id_array":[{"photo_id":"1377685289","filename":"file5"},{"photo_id":"1377685285","filename":"file2"},{"photo_id":"1377685287","filename":"file4"},{"photo_id":"1377685284","filename":"file1"},{"photo_id":"1377685282","filename":"file0"},{"photo_id":"1377685286","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685285":["hashtag1","hashtag2"]},{"1377685282":["hashtag1","hashtag2"]},{"1377685284":["hashtag1","hashtag2"]},{"1377685287":["hashtag1","hashtag2"]},{"1377685289":["hashtag1","hashtag2"]},{"1377685286":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685285, 1377685282, 1377685284, 1377685287, 1377685289, 1377685286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.857972860336304 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:07:17.118538
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/07/image_17082025_19_07_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/19/07/image_17082025_19_07_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/19/07/image_17082025_19_07_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/19/06/image_17082025_19_07_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/19/06/image_17082025_19_06_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/10/image_17082025_14_10_34_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/07/image_17082025_19_07_44_10649.jpg', '/home/nano/Desktop/images/17082025/19/07/image_17082025_19_07_34_9638.jpg', '/home/nano/Desktop/images/17082025/19/07/image_17082025_19_07_14_10671.jpg', '/home/nano/Desktop/images/17082025/19/06/image_17082025_19_07_04_9655.jpg', '/home/nano/Desktop/images/17082025/19/06/image_17082025_19_06_54_9640.jpg', '/home/nano/Desktop/images/17082025/14/10/image_17082025_14_10_34_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/07/image_17082025_19_07_44_10649.jpg
/home/nano/Desktop/images/17082025/19/07/image_17082025_19_07_34_9638.jpg
/home/nano/Desktop/images/17082025/19/07/image_17082025_19_07_14_10671.jpg
/home/nano/Desktop/images/17082025/19/06/image_17082025_19_07_04_9655.jpg
/home/nano/Desktop/images/17082025/19/06/image_17082025_19_06_54_9640.jpg
/home/nano/Desktop/images/17082025/14/10/image_17082025_14_10_34_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685301","1377685310","1377685303","1377685309","1377685305","1377685307"],"photo_ids_order":["1377685301","1377685303","1377685305","1377685307","1377685309","1377685310"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/31477ddac2ac118a0ffc944f73d95eaf.jpg","text":"TemporaryFile(/tmp/multipartBody3457012884057262016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450498867,"filename":"image_17082025_19_07_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1835076a674e9623421e540e5ddfae88.jpg","text":"TemporaryFile(/tmp/multipartBody8798362856631469961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450498867,"filename":"image_17082025_14_10_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b8de73e6db1640902c28f3fd113089ca.jpg","text":"TemporaryFile(/tmp/multipartBody2996902163386316765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450498867,"filename":"image_17082025_19_07_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b2336257ae567cefaa005d49fc1d8aeb.jpg","text":"TemporaryFile(/tmp/multipartBody360396994889437272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450498867,"filename":"image_17082025_19_06_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/079fa6042d2b3a8b6edb4d956130d769.jpg","text":"TemporaryFile(/tmp/multipartBody2758422010780549668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450498867,"filename":"image_17082025_19_07_14_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d647b885a9c13a2b5b486a97b83ad5fd.jpg","text":"TemporaryFile(/tmp/multipartBody4507855709955646532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450498867,"filename":"image_17082025_19_07_04_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685305","file1":"1377685303","file0":"1377685301","file4":"1377685309","file5":"1377685310","file3":"1377685307"},"map_files_photo_id_array":[{"photo_id":"1377685310","filename":"file5"},{"photo_id":"1377685305","filename":"file2"},{"photo_id":"1377685309","filename":"file4"},{"photo_id":"1377685303","filename":"file1"},{"photo_id":"1377685301","filename":"file0"},{"photo_id":"1377685307","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685301":["hashtag1","hashtag2"]},{"1377685310":["hashtag1","hashtag2"]},{"1377685303":["hashtag1","hashtag2"]},{"1377685309":["hashtag1","hashtag2"]},{"1377685305":["hashtag1","hashtag2"]},{"1377685307":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685301, 1377685310, 1377685303, 1377685309, 1377685305, 1377685307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89282155036926 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:08:02.855527
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/10/image_17082025_14_10_25_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/10/image_17082025_14_10_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/14/09/image_17082025_14_10_04_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/14/09/image_17082025_14_09_54_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/14/09/image_17082025_14_09_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/14/09/image_17082025_14_09_34_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/10/image_17082025_14_10_25_10647.jpg', '/home/nano/Desktop/images/17082025/14/10/image_17082025_14_10_14_9654.jpg', '/home/nano/Desktop/images/17082025/14/09/image_17082025_14_10_04_10652.jpg', '/home/nano/Desktop/images/17082025/14/09/image_17082025_14_09_54_9636.jpg', '/home/nano/Desktop/images/17082025/14/09/image_17082025_14_09_44_9655.jpg', '/home/nano/Desktop/images/17082025/14/09/image_17082025_14_09_34_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/10/image_17082025_14_10_25_10647.jpg
/home/nano/Desktop/images/17082025/14/10/image_17082025_14_10_14_9654.jpg
/home/nano/Desktop/images/17082025/14/09/image_17082025_14_10_04_10652.jpg
/home/nano/Desktop/images/17082025/14/09/image_17082025_14_09_54_9636.jpg
/home/nano/Desktop/images/17082025/14/09/image_17082025_14_09_44_9655.jpg
/home/nano/Desktop/images/17082025/14/09/image_17082025_14_09_34_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685322","1377685327","1377685315","1377685329","1377685311","1377685325"],"photo_ids_order":["1377685311","1377685315","1377685322","1377685325","1377685327","1377685329"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4f539e9e7384cfa2f3a89c3e5f487986.jpg","text":"TemporaryFile(/tmp/multipartBody7169110492369505997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450544553,"filename":"image_17082025_14_10_04_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4eb4455dbd6f889122db03a0ea102b25.jpg","text":"TemporaryFile(/tmp/multipartBody5446229528102816613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450544553,"filename":"image_17082025_14_09_44_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/28943fb0d8657d248c01a974fc63f13a.jpg","text":"TemporaryFile(/tmp/multipartBody5552042058212636347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450544553,"filename":"image_17082025_14_10_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c459b15454a070e8cf988089b73aeaf8.jpg","text":"TemporaryFile(/tmp/multipartBody4534491638964037179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450544553,"filename":"image_17082025_14_09_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/654e40b311cd006b020d615ab4c54990.jpg","text":"TemporaryFile(/tmp/multipartBody4116582123889235121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450544553,"filename":"image_17082025_14_10_25_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/862f8e81b73294e50ff79f566598ddda.jpg","text":"TemporaryFile(/tmp/multipartBody8645861756201344120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450544553,"filename":"image_17082025_14_09_54_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685322","file1":"1377685315","file0":"1377685311","file4":"1377685327","file5":"1377685329","file3":"1377685325"},"map_files_photo_id_array":[{"photo_id":"1377685329","filename":"file5"},{"photo_id":"1377685322","filename":"file2"},{"photo_id":"1377685327","filename":"file4"},{"photo_id":"1377685315","filename":"file1"},{"photo_id":"1377685311","filename":"file0"},{"photo_id":"1377685325","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685322":["hashtag1","hashtag2"]},{"1377685327":["hashtag1","hashtag2"]},{"1377685315":["hashtag1","hashtag2"]},{"1377685329":["hashtag1","hashtag2"]},{"1377685311":["hashtag1","hashtag2"]},{"1377685325":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685322, 1377685327, 1377685315, 1377685329, 1377685311, 1377685325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7217743396759 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:08:47.237848
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/08/image_17082025_19_08_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/19/08/image_17082025_19_08_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/19/08/image_17082025_19_08_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/19/08/image_17082025_19_08_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/19/07/image_17082025_19_08_05_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/19/07/image_17082025_19_07_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/08/image_17082025_19_08_44_9638.jpg', '/home/nano/Desktop/images/17082025/19/08/image_17082025_19_08_34_10647.jpg', '/home/nano/Desktop/images/17082025/19/08/image_17082025_19_08_24_9637.jpg', '/home/nano/Desktop/images/17082025/19/08/image_17082025_19_08_14_9658.jpg', '/home/nano/Desktop/images/17082025/19/07/image_17082025_19_08_05_10656.jpg', '/home/nano/Desktop/images/17082025/19/07/image_17082025_19_07_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/08/image_17082025_19_08_44_9638.jpg
/home/nano/Desktop/images/17082025/19/08/image_17082025_19_08_34_10647.jpg
/home/nano/Desktop/images/17082025/19/08/image_17082025_19_08_24_9637.jpg
/home/nano/Desktop/images/17082025/19/08/image_17082025_19_08_14_9658.jpg
/home/nano/Desktop/images/17082025/19/07/image_17082025_19_08_05_10656.jpg
/home/nano/Desktop/images/17082025/19/07/image_17082025_19_07_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685348","1377685336","1377685332","1377685338","1377685340","1377685334"],"photo_ids_order":["1377685332","1377685334","1377685336","1377685338","1377685340","1377685348"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7796f60978f53a0ab59da71b3f7ac760.jpg","text":"TemporaryFile(/tmp/multipartBody5996854391395750984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450589405,"filename":"image_17082025_19_07_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/32065b795ec3d818513381ee885e03a6.jpg","text":"TemporaryFile(/tmp/multipartBody6767093674643906417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450589405,"filename":"image_17082025_19_08_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e657fc2b61e991916f5fc4744139d559.jpg","text":"TemporaryFile(/tmp/multipartBody8781528296239786469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450589405,"filename":"image_17082025_19_08_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/31e2f5324f94fc2f8bd2a84e548f39d0.jpg","text":"TemporaryFile(/tmp/multipartBody8421429957694177426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450589405,"filename":"image_17082025_19_08_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c9fafa75794635c442cbafe7f62abfd0.jpg","text":"TemporaryFile(/tmp/multipartBody3630757214802646049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450589405,"filename":"image_17082025_19_08_05_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a77c6312485e2ad725ebe1db0895009f.jpg","text":"TemporaryFile(/tmp/multipartBody3282193922791844716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450589405,"filename":"image_17082025_19_08_34_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685336","file1":"1377685334","file0":"1377685332","file4":"1377685340","file5":"1377685348","file3":"1377685338"},"map_files_photo_id_array":[{"photo_id":"1377685348","filename":"file5"},{"photo_id":"1377685336","filename":"file2"},{"photo_id":"1377685340","filename":"file4"},{"photo_id":"1377685334","filename":"file1"},{"photo_id":"1377685332","filename":"file0"},{"photo_id":"1377685338","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685348":["hashtag1","hashtag2"]},{"1377685336":["hashtag1","hashtag2"]},{"1377685332":["hashtag1","hashtag2"]},{"1377685338":["hashtag1","hashtag2"]},{"1377685340":["hashtag1","hashtag2"]},{"1377685334":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685348, 1377685336, 1377685332, 1377685338, 1377685340, 1377685334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80579209327698 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:09:32.351104
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/09/image_17082025_19_09_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/19/09/image_17082025_19_09_34_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/19/09/image_17082025_19_09_14_9668.jpg', 2), ('/home/nano/Desktop/images/17082025/19/08/image_17082025_19_09_04_10654.jpg', 2), ('/home/nano/Desktop/images/17082025/19/08/image_17082025_19_08_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/09/image_17082025_14_09_24_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/09/image_17082025_19_09_44_9637.jpg', '/home/nano/Desktop/images/17082025/19/09/image_17082025_19_09_34_10664.jpg', '/home/nano/Desktop/images/17082025/19/09/image_17082025_19_09_14_9668.jpg', '/home/nano/Desktop/images/17082025/19/08/image_17082025_19_09_04_10654.jpg', '/home/nano/Desktop/images/17082025/19/08/image_17082025_19_08_54_9637.jpg', '/home/nano/Desktop/images/17082025/14/09/image_17082025_14_09_24_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/09/image_17082025_19_09_44_9637.jpg
/home/nano/Desktop/images/17082025/19/09/image_17082025_19_09_34_10664.jpg
/home/nano/Desktop/images/17082025/19/09/image_17082025_19_09_14_9668.jpg
/home/nano/Desktop/images/17082025/19/08/image_17082025_19_09_04_10654.jpg
/home/nano/Desktop/images/17082025/19/08/image_17082025_19_08_54_9637.jpg
/home/nano/Desktop/images/17082025/14/09/image_17082025_14_09_24_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685360","1377685363","1377685359","1377685356","1377685361","1377685358"],"photo_ids_order":["1377685356","1377685358","1377685359","1377685360","1377685361","1377685363"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a28f2615225d9633606e407844491690.jpg","text":"TemporaryFile(/tmp/multipartBody878321790466678886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450634287,"filename":"image_17082025_19_09_04_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d1f4d55d13ecadbfa67ad91b0a3b0bed.jpg","text":"TemporaryFile(/tmp/multipartBody6978618547492290747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450634287,"filename":"image_17082025_14_09_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4f0d2b90c09e58354e91995625aad5ba.jpg","text":"TemporaryFile(/tmp/multipartBody2032937356577011210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450634287,"filename":"image_17082025_19_09_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/14f2f8429273793a450c43e598229c62.jpg","text":"TemporaryFile(/tmp/multipartBody4829760745982375089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450634287,"filename":"image_17082025_19_09_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f98689fc6c6cba383ed5b1950884afc2.jpg","text":"TemporaryFile(/tmp/multipartBody4728038883381108149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450634287,"filename":"image_17082025_19_08_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ad11a7d351c8d3ef7e80e4191161b4de.jpg","text":"TemporaryFile(/tmp/multipartBody987196600312382946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450634287,"filename":"image_17082025_19_09_34_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685359","file1":"1377685358","file0":"1377685356","file4":"1377685361","file5":"1377685363","file3":"1377685360"},"map_files_photo_id_array":[{"photo_id":"1377685363","filename":"file5"},{"photo_id":"1377685359","filename":"file2"},{"photo_id":"1377685361","filename":"file4"},{"photo_id":"1377685358","filename":"file1"},{"photo_id":"1377685356","filename":"file0"},{"photo_id":"1377685360","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685360":["hashtag1","hashtag2"]},{"1377685363":["hashtag1","hashtag2"]},{"1377685359":["hashtag1","hashtag2"]},{"1377685356":["hashtag1","hashtag2"]},{"1377685361":["hashtag1","hashtag2"]},{"1377685358":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685360, 1377685363, 1377685359, 1377685356, 1377685361, 1377685358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4356586933136 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:10:17.472466
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/10/image_17082025_19_10_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/19/10/image_17082025_19_10_34_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/19/10/image_17082025_19_10_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/10/image_17082025_19_10_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/19/09/image_17082025_19_10_04_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/19/09/image_17082025_19_09_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/10/image_17082025_19_10_44_9638.jpg', '/home/nano/Desktop/images/17082025/19/10/image_17082025_19_10_34_10666.jpg', '/home/nano/Desktop/images/17082025/19/10/image_17082025_19_10_24_9640.jpg', '/home/nano/Desktop/images/17082025/19/10/image_17082025_19_10_14_9653.jpg', '/home/nano/Desktop/images/17082025/19/09/image_17082025_19_10_04_10663.jpg', '/home/nano/Desktop/images/17082025/19/09/image_17082025_19_09_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/10/image_17082025_19_10_44_9638.jpg
/home/nano/Desktop/images/17082025/19/10/image_17082025_19_10_34_10666.jpg
/home/nano/Desktop/images/17082025/19/10/image_17082025_19_10_24_9640.jpg
/home/nano/Desktop/images/17082025/19/10/image_17082025_19_10_14_9653.jpg
/home/nano/Desktop/images/17082025/19/09/image_17082025_19_10_04_10663.jpg
/home/nano/Desktop/images/17082025/19/09/image_17082025_19_09_54_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685387","1377685381","1377685383","1377685377","1377685385","1377685379"],"photo_ids_order":["1377685377","1377685379","1377685381","1377685383","1377685385","1377685387"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/761a85ee8a74b897a8931b9e5b398564.jpg","text":"TemporaryFile(/tmp/multipartBody2923063813345513174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450679516,"filename":"image_17082025_19_09_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6a969f5d0841eccd8f8998b3d6dda177.jpg","text":"TemporaryFile(/tmp/multipartBody3629512103902422964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450679516,"filename":"image_17082025_19_10_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7bd04cf6d3b961bbd82e3cd283743c23.jpg","text":"TemporaryFile(/tmp/multipartBody3636779548712610914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450679516,"filename":"image_17082025_19_10_14_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2f60e062d1096049def0b6e76dfaa25d.jpg","text":"TemporaryFile(/tmp/multipartBody8936602773216092708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450679516,"filename":"image_17082025_19_10_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3f868fe368ca4edd8c76a9ea2249d56d.jpg","text":"TemporaryFile(/tmp/multipartBody8510443904267691918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450679516,"filename":"image_17082025_19_10_04_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3c5f13c399fc52f4a1cc85a0facd4660.jpg","text":"TemporaryFile(/tmp/multipartBody3536318781014603536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450679516,"filename":"image_17082025_19_10_34_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685381","file1":"1377685379","file0":"1377685377","file4":"1377685385","file5":"1377685387","file3":"1377685383"},"map_files_photo_id_array":[{"photo_id":"1377685387","filename":"file5"},{"photo_id":"1377685381","filename":"file2"},{"photo_id":"1377685385","filename":"file4"},{"photo_id":"1377685379","filename":"file1"},{"photo_id":"1377685377","filename":"file0"},{"photo_id":"1377685383","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685387":["hashtag1","hashtag2"]},{"1377685381":["hashtag1","hashtag2"]},{"1377685383":["hashtag1","hashtag2"]},{"1377685377":["hashtag1","hashtag2"]},{"1377685385":["hashtag1","hashtag2"]},{"1377685379":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685387, 1377685381, 1377685383, 1377685377, 1377685385, 1377685379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15763998031616 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:11:03.167560
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/09/image_17082025_14_09_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/14/08/image_17082025_14_09_04_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/14/08/image_17082025_14_08_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/08/image_17082025_14_08_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/14/08/image_17082025_14_08_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/14/08/image_17082025_14_08_14_9688.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/09/image_17082025_14_09_14_9657.jpg', '/home/nano/Desktop/images/17082025/14/08/image_17082025_14_09_04_10653.jpg', '/home/nano/Desktop/images/17082025/14/08/image_17082025_14_08_44_9638.jpg', '/home/nano/Desktop/images/17082025/14/08/image_17082025_14_08_34_10646.jpg', '/home/nano/Desktop/images/17082025/14/08/image_17082025_14_08_24_9636.jpg', '/home/nano/Desktop/images/17082025/14/08/image_17082025_14_08_14_9688.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/09/image_17082025_14_09_14_9657.jpg
/home/nano/Desktop/images/17082025/14/08/image_17082025_14_09_04_10653.jpg
/home/nano/Desktop/images/17082025/14/08/image_17082025_14_08_44_9638.jpg
/home/nano/Desktop/images/17082025/14/08/image_17082025_14_08_34_10646.jpg
/home/nano/Desktop/images/17082025/14/08/image_17082025_14_08_24_9636.jpg
/home/nano/Desktop/images/17082025/14/08/image_17082025_14_08_14_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685403","1377685405","1377685392","1377685401","1377685394","1377685407"],"photo_ids_order":["1377685392","1377685394","1377685401","1377685403","1377685405","1377685407"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/08141387f8e4814fdedf661ed1883cc1.jpg","text":"TemporaryFile(/tmp/multipartBody5072408807762827555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450724959,"filename":"image_17082025_14_08_34_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d90d8c145f4da63ccc883f6460f2a85f.jpg","text":"TemporaryFile(/tmp/multipartBody4700682080457484143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450724959,"filename":"image_17082025_14_08_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8df306c5a27f82841bbf770c937cd99c.jpg","text":"TemporaryFile(/tmp/multipartBody2431005683120804729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450724959,"filename":"image_17082025_14_09_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cc28b8fb0515c035ce1a7051c75ef3b1.jpg","text":"TemporaryFile(/tmp/multipartBody1370408655939823359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450724959,"filename":"image_17082025_14_08_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7451ed4249dadad1fa314d031fcc60e7.jpg","text":"TemporaryFile(/tmp/multipartBody6718437022320116946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450724959,"filename":"image_17082025_14_09_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4b10b6c78f5090a8add1f7cb26b05a96.jpg","text":"TemporaryFile(/tmp/multipartBody7201734503152940877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450724959,"filename":"image_17082025_14_08_14_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685401","file1":"1377685394","file0":"1377685392","file4":"1377685405","file5":"1377685407","file3":"1377685403"},"map_files_photo_id_array":[{"photo_id":"1377685407","filename":"file5"},{"photo_id":"1377685401","filename":"file2"},{"photo_id":"1377685405","filename":"file4"},{"photo_id":"1377685394","filename":"file1"},{"photo_id":"1377685392","filename":"file0"},{"photo_id":"1377685403","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685403":["hashtag1","hashtag2"]},{"1377685405":["hashtag1","hashtag2"]},{"1377685392":["hashtag1","hashtag2"]},{"1377685401":["hashtag1","hashtag2"]},{"1377685394":["hashtag1","hashtag2"]},{"1377685407":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685403, 1377685405, 1377685392, 1377685401, 1377685394, 1377685407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95315480232239 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:11:47.567491
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/11/image_17082025_19_11_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/19/11/image_17082025_19_11_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/19/11/image_17082025_19_11_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/19/11/image_17082025_19_11_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/19/10/image_17082025_19_11_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/19/10/image_17082025_19_10_55_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/11/image_17082025_19_11_44_9639.jpg', '/home/nano/Desktop/images/17082025/19/11/image_17082025_19_11_34_9638.jpg', '/home/nano/Desktop/images/17082025/19/11/image_17082025_19_11_24_10649.jpg', '/home/nano/Desktop/images/17082025/19/11/image_17082025_19_11_14_9659.jpg', '/home/nano/Desktop/images/17082025/19/10/image_17082025_19_11_04_9655.jpg', '/home/nano/Desktop/images/17082025/19/10/image_17082025_19_10_55_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/11/image_17082025_19_11_44_9639.jpg
/home/nano/Desktop/images/17082025/19/11/image_17082025_19_11_34_9638.jpg
/home/nano/Desktop/images/17082025/19/11/image_17082025_19_11_24_10649.jpg
/home/nano/Desktop/images/17082025/19/11/image_17082025_19_11_14_9659.jpg
/home/nano/Desktop/images/17082025/19/10/image_17082025_19_11_04_9655.jpg
/home/nano/Desktop/images/17082025/19/10/image_17082025_19_10_55_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685429","1377685420","1377685414","1377685416","1377685418","1377685412"],"photo_ids_order":["1377685412","1377685414","1377685416","1377685418","1377685420","1377685429"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3ee69cdec66efb0765fd4416ccd4095b.jpg","text":"TemporaryFile(/tmp/multipartBody1193276631941621171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450769543,"filename":"image_17082025_19_10_55_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c1cf3bf9b86db836509d0547855caa04.jpg","text":"TemporaryFile(/tmp/multipartBody2439498116206152104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450769543,"filename":"image_17082025_19_11_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3d97439dec817f1ed60408dadfefa6e4.jpg","text":"TemporaryFile(/tmp/multipartBody8323009937475887568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450769543,"filename":"image_17082025_19_11_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f7de329428f62715f11e1b62aa9da30c.jpg","text":"TemporaryFile(/tmp/multipartBody7817121675053131689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450769543,"filename":"image_17082025_19_11_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/06485938f5b3fd6519ffcef54587c359.jpg","text":"TemporaryFile(/tmp/multipartBody559875479478755552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450769543,"filename":"image_17082025_19_11_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6b215b095bafa7772e894232d87c0fc9.jpg","text":"TemporaryFile(/tmp/multipartBody8345969817535214667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450769543,"filename":"image_17082025_19_11_44_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685416","file1":"1377685414","file0":"1377685412","file4":"1377685420","file5":"1377685429","file3":"1377685418"},"map_files_photo_id_array":[{"photo_id":"1377685429","filename":"file5"},{"photo_id":"1377685416","filename":"file2"},{"photo_id":"1377685420","filename":"file4"},{"photo_id":"1377685414","filename":"file1"},{"photo_id":"1377685412","filename":"file0"},{"photo_id":"1377685418","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685429":["hashtag1","hashtag2"]},{"1377685420":["hashtag1","hashtag2"]},{"1377685414":["hashtag1","hashtag2"]},{"1377685416":["hashtag1","hashtag2"]},{"1377685418":["hashtag1","hashtag2"]},{"1377685412":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685429, 1377685420, 1377685414, 1377685416, 1377685418, 1377685412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57696270942688 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:12:32.703151
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/12/image_17082025_19_12_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/12/image_17082025_19_12_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/19/12/image_17082025_19_12_24_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/19/12/image_17082025_19_12_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/19/11/image_17082025_19_12_04_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/19/11/image_17082025_19_11_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/12/image_17082025_19_12_44_9640.jpg', '/home/nano/Desktop/images/17082025/19/12/image_17082025_19_12_34_9641.jpg', '/home/nano/Desktop/images/17082025/19/12/image_17082025_19_12_24_10665.jpg', '/home/nano/Desktop/images/17082025/19/12/image_17082025_19_12_14_9657.jpg', '/home/nano/Desktop/images/17082025/19/11/image_17082025_19_12_04_9659.jpg', '/home/nano/Desktop/images/17082025/19/11/image_17082025_19_11_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/12/image_17082025_19_12_44_9640.jpg
/home/nano/Desktop/images/17082025/19/12/image_17082025_19_12_34_9641.jpg
/home/nano/Desktop/images/17082025/19/12/image_17082025_19_12_24_10665.jpg
/home/nano/Desktop/images/17082025/19/12/image_17082025_19_12_14_9657.jpg
/home/nano/Desktop/images/17082025/19/11/image_17082025_19_12_04_9659.jpg
/home/nano/Desktop/images/17082025/19/11/image_17082025_19_11_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685435","1377685438","1377685434","1377685437","1377685439","1377685433"],"photo_ids_order":["1377685433","1377685434","1377685435","1377685437","1377685438","1377685439"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/276ec1e5c21eb412b2d849911a5dfaf7.jpg","text":"TemporaryFile(/tmp/multipartBody2196247846646620297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450814666,"filename":"image_17082025_19_12_24_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eb5af0df17bb7990f794418af937dcf7.jpg","text":"TemporaryFile(/tmp/multipartBody9047358405256592035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450814666,"filename":"image_17082025_19_12_04_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/01a12db3fc8339a5f66e1bef287da29c.jpg","text":"TemporaryFile(/tmp/multipartBody2751633075527456836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450814666,"filename":"image_17082025_19_12_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5103fd22209e35a22419c174e89c6dc7.jpg","text":"TemporaryFile(/tmp/multipartBody8461413070534078258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450814666,"filename":"image_17082025_19_12_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/43f7baabb6d459f9dc75666de0c5152f.jpg","text":"TemporaryFile(/tmp/multipartBody1677328805605056208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450814666,"filename":"image_17082025_19_11_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1f2732381412391da04d9bc13283f95e.jpg","text":"TemporaryFile(/tmp/multipartBody570280782396612836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450814666,"filename":"image_17082025_19_12_44_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685435","file1":"1377685434","file0":"1377685433","file4":"1377685438","file5":"1377685439","file3":"1377685437"},"map_files_photo_id_array":[{"photo_id":"1377685439","filename":"file5"},{"photo_id":"1377685435","filename":"file2"},{"photo_id":"1377685438","filename":"file4"},{"photo_id":"1377685434","filename":"file1"},{"photo_id":"1377685433","filename":"file0"},{"photo_id":"1377685437","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685435":["hashtag1","hashtag2"]},{"1377685438":["hashtag1","hashtag2"]},{"1377685434":["hashtag1","hashtag2"]},{"1377685437":["hashtag1","hashtag2"]},{"1377685439":["hashtag1","hashtag2"]},{"1377685433":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685435, 1377685438, 1377685434, 1377685437, 1377685439, 1377685433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81151509284973 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:13:16.819334
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/13/image_17082025_19_13_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/19/13/image_17082025_19_13_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/19/13/image_17082025_19_13_24_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/19/13/image_17082025_19_13_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/19/12/image_17082025_19_13_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/19/12/image_17082025_19_12_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/13/image_17082025_19_13_44_9638.jpg', '/home/nano/Desktop/images/17082025/19/13/image_17082025_19_13_34_9641.jpg', '/home/nano/Desktop/images/17082025/19/13/image_17082025_19_13_24_10651.jpg', '/home/nano/Desktop/images/17082025/19/13/image_17082025_19_13_14_9659.jpg', '/home/nano/Desktop/images/17082025/19/12/image_17082025_19_13_04_9655.jpg', '/home/nano/Desktop/images/17082025/19/12/image_17082025_19_12_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/13/image_17082025_19_13_44_9638.jpg
/home/nano/Desktop/images/17082025/19/13/image_17082025_19_13_34_9641.jpg
/home/nano/Desktop/images/17082025/19/13/image_17082025_19_13_24_10651.jpg
/home/nano/Desktop/images/17082025/19/13/image_17082025_19_13_14_9659.jpg
/home/nano/Desktop/images/17082025/19/12/image_17082025_19_13_04_9655.jpg
/home/nano/Desktop/images/17082025/19/12/image_17082025_19_12_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685453","1377685456","1377685459","1377685461","1377685463","1377685451"],"photo_ids_order":["1377685451","1377685453","1377685456","1377685459","1377685461","1377685463"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e68445e7e3449c268a0d490d0d9b2ab2.jpg","text":"TemporaryFile(/tmp/multipartBody8650890567184693935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450858500,"filename":"image_17082025_19_13_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/32b33bea9a97f8cd8ba2dc953d9b325d.jpg","text":"TemporaryFile(/tmp/multipartBody4068512061618783456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450858500,"filename":"image_17082025_19_13_24_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8ead93fb289eb041b2d1129b7e01edde.jpg","text":"TemporaryFile(/tmp/multipartBody4677625788463906866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450858500,"filename":"image_17082025_19_13_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9de38ea2f39b46caf18bf809dbfdb575.jpg","text":"TemporaryFile(/tmp/multipartBody8065063257418290177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450858500,"filename":"image_17082025_19_13_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/81976bc0c2ed7fb590998ca7a32aae5c.jpg","text":"TemporaryFile(/tmp/multipartBody7567725662841605373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450858500,"filename":"image_17082025_19_12_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ef631589f4c40d056aeeb4ec4dcef1b6.jpg","text":"TemporaryFile(/tmp/multipartBody7964392888269404048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450858500,"filename":"image_17082025_19_13_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685456","file1":"1377685453","file0":"1377685451","file4":"1377685461","file5":"1377685463","file3":"1377685459"},"map_files_photo_id_array":[{"photo_id":"1377685463","filename":"file5"},{"photo_id":"1377685456","filename":"file2"},{"photo_id":"1377685461","filename":"file4"},{"photo_id":"1377685453","filename":"file1"},{"photo_id":"1377685451","filename":"file0"},{"photo_id":"1377685459","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685453":["hashtag1","hashtag2"]},{"1377685456":["hashtag1","hashtag2"]},{"1377685459":["hashtag1","hashtag2"]},{"1377685461":["hashtag1","hashtag2"]},{"1377685463":["hashtag1","hashtag2"]},{"1377685451":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685453, 1377685456, 1377685459, 1377685461, 1377685463, 1377685451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93573832511902 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:14:02.745553
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/07/image_17082025_14_08_04_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/14/07/image_17082025_14_07_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/07/image_17082025_14_07_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/07/image_17082025_14_07_35_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/14/07/image_17082025_14_07_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/14/07/image_17082025_14_07_14_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/07/image_17082025_14_08_04_10653.jpg', '/home/nano/Desktop/images/17082025/14/07/image_17082025_14_07_54_9640.jpg', '/home/nano/Desktop/images/17082025/14/07/image_17082025_14_07_44_9638.jpg', '/home/nano/Desktop/images/17082025/14/07/image_17082025_14_07_35_10650.jpg', '/home/nano/Desktop/images/17082025/14/07/image_17082025_14_07_24_9636.jpg', '/home/nano/Desktop/images/17082025/14/07/image_17082025_14_07_14_10667.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/07/image_17082025_14_08_04_10653.jpg
/home/nano/Desktop/images/17082025/14/07/image_17082025_14_07_54_9640.jpg
/home/nano/Desktop/images/17082025/14/07/image_17082025_14_07_44_9638.jpg
/home/nano/Desktop/images/17082025/14/07/image_17082025_14_07_35_10650.jpg
/home/nano/Desktop/images/17082025/14/07/image_17082025_14_07_24_9636.jpg
/home/nano/Desktop/images/17082025/14/07/image_17082025_14_07_14_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685483","1377685465","1377685480","1377685477","1377685473","1377685475"],"photo_ids_order":["1377685465","1377685473","1377685475","1377685477","1377685480","1377685483"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a711dbc618e7f725df4325b3d19d198f.jpg","text":"TemporaryFile(/tmp/multipartBody7711870236332077354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450904421,"filename":"image_17082025_14_07_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/718100b67297bc9894a1e5ab507656de.jpg","text":"TemporaryFile(/tmp/multipartBody5665345249504418007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450904421,"filename":"image_17082025_14_08_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/285be8ab7ec3b962c362710d71e50864.jpg","text":"TemporaryFile(/tmp/multipartBody4973378663879268106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450904421,"filename":"image_17082025_14_07_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/170751844cbcee7ff7066ecfd4ec11e8.jpg","text":"TemporaryFile(/tmp/multipartBody2841777150766846260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450904421,"filename":"image_17082025_14_07_35_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/358f119c801a125762b71f810bc64774.jpg","text":"TemporaryFile(/tmp/multipartBody920536666191711545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450904421,"filename":"image_17082025_14_07_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/07f74ba9190d4eb3da011d8a63571fd6.jpg","text":"TemporaryFile(/tmp/multipartBody5617783983016657677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450904421,"filename":"image_17082025_14_07_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685475","file1":"1377685473","file0":"1377685465","file4":"1377685480","file5":"1377685483","file3":"1377685477"},"map_files_photo_id_array":[{"photo_id":"1377685483","filename":"file5"},{"photo_id":"1377685475","filename":"file2"},{"photo_id":"1377685480","filename":"file4"},{"photo_id":"1377685473","filename":"file1"},{"photo_id":"1377685465","filename":"file0"},{"photo_id":"1377685477","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685483":["hashtag1","hashtag2"]},{"1377685465":["hashtag1","hashtag2"]},{"1377685480":["hashtag1","hashtag2"]},{"1377685477":["hashtag1","hashtag2"]},{"1377685473":["hashtag1","hashtag2"]},{"1377685475":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685483, 1377685465, 1377685480, 1377685477, 1377685473, 1377685475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47721242904663 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:14:46.841141
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/14/image_17082025_19_14_34_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/19/14/image_17082025_19_14_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/19/14/image_17082025_19_14_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/19/13/image_17082025_19_14_04_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/19/13/image_17082025_19_13_54_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/14/06/image_17082025_14_07_04_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/14/image_17082025_19_14_34_9658.jpg', '/home/nano/Desktop/images/17082025/19/14/image_17082025_19_14_24_10649.jpg', '/home/nano/Desktop/images/17082025/19/14/image_17082025_19_14_14_9658.jpg', '/home/nano/Desktop/images/17082025/19/13/image_17082025_19_14_04_9660.jpg', '/home/nano/Desktop/images/17082025/19/13/image_17082025_19_13_54_10650.jpg', '/home/nano/Desktop/images/17082025/14/06/image_17082025_14_07_04_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/14/image_17082025_19_14_34_9658.jpg
/home/nano/Desktop/images/17082025/19/14/image_17082025_19_14_24_10649.jpg
/home/nano/Desktop/images/17082025/19/14/image_17082025_19_14_14_9658.jpg
/home/nano/Desktop/images/17082025/19/13/image_17082025_19_14_04_9660.jpg
/home/nano/Desktop/images/17082025/19/13/image_17082025_19_13_54_10650.jpg
/home/nano/Desktop/images/17082025/14/06/image_17082025_14_07_04_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685492","1377685495","1377685491","1377685490","1377685503","1377685493"],"photo_ids_order":["1377685490","1377685491","1377685492","1377685493","1377685495","1377685503"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/48723194034273935f9a7f0398dd5ce6.jpg","text":"TemporaryFile(/tmp/multipartBody5369035382261402158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450949090,"filename":"image_17082025_19_14_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b94ca32220a3945d28a3342bf166b12a.jpg","text":"TemporaryFile(/tmp/multipartBody7048905600342373791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450949090,"filename":"image_17082025_19_13_54_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c6cf3b04d5ea315d82d820c2d3e4de3f.jpg","text":"TemporaryFile(/tmp/multipartBody8637507039401435441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450949090,"filename":"image_17082025_19_14_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/00098e939ef98e71fcf32b9f84acc43c.jpg","text":"TemporaryFile(/tmp/multipartBody3607271748563537872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450949090,"filename":"image_17082025_19_14_34_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/05fdb0cbd77b637e5388952e426514e5.jpg","text":"TemporaryFile(/tmp/multipartBody1888010993059669099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450949090,"filename":"image_17082025_14_07_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/de7b63e0dc59020efdea9c2fddbf5dc2.jpg","text":"TemporaryFile(/tmp/multipartBody4419544804518199758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450949090,"filename":"image_17082025_19_14_04_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685492","file1":"1377685491","file0":"1377685490","file4":"1377685495","file5":"1377685503","file3":"1377685493"},"map_files_photo_id_array":[{"photo_id":"1377685503","filename":"file5"},{"photo_id":"1377685492","filename":"file2"},{"photo_id":"1377685495","filename":"file4"},{"photo_id":"1377685491","filename":"file1"},{"photo_id":"1377685490","filename":"file0"},{"photo_id":"1377685493","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685492":["hashtag1","hashtag2"]},{"1377685495":["hashtag1","hashtag2"]},{"1377685491":["hashtag1","hashtag2"]},{"1377685490":["hashtag1","hashtag2"]},{"1377685503":["hashtag1","hashtag2"]},{"1377685493":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685492, 1377685495, 1377685491, 1377685490, 1377685503, 1377685493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50865936279297 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:15:31.945089
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/15/image_17082025_19_15_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/19/15/image_17082025_19_15_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/19/15/image_17082025_19_15_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/19/15/image_17082025_19_15_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/19/14/image_17082025_19_15_04_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/19/14/image_17082025_19_14_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/15/image_17082025_19_15_44_10649.jpg', '/home/nano/Desktop/images/17082025/19/15/image_17082025_19_15_34_9638.jpg', '/home/nano/Desktop/images/17082025/19/15/image_17082025_19_15_24_9643.jpg', '/home/nano/Desktop/images/17082025/19/15/image_17082025_19_15_14_10671.jpg', '/home/nano/Desktop/images/17082025/19/14/image_17082025_19_15_04_9659.jpg', '/home/nano/Desktop/images/17082025/19/14/image_17082025_19_14_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/15/image_17082025_19_15_44_10649.jpg
/home/nano/Desktop/images/17082025/19/15/image_17082025_19_15_34_9638.jpg
/home/nano/Desktop/images/17082025/19/15/image_17082025_19_15_24_9643.jpg
/home/nano/Desktop/images/17082025/19/15/image_17082025_19_15_14_10671.jpg
/home/nano/Desktop/images/17082025/19/14/image_17082025_19_15_04_9659.jpg
/home/nano/Desktop/images/17082025/19/14/image_17082025_19_14_54_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685514","1377685508","1377685510","1377685512","1377685509","1377685517"],"photo_ids_order":["1377685508","1377685509","1377685510","1377685512","1377685514","1377685517"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2ae9dd831bb364957f98f80bd12590f1.jpg","text":"TemporaryFile(/tmp/multipartBody2711674123977842077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450993599,"filename":"image_17082025_19_15_04_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/75f9ac9e60a985cb592c5f6d1fae2044.jpg","text":"TemporaryFile(/tmp/multipartBody323871345720610275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450993599,"filename":"image_17082025_19_15_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/41f38762ae6d4892ff3f28e01fd33b76.jpg","text":"TemporaryFile(/tmp/multipartBody4122900588022982941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450993599,"filename":"image_17082025_19_15_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e7b5345232c37baf9078e24f58adb188.jpg","text":"TemporaryFile(/tmp/multipartBody2718786042812749865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450993599,"filename":"image_17082025_19_15_14_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/de7e946b78943c2dd20f3efdb757609f.jpg","text":"TemporaryFile(/tmp/multipartBody2078968603158861930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450993599,"filename":"image_17082025_19_15_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/02e40a06212ed3fc51105c9026c0b060.jpg","text":"TemporaryFile(/tmp/multipartBody3199843798050506471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755450993599,"filename":"image_17082025_19_14_54_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685510","file1":"1377685509","file0":"1377685508","file4":"1377685514","file5":"1377685517","file3":"1377685512"},"map_files_photo_id_array":[{"photo_id":"1377685517","filename":"file5"},{"photo_id":"1377685510","filename":"file2"},{"photo_id":"1377685514","filename":"file4"},{"photo_id":"1377685509","filename":"file1"},{"photo_id":"1377685508","filename":"file0"},{"photo_id":"1377685512","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685514":["hashtag1","hashtag2"]},{"1377685508":["hashtag1","hashtag2"]},{"1377685510":["hashtag1","hashtag2"]},{"1377685512":["hashtag1","hashtag2"]},{"1377685509":["hashtag1","hashtag2"]},{"1377685517":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685514, 1377685508, 1377685510, 1377685512, 1377685509, 1377685517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.97600722312927 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:16:17.074914
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/16/image_17082025_19_16_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/19/16/image_17082025_19_16_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/19/16/image_17082025_19_16_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/19/16/image_17082025_19_16_14_10675.jpg', 2), ('/home/nano/Desktop/images/17082025/19/15/image_17082025_19_16_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/19/15/image_17082025_19_15_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/16/image_17082025_19_16_44_10647.jpg', '/home/nano/Desktop/images/17082025/19/16/image_17082025_19_16_34_9639.jpg', '/home/nano/Desktop/images/17082025/19/16/image_17082025_19_16_24_9638.jpg', '/home/nano/Desktop/images/17082025/19/16/image_17082025_19_16_14_10675.jpg', '/home/nano/Desktop/images/17082025/19/15/image_17082025_19_16_04_9645.jpg', '/home/nano/Desktop/images/17082025/19/15/image_17082025_19_15_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/16/image_17082025_19_16_44_10647.jpg
/home/nano/Desktop/images/17082025/19/16/image_17082025_19_16_34_9639.jpg
/home/nano/Desktop/images/17082025/19/16/image_17082025_19_16_24_9638.jpg
/home/nano/Desktop/images/17082025/19/16/image_17082025_19_16_14_10675.jpg
/home/nano/Desktop/images/17082025/19/15/image_17082025_19_16_04_9645.jpg
/home/nano/Desktop/images/17082025/19/15/image_17082025_19_15_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685529","1377685540","1377685539","1377685535","1377685538","1377685532"],"photo_ids_order":["1377685529","1377685532","1377685535","1377685538","1377685539","1377685540"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/37bc3ba0d5254465575ea2ca3c6c44db.jpg","text":"TemporaryFile(/tmp/multipartBody6093745866831434850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451038842,"filename":"image_17082025_19_16_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6a9264eacf7d17e07baa67175f97582d.jpg","text":"TemporaryFile(/tmp/multipartBody2731326530295449749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451038842,"filename":"image_17082025_19_15_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f4aabadea4c8375e2cf34d3eca6e4edf.jpg","text":"TemporaryFile(/tmp/multipartBody630427484583790457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451038842,"filename":"image_17082025_19_16_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/268ad4309312de7a3832518297ad483e.jpg","text":"TemporaryFile(/tmp/multipartBody7746659103986775737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451038842,"filename":"image_17082025_19_16_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/291cd0ccc989db1d1b7a730d985ecb5c.jpg","text":"TemporaryFile(/tmp/multipartBody1034989514702102289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451038842,"filename":"image_17082025_19_16_14_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e7b464b0a6b482e5dc8a34cbdc03270a.jpg","text":"TemporaryFile(/tmp/multipartBody8066609087473782751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451038842,"filename":"image_17082025_19_16_34_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685535","file1":"1377685532","file0":"1377685529","file4":"1377685539","file5":"1377685540","file3":"1377685538"},"map_files_photo_id_array":[{"photo_id":"1377685540","filename":"file5"},{"photo_id":"1377685535","filename":"file2"},{"photo_id":"1377685539","filename":"file4"},{"photo_id":"1377685532","filename":"file1"},{"photo_id":"1377685529","filename":"file0"},{"photo_id":"1377685538","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685529":["hashtag1","hashtag2"]},{"1377685540":["hashtag1","hashtag2"]},{"1377685539":["hashtag1","hashtag2"]},{"1377685535":["hashtag1","hashtag2"]},{"1377685538":["hashtag1","hashtag2"]},{"1377685532":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685529, 1377685540, 1377685539, 1377685535, 1377685538, 1377685532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.234339475631714 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:17:02.890896
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/06/image_17082025_14_06_54_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/14/06/image_17082025_14_06_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/06/image_17082025_14_06_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/14/06/image_17082025_14_06_14_10691.jpg', 2), ('/home/nano/Desktop/images/17082025/14/05/image_17082025_14_06_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/14/05/image_17082025_14_05_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/06/image_17082025_14_06_54_9636.jpg', '/home/nano/Desktop/images/17082025/14/06/image_17082025_14_06_34_9637.jpg', '/home/nano/Desktop/images/17082025/14/06/image_17082025_14_06_24_9643.jpg', '/home/nano/Desktop/images/17082025/14/06/image_17082025_14_06_14_10691.jpg', '/home/nano/Desktop/images/17082025/14/05/image_17082025_14_06_04_9650.jpg', '/home/nano/Desktop/images/17082025/14/05/image_17082025_14_05_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/06/image_17082025_14_06_54_9636.jpg
/home/nano/Desktop/images/17082025/14/06/image_17082025_14_06_34_9637.jpg
/home/nano/Desktop/images/17082025/14/06/image_17082025_14_06_24_9643.jpg
/home/nano/Desktop/images/17082025/14/06/image_17082025_14_06_14_10691.jpg
/home/nano/Desktop/images/17082025/14/05/image_17082025_14_06_04_9650.jpg
/home/nano/Desktop/images/17082025/14/05/image_17082025_14_05_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685555","1377685557","1377685551","1377685542","1377685553","1377685544"],"photo_ids_order":["1377685542","1377685544","1377685551","1377685553","1377685555","1377685557"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b28a21af24265b6bc9da14a6f4e3c3f0.jpg","text":"TemporaryFile(/tmp/multipartBody9165463189697010252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451084678,"filename":"image_17082025_14_06_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/48938ab1e3ce053ff5081203853eff65.jpg","text":"TemporaryFile(/tmp/multipartBody2613608979164841108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451084678,"filename":"image_17082025_14_05_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c165a3008bbb93b05c58febf93e3eeca.jpg","text":"TemporaryFile(/tmp/multipartBody5740349425124198234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451084678,"filename":"image_17082025_14_06_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0fcab9831d02bd895e980932f974408d.jpg","text":"TemporaryFile(/tmp/multipartBody8517206934637648150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451084678,"filename":"image_17082025_14_06_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/195d49bdbb36a4c966043db1caff9860.jpg","text":"TemporaryFile(/tmp/multipartBody6722255113103222076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451084678,"filename":"image_17082025_14_06_14_10691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/63b8c8c7b2a1f6745d7918023893946a.jpg","text":"TemporaryFile(/tmp/multipartBody4288267893772059270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451084678,"filename":"image_17082025_14_06_34_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685551","file1":"1377685544","file0":"1377685542","file4":"1377685555","file5":"1377685557","file3":"1377685553"},"map_files_photo_id_array":[{"photo_id":"1377685557","filename":"file5"},{"photo_id":"1377685551","filename":"file2"},{"photo_id":"1377685555","filename":"file4"},{"photo_id":"1377685544","filename":"file1"},{"photo_id":"1377685542","filename":"file0"},{"photo_id":"1377685553","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685555":["hashtag1","hashtag2"]},{"1377685557":["hashtag1","hashtag2"]},{"1377685551":["hashtag1","hashtag2"]},{"1377685542":["hashtag1","hashtag2"]},{"1377685553":["hashtag1","hashtag2"]},{"1377685544":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685555, 1377685557, 1377685551, 1377685542, 1377685553, 1377685544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.210731744766235 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:17:47.169681
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/17/image_17082025_19_17_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/19/17/image_17082025_19_17_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/17/image_17082025_19_17_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/19/17/image_17082025_19_17_14_10678.jpg', 2), ('/home/nano/Desktop/images/17082025/19/16/image_17082025_19_17_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/19/16/image_17082025_19_16_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/17/image_17082025_19_17_44_10650.jpg', '/home/nano/Desktop/images/17082025/19/17/image_17082025_19_17_34_9640.jpg', '/home/nano/Desktop/images/17082025/19/17/image_17082025_19_17_24_9638.jpg', '/home/nano/Desktop/images/17082025/19/17/image_17082025_19_17_14_10678.jpg', '/home/nano/Desktop/images/17082025/19/16/image_17082025_19_17_04_9641.jpg', '/home/nano/Desktop/images/17082025/19/16/image_17082025_19_16_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/17/image_17082025_19_17_44_10650.jpg
/home/nano/Desktop/images/17082025/19/17/image_17082025_19_17_34_9640.jpg
/home/nano/Desktop/images/17082025/19/17/image_17082025_19_17_24_9638.jpg
/home/nano/Desktop/images/17082025/19/17/image_17082025_19_17_14_10678.jpg
/home/nano/Desktop/images/17082025/19/16/image_17082025_19_17_04_9641.jpg
/home/nano/Desktop/images/17082025/19/16/image_17082025_19_16_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685561","1377685563","1377685572","1377685560","1377685562","1377685565"],"photo_ids_order":["1377685560","1377685561","1377685562","1377685563","1377685565","1377685572"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d617dc01ac60902cc2c45e203ecd083a.jpg","text":"TemporaryFile(/tmp/multipartBody6986225216095963271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451128939,"filename":"image_17082025_19_17_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f95281d3a91b16c23f2b1a65c42193ce.jpg","text":"TemporaryFile(/tmp/multipartBody3266770282648001358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451128939,"filename":"image_17082025_19_17_14_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f5e9ddeb58438e2a3db041429f7760cb.jpg","text":"TemporaryFile(/tmp/multipartBody8235789713144381016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451128939,"filename":"image_17082025_19_16_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0fec49b92f9def3bc7e92cd75426ffe8.jpg","text":"TemporaryFile(/tmp/multipartBody3671653971876808571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451128939,"filename":"image_17082025_19_17_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c6d27dcf6d6d90c9b1b56c95a163cdb7.jpg","text":"TemporaryFile(/tmp/multipartBody2947542379741414171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451128939,"filename":"image_17082025_19_17_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/59d0ccdc9b9f0677d26fce15547e6d7f.jpg","text":"TemporaryFile(/tmp/multipartBody7626307496358349200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451128939,"filename":"image_17082025_19_17_04_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685562","file1":"1377685561","file0":"1377685560","file4":"1377685565","file5":"1377685572","file3":"1377685563"},"map_files_photo_id_array":[{"photo_id":"1377685572","filename":"file5"},{"photo_id":"1377685562","filename":"file2"},{"photo_id":"1377685565","filename":"file4"},{"photo_id":"1377685561","filename":"file1"},{"photo_id":"1377685560","filename":"file0"},{"photo_id":"1377685563","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685561":["hashtag1","hashtag2"]},{"1377685563":["hashtag1","hashtag2"]},{"1377685572":["hashtag1","hashtag2"]},{"1377685560":["hashtag1","hashtag2"]},{"1377685562":["hashtag1","hashtag2"]},{"1377685565":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685561, 1377685563, 1377685572, 1377685560, 1377685562, 1377685565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.752511739730835 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:18:32.290062
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/18/image_17082025_19_18_34_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/19/18/image_17082025_19_18_24_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/19/18/image_17082025_19_18_14_9667.jpg', 2), ('/home/nano/Desktop/images/17082025/19/17/image_17082025_19_18_05_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/19/17/image_17082025_19_17_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/05/image_17082025_14_05_34_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/18/image_17082025_19_18_34_10667.jpg', '/home/nano/Desktop/images/17082025/19/18/image_17082025_19_18_24_9658.jpg', '/home/nano/Desktop/images/17082025/19/18/image_17082025_19_18_14_9667.jpg', '/home/nano/Desktop/images/17082025/19/17/image_17082025_19_18_05_10663.jpg', '/home/nano/Desktop/images/17082025/19/17/image_17082025_19_17_54_9639.jpg', '/home/nano/Desktop/images/17082025/14/05/image_17082025_14_05_34_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/18/image_17082025_19_18_34_10667.jpg
/home/nano/Desktop/images/17082025/19/18/image_17082025_19_18_24_9658.jpg
/home/nano/Desktop/images/17082025/19/18/image_17082025_19_18_14_9667.jpg
/home/nano/Desktop/images/17082025/19/17/image_17082025_19_18_05_10663.jpg
/home/nano/Desktop/images/17082025/19/17/image_17082025_19_17_54_9639.jpg
/home/nano/Desktop/images/17082025/14/05/image_17082025_14_05_34_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685582","1377685588","1377685590","1377685584","1377685586","1377685583"],"photo_ids_order":["1377685582","1377685583","1377685584","1377685586","1377685588","1377685590"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9dfd13c5b5d57e36578f630ece5a8d00.jpg","text":"TemporaryFile(/tmp/multipartBody5912253268341581733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451174410,"filename":"image_17082025_19_18_34_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/803177955c68b27d72d86d09da52ce9a.jpg","text":"TemporaryFile(/tmp/multipartBody5297575652874151766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451174410,"filename":"image_17082025_19_17_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7e164ff05d6bb160e10465e8300f52fc.jpg","text":"TemporaryFile(/tmp/multipartBody773503660960533142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451174410,"filename":"image_17082025_14_05_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d7fc36b1b7384ab76381730952f6c78c.jpg","text":"TemporaryFile(/tmp/multipartBody2228053027767274220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451174410,"filename":"image_17082025_19_18_14_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a1bc6e177289b210a0923b14fd10539c.jpg","text":"TemporaryFile(/tmp/multipartBody1900269055332729352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451174410,"filename":"image_17082025_19_18_05_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/76296fb414fd904ccd8b70c2be5d172d.jpg","text":"TemporaryFile(/tmp/multipartBody7429343917228126276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451174410,"filename":"image_17082025_19_18_24_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685584","file1":"1377685583","file0":"1377685582","file4":"1377685588","file5":"1377685590","file3":"1377685586"},"map_files_photo_id_array":[{"photo_id":"1377685590","filename":"file5"},{"photo_id":"1377685584","filename":"file2"},{"photo_id":"1377685588","filename":"file4"},{"photo_id":"1377685583","filename":"file1"},{"photo_id":"1377685582","filename":"file0"},{"photo_id":"1377685586","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685582":["hashtag1","hashtag2"]},{"1377685588":["hashtag1","hashtag2"]},{"1377685590":["hashtag1","hashtag2"]},{"1377685584":["hashtag1","hashtag2"]},{"1377685586":["hashtag1","hashtag2"]},{"1377685583":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685582, 1377685588, 1377685590, 1377685584, 1377685586, 1377685583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.479870557785034 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:19:17.464072
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/19/image_17082025_19_19_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/19/19/image_17082025_19_19_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/19/19/image_17082025_19_19_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/19/19/image_17082025_19_19_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/19/18/image_17082025_19_19_04_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/19/18/image_17082025_19_18_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/19/image_17082025_19_19_44_9639.jpg', '/home/nano/Desktop/images/17082025/19/19/image_17082025_19_19_34_10650.jpg', '/home/nano/Desktop/images/17082025/19/19/image_17082025_19_19_24_9638.jpg', '/home/nano/Desktop/images/17082025/19/19/image_17082025_19_19_14_9658.jpg', '/home/nano/Desktop/images/17082025/19/18/image_17082025_19_19_04_10662.jpg', '/home/nano/Desktop/images/17082025/19/18/image_17082025_19_18_54_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/19/image_17082025_19_19_44_9639.jpg
/home/nano/Desktop/images/17082025/19/19/image_17082025_19_19_34_10650.jpg
/home/nano/Desktop/images/17082025/19/19/image_17082025_19_19_24_9638.jpg
/home/nano/Desktop/images/17082025/19/19/image_17082025_19_19_14_9658.jpg
/home/nano/Desktop/images/17082025/19/18/image_17082025_19_19_04_10662.jpg
/home/nano/Desktop/images/17082025/19/18/image_17082025_19_18_54_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685607","1377685609","1377685603","1377685611","1377685605","1377685610"],"photo_ids_order":["1377685603","1377685605","1377685607","1377685609","1377685610","1377685611"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8a26fb6b4b3a87ae8801acf022c7d46c.jpg","text":"TemporaryFile(/tmp/multipartBody8639364375721517689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451219160,"filename":"image_17082025_19_19_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/07e0743c392d754b03ab0674a563c4b8.jpg","text":"TemporaryFile(/tmp/multipartBody8090319797678616737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451219160,"filename":"image_17082025_19_19_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4d523c8a84bea2a1efd3a047c5d20150.jpg","text":"TemporaryFile(/tmp/multipartBody3420359724962711054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451219160,"filename":"image_17082025_19_19_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/875fc13bd60b8b749f2ef42c6a013926.jpg","text":"TemporaryFile(/tmp/multipartBody5852121012792991039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451219160,"filename":"image_17082025_19_18_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4e7999e4474b76f1ffdeeed831c77fc6.jpg","text":"TemporaryFile(/tmp/multipartBody8615058727320782107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451219160,"filename":"image_17082025_19_19_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1b352cc59f9ac2c6d57f497c7a24719d.jpg","text":"TemporaryFile(/tmp/multipartBody8469337216988461070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451219160,"filename":"image_17082025_19_19_04_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685607","file1":"1377685605","file0":"1377685603","file4":"1377685610","file5":"1377685611","file3":"1377685609"},"map_files_photo_id_array":[{"photo_id":"1377685611","filename":"file5"},{"photo_id":"1377685607","filename":"file2"},{"photo_id":"1377685610","filename":"file4"},{"photo_id":"1377685605","filename":"file1"},{"photo_id":"1377685603","filename":"file0"},{"photo_id":"1377685609","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685607":["hashtag1","hashtag2"]},{"1377685609":["hashtag1","hashtag2"]},{"1377685603":["hashtag1","hashtag2"]},{"1377685611":["hashtag1","hashtag2"]},{"1377685605":["hashtag1","hashtag2"]},{"1377685610":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685607, 1377685609, 1377685603, 1377685611, 1377685605, 1377685610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.683857679367065 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:20:03.039103
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/05/image_17082025_14_05_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/14/05/image_17082025_14_05_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/14/04/image_17082025_14_05_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/14/04/image_17082025_14_04_44_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/14/04/image_17082025_14_04_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/14/04/image_17082025_14_04_24_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/05/image_17082025_14_05_24_9636.jpg', '/home/nano/Desktop/images/17082025/14/05/image_17082025_14_05_14_10668.jpg', '/home/nano/Desktop/images/17082025/14/04/image_17082025_14_05_04_9664.jpg', '/home/nano/Desktop/images/17082025/14/04/image_17082025_14_04_44_10645.jpg', '/home/nano/Desktop/images/17082025/14/04/image_17082025_14_04_34_9654.jpg', '/home/nano/Desktop/images/17082025/14/04/image_17082025_14_04_24_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/05/image_17082025_14_05_24_9636.jpg
/home/nano/Desktop/images/17082025/14/05/image_17082025_14_05_14_10668.jpg
/home/nano/Desktop/images/17082025/14/04/image_17082025_14_05_04_9664.jpg
/home/nano/Desktop/images/17082025/14/04/image_17082025_14_04_44_10645.jpg
/home/nano/Desktop/images/17082025/14/04/image_17082025_14_04_34_9654.jpg
/home/nano/Desktop/images/17082025/14/04/image_17082025_14_04_24_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685633","1377685627","1377685615","1377685630","1377685624","1377685632"],"photo_ids_order":["1377685615","1377685624","1377685627","1377685630","1377685632","1377685633"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7cd208d25dad514a2ee1316c89723d93.jpg","text":"TemporaryFile(/tmp/multipartBody7859358312906281697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451264952,"filename":"image_17082025_14_04_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/03c88dab9054fdf88d45a0416ef88a63.jpg","text":"TemporaryFile(/tmp/multipartBody2315157055732227815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451264952,"filename":"image_17082025_14_05_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/25e56b00bfa587620fe888b53c0b3ba8.jpg","text":"TemporaryFile(/tmp/multipartBody6207236327104278302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451264952,"filename":"image_17082025_14_05_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6d29de4c7df10d3756a33a00c6a6ac91.jpg","text":"TemporaryFile(/tmp/multipartBody6595111267894700181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451264952,"filename":"image_17082025_14_04_44_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7ba5a75195b7e2803840bf411b68ea98.jpg","text":"TemporaryFile(/tmp/multipartBody332701574062211387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451264952,"filename":"image_17082025_14_05_14_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ec20dd11ff45e81667e90a4b8989facd.jpg","text":"TemporaryFile(/tmp/multipartBody1282775558802439660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451264952,"filename":"image_17082025_14_04_34_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685627","file1":"1377685624","file0":"1377685615","file4":"1377685632","file5":"1377685633","file3":"1377685630"},"map_files_photo_id_array":[{"photo_id":"1377685633","filename":"file5"},{"photo_id":"1377685627","filename":"file2"},{"photo_id":"1377685632","filename":"file4"},{"photo_id":"1377685624","filename":"file1"},{"photo_id":"1377685615","filename":"file0"},{"photo_id":"1377685630","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685633":["hashtag1","hashtag2"]},{"1377685627":["hashtag1","hashtag2"]},{"1377685615":["hashtag1","hashtag2"]},{"1377685630":["hashtag1","hashtag2"]},{"1377685624":["hashtag1","hashtag2"]},{"1377685632":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685633, 1377685627, 1377685615, 1377685630, 1377685624, 1377685632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.47221279144287 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:20:47.609212
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_34_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/19/19/image_17082025_19_20_04_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/19/19/image_17082025_19_19_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_44_9639.jpg', '/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_34_10665.jpg', '/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_24_9640.jpg', '/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_14_9655.jpg', '/home/nano/Desktop/images/17082025/19/19/image_17082025_19_20_04_10673.jpg', '/home/nano/Desktop/images/17082025/19/19/image_17082025_19_19_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_44_9639.jpg
/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_34_10665.jpg
/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_24_9640.jpg
/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_14_9655.jpg
/home/nano/Desktop/images/17082025/19/19/image_17082025_19_20_04_10673.jpg
/home/nano/Desktop/images/17082025/19/19/image_17082025_19_19_54_9638.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7105553150177 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:21:03.484651
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_34_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/19/19/image_17082025_19_20_04_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/19/19/image_17082025_19_19_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_44_9639.jpg', '/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_34_10665.jpg', '/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_24_9640.jpg', '/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_14_9655.jpg', '/home/nano/Desktop/images/17082025/19/19/image_17082025_19_20_04_10673.jpg', '/home/nano/Desktop/images/17082025/19/19/image_17082025_19_19_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_44_9639.jpg
/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_34_10665.jpg
/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_24_9640.jpg
/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_14_9655.jpg
/home/nano/Desktop/images/17082025/19/19/image_17082025_19_20_04_10673.jpg
/home/nano/Desktop/images/17082025/19/19/image_17082025_19_19_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685651","1377685657","1377685642","1377685639","1377685653","1377685655"],"photo_ids_order":["1377685639","1377685642","1377685651","1377685653","1377685655","1377685657"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/312afc60aa58b85b59e59e4428f5d862.jpg","text":"TemporaryFile(/tmp/multipartBody5718555772541818408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451325012,"filename":"image_17082025_19_20_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8cbed79fb3c52a27c6f407731b1c2b28.jpg","text":"TemporaryFile(/tmp/multipartBody8394870882145157352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451325012,"filename":"image_17082025_19_19_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dbb58bb13a7cbc3b71d5315774ab1ffb.jpg","text":"TemporaryFile(/tmp/multipartBody2052734570023806581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451325012,"filename":"image_17082025_19_20_34_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a2cf4dda94aaa3f1d3fa11b948a8d08c.jpg","text":"TemporaryFile(/tmp/multipartBody8642823847458454560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451325012,"filename":"image_17082025_19_20_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/88cb2a1adfb42aeccad042e26735d1b7.jpg","text":"TemporaryFile(/tmp/multipartBody1032012384165743538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451325012,"filename":"image_17082025_19_20_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c9e2e70955b005a35a7c64071ba2377a.jpg","text":"TemporaryFile(/tmp/multipartBody4737600810360977305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451325012,"filename":"image_17082025_19_20_04_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685651","file1":"1377685642","file0":"1377685639","file4":"1377685655","file5":"1377685657","file3":"1377685653"},"map_files_photo_id_array":[{"photo_id":"1377685657","filename":"file5"},{"photo_id":"1377685651","filename":"file2"},{"photo_id":"1377685655","filename":"file4"},{"photo_id":"1377685642","filename":"file1"},{"photo_id":"1377685639","filename":"file0"},{"photo_id":"1377685653","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685651":["hashtag1","hashtag2"]},{"1377685657":["hashtag1","hashtag2"]},{"1377685642":["hashtag1","hashtag2"]},{"1377685639":["hashtag1","hashtag2"]},{"1377685653":["hashtag1","hashtag2"]},{"1377685655":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685651, 1377685657, 1377685642, 1377685639, 1377685653, 1377685655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61797332763672 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:21:47.794424
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/21/image_17082025_19_21_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/19/21/image_17082025_19_21_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/21/image_17082025_19_21_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/19/20/image_17082025_19_21_04_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/04/image_17082025_14_04_15_10666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/21/image_17082025_19_21_44_9641.jpg', '/home/nano/Desktop/images/17082025/19/21/image_17082025_19_21_34_9640.jpg', '/home/nano/Desktop/images/17082025/19/21/image_17082025_19_21_14_9654.jpg', '/home/nano/Desktop/images/17082025/19/20/image_17082025_19_21_04_10666.jpg', '/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_54_9638.jpg', '/home/nano/Desktop/images/17082025/14/04/image_17082025_14_04_15_10666.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/21/image_17082025_19_21_44_9641.jpg
/home/nano/Desktop/images/17082025/19/21/image_17082025_19_21_34_9640.jpg
/home/nano/Desktop/images/17082025/19/21/image_17082025_19_21_14_9654.jpg
/home/nano/Desktop/images/17082025/19/20/image_17082025_19_21_04_10666.jpg
/home/nano/Desktop/images/17082025/19/20/image_17082025_19_20_54_9638.jpg
/home/nano/Desktop/images/17082025/14/04/image_17082025_14_04_15_10666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685663","1377685672","1377685662","1377685665","1377685661","1377685664"],"photo_ids_order":["1377685661","1377685662","1377685663","1377685664","1377685665","1377685672"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5f3daae638598e369c16105924553d0d.jpg","text":"TemporaryFile(/tmp/multipartBody5282264931739841428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451369833,"filename":"image_17082025_19_21_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7795f68f3d3f797e9fc4249694258a8d.jpg","text":"TemporaryFile(/tmp/multipartBody7001734274843863814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451369833,"filename":"image_17082025_14_04_15_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6247a5df687075c905f21f10c3249d52.jpg","text":"TemporaryFile(/tmp/multipartBody3672575695866443563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451369833,"filename":"image_17082025_19_21_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c2074424f87067080166a1ecbd662c16.jpg","text":"TemporaryFile(/tmp/multipartBody2734557471733220261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451369833,"filename":"image_17082025_19_20_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/218e9fb162cf8f0ca0eb7c9bbbf27dd3.jpg","text":"TemporaryFile(/tmp/multipartBody4458962668230308289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451369833,"filename":"image_17082025_19_21_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/67cde0746bdfde7b1742b59bd3f85beb.jpg","text":"TemporaryFile(/tmp/multipartBody4604717461575309298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451369833,"filename":"image_17082025_19_21_04_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685663","file1":"1377685662","file0":"1377685661","file4":"1377685665","file5":"1377685672","file3":"1377685664"},"map_files_photo_id_array":[{"photo_id":"1377685672","filename":"file5"},{"photo_id":"1377685663","filename":"file2"},{"photo_id":"1377685665","filename":"file4"},{"photo_id":"1377685662","filename":"file1"},{"photo_id":"1377685661","filename":"file0"},{"photo_id":"1377685664","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685663":["hashtag1","hashtag2"]},{"1377685672":["hashtag1","hashtag2"]},{"1377685662":["hashtag1","hashtag2"]},{"1377685665":["hashtag1","hashtag2"]},{"1377685661":["hashtag1","hashtag2"]},{"1377685664":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685663, 1377685672, 1377685662, 1377685665, 1377685661, 1377685664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75802803039551 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:22:31.900587
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/22/image_17082025_19_22_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/19/22/image_17082025_19_22_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/19/22/image_17082025_19_22_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/19/21/image_17082025_19_22_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/19/21/image_17082025_19_21_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/03/image_17082025_14_04_04_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/22/image_17082025_19_22_44_9638.jpg', '/home/nano/Desktop/images/17082025/19/22/image_17082025_19_22_24_10666.jpg', '/home/nano/Desktop/images/17082025/19/22/image_17082025_19_22_14_9656.jpg', '/home/nano/Desktop/images/17082025/19/21/image_17082025_19_22_04_9642.jpg', '/home/nano/Desktop/images/17082025/19/21/image_17082025_19_21_54_10649.jpg', '/home/nano/Desktop/images/17082025/14/03/image_17082025_14_04_04_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/22/image_17082025_19_22_44_9638.jpg
/home/nano/Desktop/images/17082025/19/22/image_17082025_19_22_24_10666.jpg
/home/nano/Desktop/images/17082025/19/22/image_17082025_19_22_14_9656.jpg
/home/nano/Desktop/images/17082025/19/21/image_17082025_19_22_04_9642.jpg
/home/nano/Desktop/images/17082025/19/21/image_17082025_19_21_54_10649.jpg
/home/nano/Desktop/images/17082025/14/03/image_17082025_14_04_04_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685681","1377685684","1377685687","1377685689","1377685691","1377685685"],"photo_ids_order":["1377685681","1377685684","1377685685","1377685687","1377685689","1377685691"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3db9fd900cac4fb94371c3f77b8eecbe.jpg","text":"TemporaryFile(/tmp/multipartBody385152450904863444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451413904,"filename":"image_17082025_19_22_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d576e25979452ae5ef87f6a92fa35200.jpg","text":"TemporaryFile(/tmp/multipartBody4608085691838067803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451413904,"filename":"image_17082025_19_22_24_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eaa7ec014580bd15487a56a5984344c9.jpg","text":"TemporaryFile(/tmp/multipartBody10808562041224371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451413904,"filename":"image_17082025_19_22_04_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7b3ab113c4a7b87e48e0fa6331477b64.jpg","text":"TemporaryFile(/tmp/multipartBody3070067891775039833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451413904,"filename":"image_17082025_19_21_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/69fa88adef5f5b3cc079301f4c935847.jpg","text":"TemporaryFile(/tmp/multipartBody6228573050225873700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451413904,"filename":"image_17082025_14_04_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5dcdeb1ec36b4f59dfeffdf19cf22eb0.jpg","text":"TemporaryFile(/tmp/multipartBody823313519199258232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451413904,"filename":"image_17082025_19_22_14_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685685","file1":"1377685684","file0":"1377685681","file4":"1377685689","file5":"1377685691","file3":"1377685687"},"map_files_photo_id_array":[{"photo_id":"1377685691","filename":"file5"},{"photo_id":"1377685685","filename":"file2"},{"photo_id":"1377685689","filename":"file4"},{"photo_id":"1377685684","filename":"file1"},{"photo_id":"1377685681","filename":"file0"},{"photo_id":"1377685687","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685681":["hashtag1","hashtag2"]},{"1377685684":["hashtag1","hashtag2"]},{"1377685687":["hashtag1","hashtag2"]},{"1377685689":["hashtag1","hashtag2"]},{"1377685691":["hashtag1","hashtag2"]},{"1377685685":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685681, 1377685684, 1377685687, 1377685689, 1377685691, 1377685685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17322874069214 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:23:17.022327
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/23/image_17082025_19_23_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/22/image_17082025_19_22_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/03/image_17082025_14_03_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/03/image_17082025_14_03_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/03/image_17082025_14_03_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/03/image_17082025_14_03_24_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/23/image_17082025_19_23_34_9640.jpg', '/home/nano/Desktop/images/17082025/19/22/image_17082025_19_22_54_10647.jpg', '/home/nano/Desktop/images/17082025/14/03/image_17082025_14_03_54_10649.jpg', '/home/nano/Desktop/images/17082025/14/03/image_17082025_14_03_44_9638.jpg', '/home/nano/Desktop/images/17082025/14/03/image_17082025_14_03_34_9639.jpg', '/home/nano/Desktop/images/17082025/14/03/image_17082025_14_03_24_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/23/image_17082025_19_23_34_9640.jpg
/home/nano/Desktop/images/17082025/19/22/image_17082025_19_22_54_10647.jpg
/home/nano/Desktop/images/17082025/14/03/image_17082025_14_03_54_10649.jpg
/home/nano/Desktop/images/17082025/14/03/image_17082025_14_03_44_9638.jpg
/home/nano/Desktop/images/17082025/14/03/image_17082025_14_03_34_9639.jpg
/home/nano/Desktop/images/17082025/14/03/image_17082025_14_03_24_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685712","1377685706","1377685709","1377685704","1377685701","1377685703"],"photo_ids_order":["1377685701","1377685703","1377685704","1377685706","1377685709","1377685712"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/47a8b808c835ee2e8aee4cd517d76676.jpg","text":"TemporaryFile(/tmp/multipartBody6371798205824879131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451458812,"filename":"image_17082025_14_03_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aa30cbf130855bf0ad4d485fe37a2312.jpg","text":"TemporaryFile(/tmp/multipartBody3903573137965134628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451458812,"filename":"image_17082025_14_03_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/af9184bee14a5dc57172a01531e1973e.jpg","text":"TemporaryFile(/tmp/multipartBody6020725672254527579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451458812,"filename":"image_17082025_14_03_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/63ac7dd3d312e8a1d6a99261bffe9715.jpg","text":"TemporaryFile(/tmp/multipartBody6152333962907632307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451458812,"filename":"image_17082025_14_03_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e0c93b7f01f2023dd9d287b74bc3b1dd.jpg","text":"TemporaryFile(/tmp/multipartBody8846497995124093204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451458812,"filename":"image_17082025_19_23_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/89af21aa6ab1d2a55b63cb17327fa9e2.jpg","text":"TemporaryFile(/tmp/multipartBody58326993658865325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451458812,"filename":"image_17082025_19_22_54_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685704","file1":"1377685703","file0":"1377685701","file4":"1377685709","file5":"1377685712","file3":"1377685706"},"map_files_photo_id_array":[{"photo_id":"1377685712","filename":"file5"},{"photo_id":"1377685704","filename":"file2"},{"photo_id":"1377685709","filename":"file4"},{"photo_id":"1377685703","filename":"file1"},{"photo_id":"1377685701","filename":"file0"},{"photo_id":"1377685706","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685712":["hashtag1","hashtag2"]},{"1377685706":["hashtag1","hashtag2"]},{"1377685709":["hashtag1","hashtag2"]},{"1377685704":["hashtag1","hashtag2"]},{"1377685701":["hashtag1","hashtag2"]},{"1377685703":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685712, 1377685706, 1377685709, 1377685704, 1377685701, 1377685703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70900774002075 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:24:02.999967
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/24/image_17082025_19_24_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/14/03/image_17082025_14_03_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/14/02/image_17082025_14_03_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/14/02/image_17082025_14_02_54_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/14/02/image_17082025_14_02_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/14/02/image_17082025_14_02_34_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/24/image_17082025_19_24_14_9657.jpg', '/home/nano/Desktop/images/17082025/14/03/image_17082025_14_03_14_9657.jpg', '/home/nano/Desktop/images/17082025/14/02/image_17082025_14_03_04_9641.jpg', '/home/nano/Desktop/images/17082025/14/02/image_17082025_14_02_54_10668.jpg', '/home/nano/Desktop/images/17082025/14/02/image_17082025_14_02_44_9639.jpg', '/home/nano/Desktop/images/17082025/14/02/image_17082025_14_02_34_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/24/image_17082025_19_24_14_9657.jpg
/home/nano/Desktop/images/17082025/14/03/image_17082025_14_03_14_9657.jpg
/home/nano/Desktop/images/17082025/14/02/image_17082025_14_03_04_9641.jpg
/home/nano/Desktop/images/17082025/14/02/image_17082025_14_02_54_10668.jpg
/home/nano/Desktop/images/17082025/14/02/image_17082025_14_02_44_9639.jpg
/home/nano/Desktop/images/17082025/14/02/image_17082025_14_02_34_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685727","1377685732","1377685726","1377685723","1377685716","1377685730"],"photo_ids_order":["1377685716","1377685723","1377685726","1377685727","1377685730","1377685732"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/07c1eda8f24921bc7fa9c42a0f15294f.jpg","text":"TemporaryFile(/tmp/multipartBody8433884736459700949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451504941,"filename":"image_17082025_14_02_54_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e4abac65835dd54da8548e1c6e52442d.jpg","text":"TemporaryFile(/tmp/multipartBody1449220859947593175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451504941,"filename":"image_17082025_14_02_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e4fc019e55ce969d9e4bee25bd1f6635.jpg","text":"TemporaryFile(/tmp/multipartBody3080175622395194045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451504941,"filename":"image_17082025_14_03_04_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4bb4e8be4af6f62ae9500a638ac37f24.jpg","text":"TemporaryFile(/tmp/multipartBody4162945678926924965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451504941,"filename":"image_17082025_14_03_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3e5e8bc9172b25f64dabf6bda4d19aa5.jpg","text":"TemporaryFile(/tmp/multipartBody2109787596351137181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451504941,"filename":"image_17082025_19_24_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3f750fb8d997e351b9f0ae14c14e1666.jpg","text":"TemporaryFile(/tmp/multipartBody7756323841229210178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451504941,"filename":"image_17082025_14_02_44_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685726","file1":"1377685723","file0":"1377685716","file4":"1377685730","file5":"1377685732","file3":"1377685727"},"map_files_photo_id_array":[{"photo_id":"1377685732","filename":"file5"},{"photo_id":"1377685726","filename":"file2"},{"photo_id":"1377685730","filename":"file4"},{"photo_id":"1377685723","filename":"file1"},{"photo_id":"1377685716","filename":"file0"},{"photo_id":"1377685727","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685727":["hashtag1","hashtag2"]},{"1377685732":["hashtag1","hashtag2"]},{"1377685726":["hashtag1","hashtag2"]},{"1377685723":["hashtag1","hashtag2"]},{"1377685716":["hashtag1","hashtag2"]},{"1377685730":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685727, 1377685732, 1377685726, 1377685723, 1377685716, 1377685730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28773069381714 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:24:47.076625
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/24/image_17082025_19_24_45_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/19/24/image_17082025_19_24_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/19/24/image_17082025_19_24_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/19/23/image_17082025_19_24_04_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/19/23/image_17082025_19_23_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/02/image_17082025_14_02_24_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/24/image_17082025_19_24_45_10648.jpg', '/home/nano/Desktop/images/17082025/19/24/image_17082025_19_24_34_9641.jpg', '/home/nano/Desktop/images/17082025/19/24/image_17082025_19_24_24_10666.jpg', '/home/nano/Desktop/images/17082025/19/23/image_17082025_19_24_04_9658.jpg', '/home/nano/Desktop/images/17082025/19/23/image_17082025_19_23_44_9640.jpg', '/home/nano/Desktop/images/17082025/14/02/image_17082025_14_02_24_10655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/24/image_17082025_19_24_45_10648.jpg
/home/nano/Desktop/images/17082025/19/24/image_17082025_19_24_34_9641.jpg
/home/nano/Desktop/images/17082025/19/24/image_17082025_19_24_24_10666.jpg
/home/nano/Desktop/images/17082025/19/23/image_17082025_19_24_04_9658.jpg
/home/nano/Desktop/images/17082025/19/23/image_17082025_19_23_44_9640.jpg
/home/nano/Desktop/images/17082025/14/02/image_17082025_14_02_24_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685738","1377685741","1377685740","1377685748","1377685736","1377685739"],"photo_ids_order":["1377685736","1377685738","1377685739","1377685740","1377685741","1377685748"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f55f5bdff56e1b02731cc9600023d221.jpg","text":"TemporaryFile(/tmp/multipartBody7671216019595459539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451549260,"filename":"image_17082025_19_24_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d4f416bb7225ac51f5192cb4bcb85881.jpg","text":"TemporaryFile(/tmp/multipartBody6241300628834238876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451549260,"filename":"image_17082025_19_23_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0318a18009b7aeff95f268dc5a065dc6.jpg","text":"TemporaryFile(/tmp/multipartBody3698874936875553303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451549260,"filename":"image_17082025_19_24_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/817d7b2d3fb83e7469ad3abf48c1ca2f.jpg","text":"TemporaryFile(/tmp/multipartBody3412326492751753102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451549260,"filename":"image_17082025_14_02_24_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d91bf94e5bae4e2765f0579aed63919a.jpg","text":"TemporaryFile(/tmp/multipartBody253238300529842591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451549260,"filename":"image_17082025_19_24_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6f7fd6fcdfdb1e1ccd28b5ca7770ab42.jpg","text":"TemporaryFile(/tmp/multipartBody1648507993463718307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451549260,"filename":"image_17082025_19_24_24_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685739","file1":"1377685738","file0":"1377685736","file4":"1377685741","file5":"1377685748","file3":"1377685740"},"map_files_photo_id_array":[{"photo_id":"1377685748","filename":"file5"},{"photo_id":"1377685739","filename":"file2"},{"photo_id":"1377685741","filename":"file4"},{"photo_id":"1377685738","filename":"file1"},{"photo_id":"1377685736","filename":"file0"},{"photo_id":"1377685740","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685738":["hashtag1","hashtag2"]},{"1377685741":["hashtag1","hashtag2"]},{"1377685740":["hashtag1","hashtag2"]},{"1377685748":["hashtag1","hashtag2"]},{"1377685736":["hashtag1","hashtag2"]},{"1377685739":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685738, 1377685741, 1377685740, 1377685748, 1377685736, 1377685739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74072313308716 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:25:32.179929
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/25/image_17082025_19_25_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/19/25/image_17082025_19_25_34_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/19/25/image_17082025_19_25_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/25/image_17082025_19_25_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/19/24/image_17082025_19_25_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/19/24/image_17082025_19_24_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/25/image_17082025_19_25_44_10649.jpg', '/home/nano/Desktop/images/17082025/19/25/image_17082025_19_25_34_9655.jpg', '/home/nano/Desktop/images/17082025/19/25/image_17082025_19_25_24_9640.jpg', '/home/nano/Desktop/images/17082025/19/25/image_17082025_19_25_14_10666.jpg', '/home/nano/Desktop/images/17082025/19/24/image_17082025_19_25_04_9650.jpg', '/home/nano/Desktop/images/17082025/19/24/image_17082025_19_24_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/25/image_17082025_19_25_44_10649.jpg
/home/nano/Desktop/images/17082025/19/25/image_17082025_19_25_34_9655.jpg
/home/nano/Desktop/images/17082025/19/25/image_17082025_19_25_24_9640.jpg
/home/nano/Desktop/images/17082025/19/25/image_17082025_19_25_14_10666.jpg
/home/nano/Desktop/images/17082025/19/24/image_17082025_19_25_04_9650.jpg
/home/nano/Desktop/images/17082025/19/24/image_17082025_19_24_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685762","1377685759","1377685761","1377685752","1377685754","1377685757"],"photo_ids_order":["1377685752","1377685754","1377685757","1377685759","1377685761","1377685762"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/253ce5f40fb32b696ac200288db22066.jpg","text":"TemporaryFile(/tmp/multipartBody1618619713445983417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451593989,"filename":"image_17082025_19_24_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0d1f1a9fab4a56c176f389692f923b79.jpg","text":"TemporaryFile(/tmp/multipartBody1899658805148338965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451593989,"filename":"image_17082025_19_25_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1c0dfb2535b615399ee5cdba37d7e34a.jpg","text":"TemporaryFile(/tmp/multipartBody7406661252677906048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451593989,"filename":"image_17082025_19_25_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4e02b5ee81a8f079c1f21e2946badd50.jpg","text":"TemporaryFile(/tmp/multipartBody4433726600697365669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451593989,"filename":"image_17082025_19_25_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9d5d9e4951c2373f590a64b2b1af92b2.jpg","text":"TemporaryFile(/tmp/multipartBody436248286458375225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451593989,"filename":"image_17082025_19_25_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/72b159ca687375c9293a22c461314542.jpg","text":"TemporaryFile(/tmp/multipartBody3274146493257900627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451593989,"filename":"image_17082025_19_25_24_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685757","file1":"1377685754","file0":"1377685752","file4":"1377685761","file5":"1377685762","file3":"1377685759"},"map_files_photo_id_array":[{"photo_id":"1377685762","filename":"file5"},{"photo_id":"1377685757","filename":"file2"},{"photo_id":"1377685761","filename":"file4"},{"photo_id":"1377685754","filename":"file1"},{"photo_id":"1377685752","filename":"file0"},{"photo_id":"1377685759","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685762":["hashtag1","hashtag2"]},{"1377685759":["hashtag1","hashtag2"]},{"1377685761":["hashtag1","hashtag2"]},{"1377685752":["hashtag1","hashtag2"]},{"1377685754":["hashtag1","hashtag2"]},{"1377685757":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685762, 1377685759, 1377685761, 1377685752, 1377685754, 1377685757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.938573122024536 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:26:17.281626
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/26/image_17082025_19_26_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/19/26/image_17082025_19_26_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/19/26/image_17082025_19_26_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/19/26/image_17082025_19_26_14_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/19/25/image_17082025_19_26_04_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/19/25/image_17082025_19_25_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/26/image_17082025_19_26_44_10648.jpg', '/home/nano/Desktop/images/17082025/19/26/image_17082025_19_26_34_9639.jpg', '/home/nano/Desktop/images/17082025/19/26/image_17082025_19_26_24_9638.jpg', '/home/nano/Desktop/images/17082025/19/26/image_17082025_19_26_14_10663.jpg', '/home/nano/Desktop/images/17082025/19/25/image_17082025_19_26_04_9637.jpg', '/home/nano/Desktop/images/17082025/19/25/image_17082025_19_25_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/26/image_17082025_19_26_44_10648.jpg
/home/nano/Desktop/images/17082025/19/26/image_17082025_19_26_34_9639.jpg
/home/nano/Desktop/images/17082025/19/26/image_17082025_19_26_24_9638.jpg
/home/nano/Desktop/images/17082025/19/26/image_17082025_19_26_14_10663.jpg
/home/nano/Desktop/images/17082025/19/25/image_17082025_19_26_04_9637.jpg
/home/nano/Desktop/images/17082025/19/25/image_17082025_19_25_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685771","1377685773","1377685770","1377685778","1377685772","1377685775"],"photo_ids_order":["1377685770","1377685771","1377685772","1377685773","1377685775","1377685778"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/97c31f8dea816fff15b061d17b796cf3.jpg","text":"TemporaryFile(/tmp/multipartBody59015134488760243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451639630,"filename":"image_17082025_19_26_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9dd736dd33437a82c84b0a9fcd4f3503.jpg","text":"TemporaryFile(/tmp/multipartBody1358359913547400167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451639630,"filename":"image_17082025_19_26_14_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a7479fb6f560b2a6d93f74d1e385f76e.jpg","text":"TemporaryFile(/tmp/multipartBody3002448851661674043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451639630,"filename":"image_17082025_19_26_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/080ff2080dd4254cc5f1091bddaab7ac.jpg","text":"TemporaryFile(/tmp/multipartBody1324571262899223235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451639630,"filename":"image_17082025_19_25_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/caea92616e70440d9f484535e0603906.jpg","text":"TemporaryFile(/tmp/multipartBody2682947248511102926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451639630,"filename":"image_17082025_19_26_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0f3f9c97aa6222a3c00c1457a606b2fb.jpg","text":"TemporaryFile(/tmp/multipartBody8255994886447485923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451639630,"filename":"image_17082025_19_26_04_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685772","file1":"1377685771","file0":"1377685770","file4":"1377685775","file5":"1377685778","file3":"1377685773"},"map_files_photo_id_array":[{"photo_id":"1377685778","filename":"file5"},{"photo_id":"1377685772","filename":"file2"},{"photo_id":"1377685775","filename":"file4"},{"photo_id":"1377685771","filename":"file1"},{"photo_id":"1377685770","filename":"file0"},{"photo_id":"1377685773","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685771":["hashtag1","hashtag2"]},{"1377685773":["hashtag1","hashtag2"]},{"1377685770":["hashtag1","hashtag2"]},{"1377685778":["hashtag1","hashtag2"]},{"1377685772":["hashtag1","hashtag2"]},{"1377685775":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685771, 1377685773, 1377685770, 1377685778, 1377685772, 1377685775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98046350479126 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:27:03.184563
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/02/image_17082025_14_02_14_9689.jpg', 2), ('/home/nano/Desktop/images/17082025/14/01/image_17082025_14_02_04_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/14/01/image_17082025_14_01_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/14/01/image_17082025_14_01_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/14/01/image_17082025_14_01_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/01/image_17082025_14_01_24_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/02/image_17082025_14_02_14_9689.jpg', '/home/nano/Desktop/images/17082025/14/01/image_17082025_14_02_04_9660.jpg', '/home/nano/Desktop/images/17082025/14/01/image_17082025_14_01_54_10649.jpg', '/home/nano/Desktop/images/17082025/14/01/image_17082025_14_01_44_9637.jpg', '/home/nano/Desktop/images/17082025/14/01/image_17082025_14_01_34_9638.jpg', '/home/nano/Desktop/images/17082025/14/01/image_17082025_14_01_24_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/02/image_17082025_14_02_14_9689.jpg
/home/nano/Desktop/images/17082025/14/01/image_17082025_14_02_04_9660.jpg
/home/nano/Desktop/images/17082025/14/01/image_17082025_14_01_54_10649.jpg
/home/nano/Desktop/images/17082025/14/01/image_17082025_14_01_44_9637.jpg
/home/nano/Desktop/images/17082025/14/01/image_17082025_14_01_34_9638.jpg
/home/nano/Desktop/images/17082025/14/01/image_17082025_14_01_24_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685798","1377685788","1377685797","1377685800","1377685799","1377685790"],"photo_ids_order":["1377685788","1377685790","1377685797","1377685798","1377685799","1377685800"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ad5fecaea5ebd54aeb91fa8f500df310.jpg","text":"TemporaryFile(/tmp/multipartBody4785967354351280258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451685574,"filename":"image_17082025_14_01_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4e36293a3484c3aef0a01e81a24d3990.jpg","text":"TemporaryFile(/tmp/multipartBody6550028504830498631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451685574,"filename":"image_17082025_14_02_14_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/12844244dd015d13e511cf6253469e53.jpg","text":"TemporaryFile(/tmp/multipartBody3798189748366060268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451685574,"filename":"image_17082025_14_01_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/96ba78c5d862c6c3daf37ed514bb3ad3.jpg","text":"TemporaryFile(/tmp/multipartBody996442081990136562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451685574,"filename":"image_17082025_14_01_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e27cda48d8d2533de405a22bce249a99.jpg","text":"TemporaryFile(/tmp/multipartBody6002109227979309169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451685574,"filename":"image_17082025_14_01_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fa482aeda02b292eba3de90ae2e350ac.jpg","text":"TemporaryFile(/tmp/multipartBody4082844682441062554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451685574,"filename":"image_17082025_14_02_04_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685797","file1":"1377685790","file0":"1377685788","file4":"1377685799","file5":"1377685800","file3":"1377685798"},"map_files_photo_id_array":[{"photo_id":"1377685800","filename":"file5"},{"photo_id":"1377685797","filename":"file2"},{"photo_id":"1377685799","filename":"file4"},{"photo_id":"1377685790","filename":"file1"},{"photo_id":"1377685788","filename":"file0"},{"photo_id":"1377685798","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685798":["hashtag1","hashtag2"]},{"1377685788":["hashtag1","hashtag2"]},{"1377685797":["hashtag1","hashtag2"]},{"1377685800":["hashtag1","hashtag2"]},{"1377685799":["hashtag1","hashtag2"]},{"1377685790":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685798, 1377685788, 1377685797, 1377685800, 1377685799, 1377685790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17550706863403 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:27:47.369222
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/27/image_17082025_19_27_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/19/27/image_17082025_19_27_34_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/19/27/image_17082025_19_27_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/19/27/image_17082025_19_27_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/19/26/image_17082025_19_27_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/19/26/image_17082025_19_26_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/27/image_17082025_19_27_44_10648.jpg', '/home/nano/Desktop/images/17082025/19/27/image_17082025_19_27_34_9655.jpg', '/home/nano/Desktop/images/17082025/19/27/image_17082025_19_27_24_9656.jpg', '/home/nano/Desktop/images/17082025/19/27/image_17082025_19_27_14_10664.jpg', '/home/nano/Desktop/images/17082025/19/26/image_17082025_19_27_04_9645.jpg', '/home/nano/Desktop/images/17082025/19/26/image_17082025_19_26_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/27/image_17082025_19_27_44_10648.jpg
/home/nano/Desktop/images/17082025/19/27/image_17082025_19_27_34_9655.jpg
/home/nano/Desktop/images/17082025/19/27/image_17082025_19_27_24_9656.jpg
/home/nano/Desktop/images/17082025/19/27/image_17082025_19_27_14_10664.jpg
/home/nano/Desktop/images/17082025/19/26/image_17082025_19_27_04_9645.jpg
/home/nano/Desktop/images/17082025/19/26/image_17082025_19_26_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685816","1377685804","1377685806","1377685809","1377685820","1377685802"],"photo_ids_order":["1377685802","1377685804","1377685806","1377685809","1377685816","1377685820"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b13a6cb7931fc0cdf2ca1d7bb28290da.jpg","text":"TemporaryFile(/tmp/multipartBody8529146212215957697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451729311,"filename":"image_17082025_19_27_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a0b374e2c6ed5bc037180518a8e3425c.jpg","text":"TemporaryFile(/tmp/multipartBody7529122584370117289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451729311,"filename":"image_17082025_19_27_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1248eba365592949c878d74e1a03a9b1.jpg","text":"TemporaryFile(/tmp/multipartBody9112110302908315099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451729311,"filename":"image_17082025_19_27_24_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/56ce8bf0e88ea2b8f76813823f247899.jpg","text":"TemporaryFile(/tmp/multipartBody8509071622809746781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451729311,"filename":"image_17082025_19_27_14_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cca73e661f35d6048490de279f664844.jpg","text":"TemporaryFile(/tmp/multipartBody3994689542903487295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451729311,"filename":"image_17082025_19_26_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f0831c2f8671ac77ed7db158b9fe1002.jpg","text":"TemporaryFile(/tmp/multipartBody2250638105322457292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451729311,"filename":"image_17082025_19_27_44_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685806","file1":"1377685804","file0":"1377685802","file4":"1377685816","file5":"1377685820","file3":"1377685809"},"map_files_photo_id_array":[{"photo_id":"1377685820","filename":"file5"},{"photo_id":"1377685806","filename":"file2"},{"photo_id":"1377685816","filename":"file4"},{"photo_id":"1377685804","filename":"file1"},{"photo_id":"1377685802","filename":"file0"},{"photo_id":"1377685809","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685816":["hashtag1","hashtag2"]},{"1377685804":["hashtag1","hashtag2"]},{"1377685806":["hashtag1","hashtag2"]},{"1377685809":["hashtag1","hashtag2"]},{"1377685820":["hashtag1","hashtag2"]},{"1377685802":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685816, 1377685804, 1377685806, 1377685809, 1377685820, 1377685802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09610867500305 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:28:32.489464
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/28/image_17082025_19_28_44_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/19/28/image_17082025_19_28_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/19/28/image_17082025_19_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/19/28/image_17082025_19_28_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/19/27/image_17082025_19_28_05_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/19/27/image_17082025_19_27_54_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/28/image_17082025_19_28_44_9654.jpg', '/home/nano/Desktop/images/17082025/19/28/image_17082025_19_28_34_10648.jpg', '/home/nano/Desktop/images/17082025/19/28/image_17082025_19_28_24_9637.jpg', '/home/nano/Desktop/images/17082025/19/28/image_17082025_19_28_14_9655.jpg', '/home/nano/Desktop/images/17082025/19/27/image_17082025_19_28_05_10652.jpg', '/home/nano/Desktop/images/17082025/19/27/image_17082025_19_27_54_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/28/image_17082025_19_28_44_9654.jpg
/home/nano/Desktop/images/17082025/19/28/image_17082025_19_28_34_10648.jpg
/home/nano/Desktop/images/17082025/19/28/image_17082025_19_28_24_9637.jpg
/home/nano/Desktop/images/17082025/19/28/image_17082025_19_28_14_9655.jpg
/home/nano/Desktop/images/17082025/19/27/image_17082025_19_28_05_10652.jpg
/home/nano/Desktop/images/17082025/19/27/image_17082025_19_27_54_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685826","1377685825","1377685828","1377685824","1377685827","1377685829"],"photo_ids_order":["1377685824","1377685825","1377685826","1377685827","1377685828","1377685829"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/65a05e74c47a61873b52a03c8ef2151d.jpg","text":"TemporaryFile(/tmp/multipartBody1174409062425432363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451774383,"filename":"image_17082025_19_28_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/54506b859c29bcd2b6b18e0d1c96402c.jpg","text":"TemporaryFile(/tmp/multipartBody2497638977474839470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451774383,"filename":"image_17082025_19_28_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/49e8413d6b71f4ea450aee9a255f1658.jpg","text":"TemporaryFile(/tmp/multipartBody8915014639001452804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451774383,"filename":"image_17082025_19_28_05_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/98359c49afde4eb38eb348683f58c3ec.jpg","text":"TemporaryFile(/tmp/multipartBody4028846116432563840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451774383,"filename":"image_17082025_19_28_44_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7bd864a3bb1777ad80d365c20ef4e32f.jpg","text":"TemporaryFile(/tmp/multipartBody4731024900879478290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451774383,"filename":"image_17082025_19_28_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a9dc5ae649c934816cc215b346948c7d.jpg","text":"TemporaryFile(/tmp/multipartBody6059487717813547227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451774383,"filename":"image_17082025_19_27_54_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685826","file1":"1377685825","file0":"1377685824","file4":"1377685828","file5":"1377685829","file3":"1377685827"},"map_files_photo_id_array":[{"photo_id":"1377685829","filename":"file5"},{"photo_id":"1377685826","filename":"file2"},{"photo_id":"1377685828","filename":"file4"},{"photo_id":"1377685825","filename":"file1"},{"photo_id":"1377685824","filename":"file0"},{"photo_id":"1377685827","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685826":["hashtag1","hashtag2"]},{"1377685825":["hashtag1","hashtag2"]},{"1377685828":["hashtag1","hashtag2"]},{"1377685824":["hashtag1","hashtag2"]},{"1377685827":["hashtag1","hashtag2"]},{"1377685829":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685826, 1377685825, 1377685828, 1377685824, 1377685827, 1377685829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39724040031433 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:29:17.604819
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/29/image_17082025_19_29_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/19/29/image_17082025_19_29_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/19/28/image_17082025_19_29_04_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/19/28/image_17082025_19_28_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/14/01/image_17082025_14_01_14_9679.jpg', 2), ('/home/nano/Desktop/images/17082025/14/00/image_17082025_14_01_04_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/29/image_17082025_19_29_34_10649.jpg', '/home/nano/Desktop/images/17082025/19/29/image_17082025_19_29_24_9641.jpg', '/home/nano/Desktop/images/17082025/19/28/image_17082025_19_29_04_10669.jpg', '/home/nano/Desktop/images/17082025/19/28/image_17082025_19_28_54_9640.jpg', '/home/nano/Desktop/images/17082025/14/01/image_17082025_14_01_14_9679.jpg', '/home/nano/Desktop/images/17082025/14/00/image_17082025_14_01_04_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/29/image_17082025_19_29_34_10649.jpg
/home/nano/Desktop/images/17082025/19/29/image_17082025_19_29_24_9641.jpg
/home/nano/Desktop/images/17082025/19/28/image_17082025_19_29_04_10669.jpg
/home/nano/Desktop/images/17082025/19/28/image_17082025_19_28_54_9640.jpg
/home/nano/Desktop/images/17082025/14/01/image_17082025_14_01_14_9679.jpg
/home/nano/Desktop/images/17082025/14/00/image_17082025_14_01_04_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685843","1377685840","1377685851","1377685850","1377685853","1377685847"],"photo_ids_order":["1377685840","1377685843","1377685847","1377685850","1377685851","1377685853"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/48716d91fd9fc1c9cd4b4b827b0f4bb4.jpg","text":"TemporaryFile(/tmp/multipartBody5899270288085310779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451819301,"filename":"image_17082025_19_29_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/929c57c32605ad2486e92442de4d881e.jpg","text":"TemporaryFile(/tmp/multipartBody5155321965810291755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451819301,"filename":"image_17082025_19_29_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ed361798cda701ab54895a17c38a5622.jpg","text":"TemporaryFile(/tmp/multipartBody4178570847735004767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451819301,"filename":"image_17082025_14_01_14_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/252e15998a3bbe09c8d229db494a518b.jpg","text":"TemporaryFile(/tmp/multipartBody8532180448973985457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451819301,"filename":"image_17082025_19_28_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/52ca0053f622ca8a5dc59b806d6fbd3f.jpg","text":"TemporaryFile(/tmp/multipartBody3180765248398125405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451819301,"filename":"image_17082025_14_01_04_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/40d7fad13692f0dbce969e02e1085a85.jpg","text":"TemporaryFile(/tmp/multipartBody6442992338043701949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451819301,"filename":"image_17082025_19_29_04_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685847","file1":"1377685843","file0":"1377685840","file4":"1377685851","file5":"1377685853","file3":"1377685850"},"map_files_photo_id_array":[{"photo_id":"1377685853","filename":"file5"},{"photo_id":"1377685847","filename":"file2"},{"photo_id":"1377685851","filename":"file4"},{"photo_id":"1377685843","filename":"file1"},{"photo_id":"1377685840","filename":"file0"},{"photo_id":"1377685850","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685843":["hashtag1","hashtag2"]},{"1377685840":["hashtag1","hashtag2"]},{"1377685851":["hashtag1","hashtag2"]},{"1377685850":["hashtag1","hashtag2"]},{"1377685853":["hashtag1","hashtag2"]},{"1377685847":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685843, 1377685840, 1377685851, 1377685850, 1377685853, 1377685847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.548454999923706 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:30:03.219246
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/14/00/image_17082025_14_00_55_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/14/00/image_17082025_14_00_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/14/00/image_17082025_14_00_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/14/00/image_17082025_14_00_24_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/14/00/image_17082025_14_00_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/13/59/image_17082025_14_00_04_10661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/14/00/image_17082025_14_00_55_10648.jpg', '/home/nano/Desktop/images/17082025/14/00/image_17082025_14_00_44_9638.jpg', '/home/nano/Desktop/images/17082025/14/00/image_17082025_14_00_34_10647.jpg', '/home/nano/Desktop/images/17082025/14/00/image_17082025_14_00_24_9653.jpg', '/home/nano/Desktop/images/17082025/14/00/image_17082025_14_00_14_9655.jpg', '/home/nano/Desktop/images/17082025/13/59/image_17082025_14_00_04_10661.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/14/00/image_17082025_14_00_55_10648.jpg
/home/nano/Desktop/images/17082025/14/00/image_17082025_14_00_44_9638.jpg
/home/nano/Desktop/images/17082025/14/00/image_17082025_14_00_34_10647.jpg
/home/nano/Desktop/images/17082025/14/00/image_17082025_14_00_24_9653.jpg
/home/nano/Desktop/images/17082025/14/00/image_17082025_14_00_14_9655.jpg
/home/nano/Desktop/images/17082025/13/59/image_17082025_14_00_04_10661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685870","1377685864","1377685872","1377685874","1377685868","1377685856"],"photo_ids_order":["1377685856","1377685864","1377685868","1377685870","1377685872","1377685874"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/43459f12314049488a3786033dad081c.jpg","text":"TemporaryFile(/tmp/multipartBody5315105372000451305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451865082,"filename":"image_17082025_14_00_24_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/13ff1596e000ac5ae27973f32c45f5fc.jpg","text":"TemporaryFile(/tmp/multipartBody3559409719365070156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451865082,"filename":"image_17082025_14_00_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c67e21e77adc048951940b68d97afe3a.jpg","text":"TemporaryFile(/tmp/multipartBody5023620859032981504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451865082,"filename":"image_17082025_14_00_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dc4437cb9b9b2bede4629d4501373e39.jpg","text":"TemporaryFile(/tmp/multipartBody6440441651461973088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451865082,"filename":"image_17082025_14_00_04_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ab88d286ba43d20b07b7754602af018f.jpg","text":"TemporaryFile(/tmp/multipartBody173481000276937176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451865082,"filename":"image_17082025_14_00_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/03a22d26ed7457af948ef3d7fbf440ec.jpg","text":"TemporaryFile(/tmp/multipartBody7774453630100499768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451865082,"filename":"image_17082025_14_00_55_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685868","file1":"1377685864","file0":"1377685856","file4":"1377685872","file5":"1377685874","file3":"1377685870"},"map_files_photo_id_array":[{"photo_id":"1377685874","filename":"file5"},{"photo_id":"1377685868","filename":"file2"},{"photo_id":"1377685872","filename":"file4"},{"photo_id":"1377685864","filename":"file1"},{"photo_id":"1377685856","filename":"file0"},{"photo_id":"1377685870","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685870":["hashtag1","hashtag2"]},{"1377685864":["hashtag1","hashtag2"]},{"1377685872":["hashtag1","hashtag2"]},{"1377685874":["hashtag1","hashtag2"]},{"1377685868":["hashtag1","hashtag2"]},{"1377685856":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685870, 1377685864, 1377685872, 1377685874, 1377685868, 1377685856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31055045127869 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:30:47.668246
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/30/image_17082025_19_30_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/19/30/image_17082025_19_30_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/19/29/image_17082025_19_30_04_10677.jpg', 2), ('/home/nano/Desktop/images/17082025/19/29/image_17082025_19_29_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/13/59/image_17082025_13_59_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/59/image_17082025_13_59_44_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/30/image_17082025_19_30_24_9641.jpg', '/home/nano/Desktop/images/17082025/19/30/image_17082025_19_30_14_9659.jpg', '/home/nano/Desktop/images/17082025/19/29/image_17082025_19_30_04_10677.jpg', '/home/nano/Desktop/images/17082025/19/29/image_17082025_19_29_54_9640.jpg', '/home/nano/Desktop/images/17082025/13/59/image_17082025_13_59_54_9638.jpg', '/home/nano/Desktop/images/17082025/13/59/image_17082025_13_59_44_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/30/image_17082025_19_30_24_9641.jpg
/home/nano/Desktop/images/17082025/19/30/image_17082025_19_30_14_9659.jpg
/home/nano/Desktop/images/17082025/19/29/image_17082025_19_30_04_10677.jpg
/home/nano/Desktop/images/17082025/19/29/image_17082025_19_29_54_9640.jpg
/home/nano/Desktop/images/17082025/13/59/image_17082025_13_59_54_9638.jpg
/home/nano/Desktop/images/17082025/13/59/image_17082025_13_59_44_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685885","1377685884","1377685893","1377685881","1377685883","1377685886"],"photo_ids_order":["1377685881","1377685883","1377685884","1377685885","1377685886","1377685893"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7f720fb7b78360adea08d01c1af299e2.jpg","text":"TemporaryFile(/tmp/multipartBody4062895430192845731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451909611,"filename":"image_17082025_19_29_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1c0d91a89ad35857131890411d2a1098.jpg","text":"TemporaryFile(/tmp/multipartBody6813540930898670812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451909611,"filename":"image_17082025_19_30_04_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/20fa234845594d0732156daf3d6a0e7a.jpg","text":"TemporaryFile(/tmp/multipartBody5213195734913927822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451909611,"filename":"image_17082025_13_59_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/16b7251def13a0cf27bf00a4b58aeff3.jpg","text":"TemporaryFile(/tmp/multipartBody3913030974872683808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451909611,"filename":"image_17082025_19_30_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/61bfb74a173e680a506ad74d31525ec7.jpg","text":"TemporaryFile(/tmp/multipartBody5825576393164238937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451909611,"filename":"image_17082025_19_30_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/075ab7ae533fcbf7e484908ff953973b.jpg","text":"TemporaryFile(/tmp/multipartBody7730098722255926123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451909611,"filename":"image_17082025_13_59_54_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685884","file1":"1377685883","file0":"1377685881","file4":"1377685886","file5":"1377685893","file3":"1377685885"},"map_files_photo_id_array":[{"photo_id":"1377685893","filename":"file5"},{"photo_id":"1377685884","filename":"file2"},{"photo_id":"1377685886","filename":"file4"},{"photo_id":"1377685883","filename":"file1"},{"photo_id":"1377685881","filename":"file0"},{"photo_id":"1377685885","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685885":["hashtag1","hashtag2"]},{"1377685884":["hashtag1","hashtag2"]},{"1377685893":["hashtag1","hashtag2"]},{"1377685881":["hashtag1","hashtag2"]},{"1377685883":["hashtag1","hashtag2"]},{"1377685886":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685885, 1377685884, 1377685893, 1377685881, 1377685883, 1377685886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35899806022644 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:31:31.778346
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/31/image_17082025_19_31_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/19/31/image_17082025_19_31_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/31/image_17082025_19_31_25_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/19/31/image_17082025_19_31_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/19/30/image_17082025_19_30_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/59/image_17082025_13_59_34_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/31/image_17082025_19_31_44_9639.jpg', '/home/nano/Desktop/images/17082025/19/31/image_17082025_19_31_34_9640.jpg', '/home/nano/Desktop/images/17082025/19/31/image_17082025_19_31_25_10649.jpg', '/home/nano/Desktop/images/17082025/19/31/image_17082025_19_31_14_9656.jpg', '/home/nano/Desktop/images/17082025/19/30/image_17082025_19_30_44_9639.jpg', '/home/nano/Desktop/images/17082025/13/59/image_17082025_13_59_34_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/31/image_17082025_19_31_44_9639.jpg
/home/nano/Desktop/images/17082025/19/31/image_17082025_19_31_34_9640.jpg
/home/nano/Desktop/images/17082025/19/31/image_17082025_19_31_25_10649.jpg
/home/nano/Desktop/images/17082025/19/31/image_17082025_19_31_14_9656.jpg
/home/nano/Desktop/images/17082025/19/30/image_17082025_19_30_44_9639.jpg
/home/nano/Desktop/images/17082025/13/59/image_17082025_13_59_34_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685907","1377685906","1377685900","1377685903","1377685896","1377685898"],"photo_ids_order":["1377685896","1377685898","1377685900","1377685903","1377685906","1377685907"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2fbe17a20e207498a655c2bd570673bf.jpg","text":"TemporaryFile(/tmp/multipartBody6004860006796634033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451953660,"filename":"image_17082025_13_59_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/99be9b5e3bf54f27b903d1506db7dfce.jpg","text":"TemporaryFile(/tmp/multipartBody4106051982184700482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451953660,"filename":"image_17082025_19_30_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cbc7c66046f6afeae72c832b5dd6f20f.jpg","text":"TemporaryFile(/tmp/multipartBody8215438603373876816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451953660,"filename":"image_17082025_19_31_25_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/57eda4ebd2b2b11b530a6a91bfaff1f0.jpg","text":"TemporaryFile(/tmp/multipartBody2055193856335946029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451953660,"filename":"image_17082025_19_31_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/737ab89c5b027928f67dc4fef6a12209.jpg","text":"TemporaryFile(/tmp/multipartBody471518221990342699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451953660,"filename":"image_17082025_19_31_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3d85c1b9c1af5f40287bef65a007048a.jpg","text":"TemporaryFile(/tmp/multipartBody452539822410739814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451953660,"filename":"image_17082025_19_31_34_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685900","file1":"1377685898","file0":"1377685896","file4":"1377685906","file5":"1377685907","file3":"1377685903"},"map_files_photo_id_array":[{"photo_id":"1377685907","filename":"file5"},{"photo_id":"1377685900","filename":"file2"},{"photo_id":"1377685906","filename":"file4"},{"photo_id":"1377685898","filename":"file1"},{"photo_id":"1377685896","filename":"file0"},{"photo_id":"1377685903","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685907":["hashtag1","hashtag2"]},{"1377685906":["hashtag1","hashtag2"]},{"1377685900":["hashtag1","hashtag2"]},{"1377685903":["hashtag1","hashtag2"]},{"1377685896":["hashtag1","hashtag2"]},{"1377685898":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685907, 1377685906, 1377685900, 1377685903, 1377685896, 1377685898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42633771896362 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:32:16.918026
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/32/image_17082025_19_32_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/19/32/image_17082025_19_32_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/19/32/image_17082025_19_32_24_10659.jpg', 2), ('/home/nano/Desktop/images/17082025/19/32/image_17082025_19_32_14_9665.jpg', 2), ('/home/nano/Desktop/images/17082025/19/31/image_17082025_19_32_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/19/31/image_17082025_19_31_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/32/image_17082025_19_32_44_9642.jpg', '/home/nano/Desktop/images/17082025/19/32/image_17082025_19_32_34_9642.jpg', '/home/nano/Desktop/images/17082025/19/32/image_17082025_19_32_24_10659.jpg', '/home/nano/Desktop/images/17082025/19/32/image_17082025_19_32_14_9665.jpg', '/home/nano/Desktop/images/17082025/19/31/image_17082025_19_32_04_9661.jpg', '/home/nano/Desktop/images/17082025/19/31/image_17082025_19_31_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/32/image_17082025_19_32_44_9642.jpg
/home/nano/Desktop/images/17082025/19/32/image_17082025_19_32_34_9642.jpg
/home/nano/Desktop/images/17082025/19/32/image_17082025_19_32_24_10659.jpg
/home/nano/Desktop/images/17082025/19/32/image_17082025_19_32_14_9665.jpg
/home/nano/Desktop/images/17082025/19/31/image_17082025_19_32_04_9661.jpg
/home/nano/Desktop/images/17082025/19/31/image_17082025_19_31_54_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685919","1377685921","1377685923","1377685917","1377685914","1377685916"],"photo_ids_order":["1377685914","1377685916","1377685917","1377685919","1377685921","1377685923"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d6778239b70a0f37aa674d5dc9abff39.jpg","text":"TemporaryFile(/tmp/multipartBody6222763267859539266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451999135,"filename":"image_17082025_19_32_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e84109426d3b7ce7de9d67bb83494b94.jpg","text":"TemporaryFile(/tmp/multipartBody3990716969941904980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451999135,"filename":"image_17082025_19_32_04_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/816818f6def34ad3bc22a4611d2aac7d.jpg","text":"TemporaryFile(/tmp/multipartBody2751205153540018371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451999135,"filename":"image_17082025_19_31_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ba2a74b4622c336de19f78e72dc80707.jpg","text":"TemporaryFile(/tmp/multipartBody9176624154504511052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451999135,"filename":"image_17082025_19_32_24_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a46252e27de3de9a7b283812c3504c4c.jpg","text":"TemporaryFile(/tmp/multipartBody8471907921308913503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451999135,"filename":"image_17082025_19_32_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/345da606c77bc9f335258e40feae115d.jpg","text":"TemporaryFile(/tmp/multipartBody2471069591201781956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755451999135,"filename":"image_17082025_19_32_34_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685917","file1":"1377685916","file0":"1377685914","file4":"1377685921","file5":"1377685923","file3":"1377685919"},"map_files_photo_id_array":[{"photo_id":"1377685923","filename":"file5"},{"photo_id":"1377685917","filename":"file2"},{"photo_id":"1377685921","filename":"file4"},{"photo_id":"1377685916","filename":"file1"},{"photo_id":"1377685914","filename":"file0"},{"photo_id":"1377685919","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685919":["hashtag1","hashtag2"]},{"1377685921":["hashtag1","hashtag2"]},{"1377685923":["hashtag1","hashtag2"]},{"1377685917":["hashtag1","hashtag2"]},{"1377685914":["hashtag1","hashtag2"]},{"1377685916":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685919, 1377685921, 1377685923, 1377685917, 1377685914, 1377685916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69980311393738 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:33:02.633246
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/33/image_17082025_19_33_24_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/13/59/image_17082025_13_59_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/59/image_17082025_13_59_14_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/13/58/image_17082025_13_59_04_10683.jpg', 2), ('/home/nano/Desktop/images/17082025/13/58/image_17082025_13_58_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/58/image_17082025_13_58_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/33/image_17082025_19_33_24_10652.jpg', '/home/nano/Desktop/images/17082025/13/59/image_17082025_13_59_24_9637.jpg', '/home/nano/Desktop/images/17082025/13/59/image_17082025_13_59_14_9650.jpg', '/home/nano/Desktop/images/17082025/13/58/image_17082025_13_59_04_10683.jpg', '/home/nano/Desktop/images/17082025/13/58/image_17082025_13_58_54_9639.jpg', '/home/nano/Desktop/images/17082025/13/58/image_17082025_13_58_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/33/image_17082025_19_33_24_10652.jpg
/home/nano/Desktop/images/17082025/13/59/image_17082025_13_59_24_9637.jpg
/home/nano/Desktop/images/17082025/13/59/image_17082025_13_59_14_9650.jpg
/home/nano/Desktop/images/17082025/13/58/image_17082025_13_59_04_10683.jpg
/home/nano/Desktop/images/17082025/13/58/image_17082025_13_58_54_9639.jpg
/home/nano/Desktop/images/17082025/13/58/image_17082025_13_58_44_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685939","1377685927","1377685935","1377685926","1377685934","1377685937"],"photo_ids_order":["1377685926","1377685927","1377685934","1377685935","1377685937","1377685939"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b9477ac8e7540de7f451f7581fe60e8c.jpg","text":"TemporaryFile(/tmp/multipartBody8889505538715081049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452044683,"filename":"image_17082025_13_58_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4fcff409041265361ba949a005dafeea.jpg","text":"TemporaryFile(/tmp/multipartBody8050365307770825300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452044683,"filename":"image_17082025_13_59_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/59a16c6d346aaeb2c39e10f7dda375d2.jpg","text":"TemporaryFile(/tmp/multipartBody1853335046058291885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452044683,"filename":"image_17082025_13_59_04_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/01001366ca6c0f472a5e78e5d15ea429.jpg","text":"TemporaryFile(/tmp/multipartBody2465750291831974037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452044683,"filename":"image_17082025_19_33_24_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/274be4337ead396f685336752cb4698b.jpg","text":"TemporaryFile(/tmp/multipartBody779863582372459217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452044683,"filename":"image_17082025_13_59_14_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ef9016ff0e4cb0b64cae4ab4cecdb9ff.jpg","text":"TemporaryFile(/tmp/multipartBody1854365586420323228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452044683,"filename":"image_17082025_13_58_54_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685934","file1":"1377685927","file0":"1377685926","file4":"1377685937","file5":"1377685939","file3":"1377685935"},"map_files_photo_id_array":[{"photo_id":"1377685939","filename":"file5"},{"photo_id":"1377685934","filename":"file2"},{"photo_id":"1377685937","filename":"file4"},{"photo_id":"1377685927","filename":"file1"},{"photo_id":"1377685926","filename":"file0"},{"photo_id":"1377685935","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685939":["hashtag1","hashtag2"]},{"1377685927":["hashtag1","hashtag2"]},{"1377685935":["hashtag1","hashtag2"]},{"1377685926":["hashtag1","hashtag2"]},{"1377685934":["hashtag1","hashtag2"]},{"1377685937":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685939, 1377685927, 1377685935, 1377685926, 1377685934, 1377685937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72485637664795 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:33:46.987593
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/33/image_17082025_19_33_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/19/33/image_17082025_19_33_14_9665.jpg', 2), ('/home/nano/Desktop/images/17082025/19/32/image_17082025_19_33_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/19/32/image_17082025_19_32_54_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/13/58/image_17082025_13_58_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/13/58/image_17082025_13_58_24_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/33/image_17082025_19_33_34_9639.jpg', '/home/nano/Desktop/images/17082025/19/33/image_17082025_19_33_14_9665.jpg', '/home/nano/Desktop/images/17082025/19/32/image_17082025_19_33_04_9648.jpg', '/home/nano/Desktop/images/17082025/19/32/image_17082025_19_32_54_10651.jpg', '/home/nano/Desktop/images/17082025/13/58/image_17082025_13_58_34_10649.jpg', '/home/nano/Desktop/images/17082025/13/58/image_17082025_13_58_24_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/33/image_17082025_19_33_34_9639.jpg
/home/nano/Desktop/images/17082025/19/33/image_17082025_19_33_14_9665.jpg
/home/nano/Desktop/images/17082025/19/32/image_17082025_19_33_04_9648.jpg
/home/nano/Desktop/images/17082025/19/32/image_17082025_19_32_54_10651.jpg
/home/nano/Desktop/images/17082025/13/58/image_17082025_13_58_34_10649.jpg
/home/nano/Desktop/images/17082025/13/58/image_17082025_13_58_24_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685960","1377685951","1377685950","1377685952","1377685946","1377685949"],"photo_ids_order":["1377685946","1377685949","1377685950","1377685951","1377685952","1377685960"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4bc634bc66b6d26a6e7d3f82c0db21e3.jpg","text":"TemporaryFile(/tmp/multipartBody4001832830046368057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452088781,"filename":"image_17082025_13_58_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/26687bffd468151b9f49a9c9071a25b9.jpg","text":"TemporaryFile(/tmp/multipartBody4566061910146201774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452088781,"filename":"image_17082025_19_32_54_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a601740c8794874699afbb6e395917c0.jpg","text":"TemporaryFile(/tmp/multipartBody4761329398999973307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452088781,"filename":"image_17082025_19_33_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/272af6bab2596bc7b0a7f6623b70298d.jpg","text":"TemporaryFile(/tmp/multipartBody5070376638150700406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452088781,"filename":"image_17082025_13_58_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a078ec88e2c6ba5894f6572b5900a2a2.jpg","text":"TemporaryFile(/tmp/multipartBody6663797653373699159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452088781,"filename":"image_17082025_19_33_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/736602b91ad0b348f4ebbc18b4981700.jpg","text":"TemporaryFile(/tmp/multipartBody2517759077509778625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452088781,"filename":"image_17082025_19_33_14_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685950","file1":"1377685949","file0":"1377685946","file4":"1377685952","file5":"1377685960","file3":"1377685951"},"map_files_photo_id_array":[{"photo_id":"1377685960","filename":"file5"},{"photo_id":"1377685950","filename":"file2"},{"photo_id":"1377685952","filename":"file4"},{"photo_id":"1377685949","filename":"file1"},{"photo_id":"1377685946","filename":"file0"},{"photo_id":"1377685951","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685960":["hashtag1","hashtag2"]},{"1377685951":["hashtag1","hashtag2"]},{"1377685950":["hashtag1","hashtag2"]},{"1377685952":["hashtag1","hashtag2"]},{"1377685946":["hashtag1","hashtag2"]},{"1377685949":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685960, 1377685951, 1377685950, 1377685952, 1377685946, 1377685949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38631987571716 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:34:32.086821
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/34/image_17082025_19_34_45_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/19/34/image_17082025_19_34_34_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/19/34/image_17082025_19_34_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/19/34/image_17082025_19_34_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/19/33/image_17082025_19_34_04_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/19/33/image_17082025_19_33_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/34/image_17082025_19_34_45_10646.jpg', '/home/nano/Desktop/images/17082025/19/34/image_17082025_19_34_34_9655.jpg', '/home/nano/Desktop/images/17082025/19/34/image_17082025_19_34_24_10650.jpg', '/home/nano/Desktop/images/17082025/19/34/image_17082025_19_34_14_9654.jpg', '/home/nano/Desktop/images/17082025/19/33/image_17082025_19_34_04_9659.jpg', '/home/nano/Desktop/images/17082025/19/33/image_17082025_19_33_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/34/image_17082025_19_34_45_10646.jpg
/home/nano/Desktop/images/17082025/19/34/image_17082025_19_34_34_9655.jpg
/home/nano/Desktop/images/17082025/19/34/image_17082025_19_34_24_10650.jpg
/home/nano/Desktop/images/17082025/19/34/image_17082025_19_34_14_9654.jpg
/home/nano/Desktop/images/17082025/19/33/image_17082025_19_34_04_9659.jpg
/home/nano/Desktop/images/17082025/19/33/image_17082025_19_33_44_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685972","1377685974","1377685968","1377685976","1377685970","1377685967"],"photo_ids_order":["1377685967","1377685968","1377685970","1377685972","1377685974","1377685976"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/db678d6995a2c41e12fb287d5596bef2.jpg","text":"TemporaryFile(/tmp/multipartBody2872108171798686324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452133729,"filename":"image_17082025_19_34_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8e12e41b662029ec6881c780fd107f0a.jpg","text":"TemporaryFile(/tmp/multipartBody684911413830706194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452133729,"filename":"image_17082025_19_34_04_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/31969926a8ee73023ff3b8de50a03d6d.jpg","text":"TemporaryFile(/tmp/multipartBody2475226399132606915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452133729,"filename":"image_17082025_19_34_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/41c701475233046e4bf8d7dcbc3e24c4.jpg","text":"TemporaryFile(/tmp/multipartBody3889471184326820751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452133729,"filename":"image_17082025_19_33_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/db40a2915021f04698394552f8945448.jpg","text":"TemporaryFile(/tmp/multipartBody4805408689881307287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452133729,"filename":"image_17082025_19_34_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9fc871f343743385ccdda28b1ac00e82.jpg","text":"TemporaryFile(/tmp/multipartBody4654040687845031729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452133729,"filename":"image_17082025_19_34_45_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685970","file1":"1377685968","file0":"1377685967","file4":"1377685974","file5":"1377685976","file3":"1377685972"},"map_files_photo_id_array":[{"photo_id":"1377685976","filename":"file5"},{"photo_id":"1377685970","filename":"file2"},{"photo_id":"1377685974","filename":"file4"},{"photo_id":"1377685968","filename":"file1"},{"photo_id":"1377685967","filename":"file0"},{"photo_id":"1377685972","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685972":["hashtag1","hashtag2"]},{"1377685974":["hashtag1","hashtag2"]},{"1377685968":["hashtag1","hashtag2"]},{"1377685976":["hashtag1","hashtag2"]},{"1377685970":["hashtag1","hashtag2"]},{"1377685967":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685972, 1377685974, 1377685968, 1377685976, 1377685970, 1377685967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88916754722595 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:35:17.206290
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/35/image_17082025_19_35_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/19/35/image_17082025_19_35_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/19/35/image_17082025_19_35_15_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/19/34/image_17082025_19_35_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/19/34/image_17082025_19_34_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/58/image_17082025_13_58_14_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/35/image_17082025_19_35_34_9639.jpg', '/home/nano/Desktop/images/17082025/19/35/image_17082025_19_35_24_9637.jpg', '/home/nano/Desktop/images/17082025/19/35/image_17082025_19_35_15_10666.jpg', '/home/nano/Desktop/images/17082025/19/34/image_17082025_19_35_04_9664.jpg', '/home/nano/Desktop/images/17082025/19/34/image_17082025_19_34_54_9638.jpg', '/home/nano/Desktop/images/17082025/13/58/image_17082025_13_58_14_9652.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/35/image_17082025_19_35_34_9639.jpg
/home/nano/Desktop/images/17082025/19/35/image_17082025_19_35_24_9637.jpg
/home/nano/Desktop/images/17082025/19/35/image_17082025_19_35_15_10666.jpg
/home/nano/Desktop/images/17082025/19/34/image_17082025_19_35_04_9664.jpg
/home/nano/Desktop/images/17082025/19/34/image_17082025_19_34_54_9638.jpg
/home/nano/Desktop/images/17082025/13/58/image_17082025_13_58_14_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377685996","1377685998","1377685992","1377685989","1377685994","1377686000"],"photo_ids_order":["1377685989","1377685992","1377685994","1377685996","1377685998","1377686000"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ad26e339dc33f7b5b4b5a120dd0f07e6.jpg","text":"TemporaryFile(/tmp/multipartBody983840182865411379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452178975,"filename":"image_17082025_19_35_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9bb1bf9b5c66f1b15b0e54086596df72.jpg","text":"TemporaryFile(/tmp/multipartBody8552877715255830267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452178975,"filename":"image_17082025_19_34_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/55391414a9032e805d18d081c947a007.jpg","text":"TemporaryFile(/tmp/multipartBody3707276931564911442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452178975,"filename":"image_17082025_19_35_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/05ec162cb72f0dacfd68a2e4d3aa3da5.jpg","text":"TemporaryFile(/tmp/multipartBody2187712936326170758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452178975,"filename":"image_17082025_19_35_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b35a34d700ae752e43afd81e2bc24577.jpg","text":"TemporaryFile(/tmp/multipartBody1328795786254066859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452178975,"filename":"image_17082025_19_35_15_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3cf650a8a30a0727f1dfcff910b3a8a1.jpg","text":"TemporaryFile(/tmp/multipartBody5125493905464684962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452178975,"filename":"image_17082025_13_58_14_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377685994","file1":"1377685992","file0":"1377685989","file4":"1377685998","file5":"1377686000","file3":"1377685996"},"map_files_photo_id_array":[{"photo_id":"1377686000","filename":"file5"},{"photo_id":"1377685994","filename":"file2"},{"photo_id":"1377685998","filename":"file4"},{"photo_id":"1377685992","filename":"file1"},{"photo_id":"1377685989","filename":"file0"},{"photo_id":"1377685996","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377685996":["hashtag1","hashtag2"]},{"1377685998":["hashtag1","hashtag2"]},{"1377685992":["hashtag1","hashtag2"]},{"1377685989":["hashtag1","hashtag2"]},{"1377685994":["hashtag1","hashtag2"]},{"1377686000":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377685996, 1377685998, 1377685992, 1377685989, 1377685994, 1377686000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.908003091812134 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:36:02.585754
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/57/image_17082025_13_58_04_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/13/57/image_17082025_13_57_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/57/image_17082025_13_57_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/13/57/image_17082025_13_57_35_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/13/57/image_17082025_13_57_24_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/13/57/image_17082025_13_57_14_9703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/13/57/image_17082025_13_58_04_10663.jpg', '/home/nano/Desktop/images/17082025/13/57/image_17082025_13_57_54_9638.jpg', '/home/nano/Desktop/images/17082025/13/57/image_17082025_13_57_44_9642.jpg', '/home/nano/Desktop/images/17082025/13/57/image_17082025_13_57_35_10648.jpg', '/home/nano/Desktop/images/17082025/13/57/image_17082025_13_57_24_9657.jpg', '/home/nano/Desktop/images/17082025/13/57/image_17082025_13_57_14_9703.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/13/57/image_17082025_13_58_04_10663.jpg
/home/nano/Desktop/images/17082025/13/57/image_17082025_13_57_54_9638.jpg
/home/nano/Desktop/images/17082025/13/57/image_17082025_13_57_44_9642.jpg
/home/nano/Desktop/images/17082025/13/57/image_17082025_13_57_35_10648.jpg
/home/nano/Desktop/images/17082025/13/57/image_17082025_13_57_24_9657.jpg
/home/nano/Desktop/images/17082025/13/57/image_17082025_13_57_14_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686020","1377686008","1377686002","1377686013","1377686015","1377686018"],"photo_ids_order":["1377686002","1377686008","1377686013","1377686015","1377686018","1377686020"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3d1446dda7d064d7af9d17cd31cb7853.jpg","text":"TemporaryFile(/tmp/multipartBody2345922249784667432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452224597,"filename":"image_17082025_13_57_14_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6a633c6baba186075fcdf371dbf9c013.jpg","text":"TemporaryFile(/tmp/multipartBody4511396235123723730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452224597,"filename":"image_17082025_13_57_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/df8c758ea81e274681a57b82f6a2c0c8.jpg","text":"TemporaryFile(/tmp/multipartBody8355387157165423505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452224597,"filename":"image_17082025_13_58_04_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ffd17e8486d222face0b5184d1b57ed7.jpg","text":"TemporaryFile(/tmp/multipartBody4764088017706462658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452224597,"filename":"image_17082025_13_57_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b0511ea4588ade0692fd88070633ab06.jpg","text":"TemporaryFile(/tmp/multipartBody8061141659653726042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452224597,"filename":"image_17082025_13_57_35_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bb1ce9f68a512a8114985f7477f9b6de.jpg","text":"TemporaryFile(/tmp/multipartBody1200816170767679612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452224597,"filename":"image_17082025_13_57_24_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686013","file1":"1377686008","file0":"1377686002","file4":"1377686018","file5":"1377686020","file3":"1377686015"},"map_files_photo_id_array":[{"photo_id":"1377686020","filename":"file5"},{"photo_id":"1377686013","filename":"file2"},{"photo_id":"1377686018","filename":"file4"},{"photo_id":"1377686008","filename":"file1"},{"photo_id":"1377686002","filename":"file0"},{"photo_id":"1377686015","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686020":["hashtag1","hashtag2"]},{"1377686008":["hashtag1","hashtag2"]},{"1377686002":["hashtag1","hashtag2"]},{"1377686013":["hashtag1","hashtag2"]},{"1377686015":["hashtag1","hashtag2"]},{"1377686018":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686020, 1377686008, 1377686002, 1377686013, 1377686015, 1377686018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28784990310669 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:36:47.324238
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_14_10675.jpg', 2), ('/home/nano/Desktop/images/17082025/19/35/image_17082025_19_35_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/13/56/image_17082025_13_57_05_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_44_10647.jpg', '/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_34_9640.jpg', '/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_24_9640.jpg', '/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_14_10675.jpg', '/home/nano/Desktop/images/17082025/19/35/image_17082025_19_35_44_10649.jpg', '/home/nano/Desktop/images/17082025/13/56/image_17082025_13_57_05_10657.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_44_10647.jpg
/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_34_9640.jpg
/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_24_9640.jpg
/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_14_10675.jpg
/home/nano/Desktop/images/17082025/19/35/image_17082025_19_35_44_10649.jpg
/home/nano/Desktop/images/17082025/13/56/image_17082025_13_57_05_10657.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5418202877044678 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:37:03.110693
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_14_10675.jpg', 2), ('/home/nano/Desktop/images/17082025/19/35/image_17082025_19_35_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/13/56/image_17082025_13_57_05_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_44_10647.jpg', '/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_34_9640.jpg', '/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_24_9640.jpg', '/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_14_10675.jpg', '/home/nano/Desktop/images/17082025/19/35/image_17082025_19_35_44_10649.jpg', '/home/nano/Desktop/images/17082025/13/56/image_17082025_13_57_05_10657.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_44_10647.jpg
/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_34_9640.jpg
/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_24_9640.jpg
/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_14_10675.jpg
/home/nano/Desktop/images/17082025/19/35/image_17082025_19_35_44_10649.jpg
/home/nano/Desktop/images/17082025/13/56/image_17082025_13_57_05_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686041","1377686047","1377686045","1377686030","1377686033","1377686042"],"photo_ids_order":["1377686030","1377686033","1377686041","1377686042","1377686045","1377686047"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/79fe7a231d1d1d9d2ae8142423145532.jpg","text":"TemporaryFile(/tmp/multipartBody8495065710573848946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452285073,"filename":"image_17082025_19_36_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/00e834b268dbc144df9f6fbb5966c2b6.jpg","text":"TemporaryFile(/tmp/multipartBody7429382715049220438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452285073,"filename":"image_17082025_13_57_05_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6240f762328cec049b4b8b3ad95b2247.jpg","text":"TemporaryFile(/tmp/multipartBody2857019689945382979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452285073,"filename":"image_17082025_19_35_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6ad170b75b51338654ac8f889ff44e85.jpg","text":"TemporaryFile(/tmp/multipartBody1858883501370003882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452285073,"filename":"image_17082025_19_36_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b965326788700fda437f2867ff96b917.jpg","text":"TemporaryFile(/tmp/multipartBody4469654218802410417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452285073,"filename":"image_17082025_19_36_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/16fd969ec0e85b05fb7be3a5b6b266b4.jpg","text":"TemporaryFile(/tmp/multipartBody4535974563606409445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452285073,"filename":"image_17082025_19_36_14_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686041","file1":"1377686033","file0":"1377686030","file4":"1377686045","file5":"1377686047","file3":"1377686042"},"map_files_photo_id_array":[{"photo_id":"1377686047","filename":"file5"},{"photo_id":"1377686041","filename":"file2"},{"photo_id":"1377686045","filename":"file4"},{"photo_id":"1377686033","filename":"file1"},{"photo_id":"1377686030","filename":"file0"},{"photo_id":"1377686042","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686041":["hashtag1","hashtag2"]},{"1377686047":["hashtag1","hashtag2"]},{"1377686045":["hashtag1","hashtag2"]},{"1377686030":["hashtag1","hashtag2"]},{"1377686033":["hashtag1","hashtag2"]},{"1377686042":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686041, 1377686047, 1377686045, 1377686030, 1377686033, 1377686042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96239113807678 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:37:47.431111
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/37/image_17082025_19_37_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/19/37/image_17082025_19_37_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/19/37/image_17082025_19_37_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/37/image_17082025_19_37_14_10685.jpg', 2), ('/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/56/image_17082025_13_56_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/37/image_17082025_19_37_44_10648.jpg', '/home/nano/Desktop/images/17082025/19/37/image_17082025_19_37_34_9639.jpg', '/home/nano/Desktop/images/17082025/19/37/image_17082025_19_37_24_9640.jpg', '/home/nano/Desktop/images/17082025/19/37/image_17082025_19_37_14_10685.jpg', '/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_54_9639.jpg', '/home/nano/Desktop/images/17082025/13/56/image_17082025_13_56_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/37/image_17082025_19_37_44_10648.jpg
/home/nano/Desktop/images/17082025/19/37/image_17082025_19_37_34_9639.jpg
/home/nano/Desktop/images/17082025/19/37/image_17082025_19_37_24_9640.jpg
/home/nano/Desktop/images/17082025/19/37/image_17082025_19_37_14_10685.jpg
/home/nano/Desktop/images/17082025/19/36/image_17082025_19_36_54_9639.jpg
/home/nano/Desktop/images/17082025/13/56/image_17082025_13_56_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686050","1377686052","1377686049","1377686057","1377686066","1377686054"],"photo_ids_order":["1377686049","1377686050","1377686052","1377686054","1377686057","1377686066"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d3853262716a7f0f23ad9a4beebf04c1.jpg","text":"TemporaryFile(/tmp/multipartBody4465296902686274149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452329183,"filename":"image_17082025_19_37_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/86512c7365d8dc217323442421648e11.jpg","text":"TemporaryFile(/tmp/multipartBody6508185492681789942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452329183,"filename":"image_17082025_19_37_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/74a0294af429bbd202a5d1178bf5f867.jpg","text":"TemporaryFile(/tmp/multipartBody1393991496248474965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452329183,"filename":"image_17082025_19_37_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4c488f49e22e121883bd762583ec1ae7.jpg","text":"TemporaryFile(/tmp/multipartBody4535669814448915954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452329183,"filename":"image_17082025_19_36_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c7887a903095c406c6809397295811b8.jpg","text":"TemporaryFile(/tmp/multipartBody499943000305965052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452329183,"filename":"image_17082025_13_56_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/38ec0e56c5d2ddede22f60230159c213.jpg","text":"TemporaryFile(/tmp/multipartBody4725172465696687278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452329183,"filename":"image_17082025_19_37_14_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686052","file1":"1377686050","file0":"1377686049","file4":"1377686057","file5":"1377686066","file3":"1377686054"},"map_files_photo_id_array":[{"photo_id":"1377686066","filename":"file5"},{"photo_id":"1377686052","filename":"file2"},{"photo_id":"1377686057","filename":"file4"},{"photo_id":"1377686050","filename":"file1"},{"photo_id":"1377686049","filename":"file0"},{"photo_id":"1377686054","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686050":["hashtag1","hashtag2"]},{"1377686052":["hashtag1","hashtag2"]},{"1377686049":["hashtag1","hashtag2"]},{"1377686057":["hashtag1","hashtag2"]},{"1377686066":["hashtag1","hashtag2"]},{"1377686054":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686050, 1377686052, 1377686049, 1377686057, 1377686066, 1377686054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16329860687256 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:38:32.614677
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/38/image_17082025_19_38_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/38/image_17082025_19_38_35_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/19/38/image_17082025_19_38_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/19/37/image_17082025_19_38_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/19/37/image_17082025_19_37_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/13/56/image_17082025_13_56_34_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/38/image_17082025_19_38_44_9640.jpg', '/home/nano/Desktop/images/17082025/19/38/image_17082025_19_38_35_10669.jpg', '/home/nano/Desktop/images/17082025/19/38/image_17082025_19_38_24_9641.jpg', '/home/nano/Desktop/images/17082025/19/37/image_17082025_19_38_04_9652.jpg', '/home/nano/Desktop/images/17082025/19/37/image_17082025_19_37_54_9641.jpg', '/home/nano/Desktop/images/17082025/13/56/image_17082025_13_56_34_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/38/image_17082025_19_38_44_9640.jpg
/home/nano/Desktop/images/17082025/19/38/image_17082025_19_38_35_10669.jpg
/home/nano/Desktop/images/17082025/19/38/image_17082025_19_38_24_9641.jpg
/home/nano/Desktop/images/17082025/19/37/image_17082025_19_38_04_9652.jpg
/home/nano/Desktop/images/17082025/19/37/image_17082025_19_37_54_9641.jpg
/home/nano/Desktop/images/17082025/13/56/image_17082025_13_56_34_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686073","1377686076","1377686075","1377686078","1377686072","1377686074"],"photo_ids_order":["1377686072","1377686073","1377686074","1377686075","1377686076","1377686078"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/33a0b3911a04f4ea84a56a5e2233bacd.jpg","text":"TemporaryFile(/tmp/multipartBody8743536113502401781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452374710,"filename":"image_17082025_19_38_35_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/416b603f9b6cead42f2953133dcf35c5.jpg","text":"TemporaryFile(/tmp/multipartBody3614436642412468752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452374710,"filename":"image_17082025_19_37_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eba22b33b7d946d8a90b6dc6c8d89113.jpg","text":"TemporaryFile(/tmp/multipartBody6985023451296284186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452374710,"filename":"image_17082025_19_38_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6a1e707aee602cde97d1838849cb973e.jpg","text":"TemporaryFile(/tmp/multipartBody2725702872022502332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452374710,"filename":"image_17082025_13_56_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/947d84ab519fbfef956fa873ff3f3de1.jpg","text":"TemporaryFile(/tmp/multipartBody1996739339346018236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452374710,"filename":"image_17082025_19_38_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b70fd8b4e3c6c8d8a16c37bff46fdb0f.jpg","text":"TemporaryFile(/tmp/multipartBody1010647071767704424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452374710,"filename":"image_17082025_19_38_24_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686074","file1":"1377686073","file0":"1377686072","file4":"1377686076","file5":"1377686078","file3":"1377686075"},"map_files_photo_id_array":[{"photo_id":"1377686078","filename":"file5"},{"photo_id":"1377686074","filename":"file2"},{"photo_id":"1377686076","filename":"file4"},{"photo_id":"1377686073","filename":"file1"},{"photo_id":"1377686072","filename":"file0"},{"photo_id":"1377686075","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686073":["hashtag1","hashtag2"]},{"1377686076":["hashtag1","hashtag2"]},{"1377686075":["hashtag1","hashtag2"]},{"1377686078":["hashtag1","hashtag2"]},{"1377686072":["hashtag1","hashtag2"]},{"1377686074":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686073, 1377686076, 1377686075, 1377686078, 1377686072, 1377686074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.540952920913696 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:39:17.811480
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/39/image_17082025_19_39_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/19/38/image_17082025_19_39_04_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/19/38/image_17082025_19_38_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/13/56/image_17082025_13_56_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/13/56/image_17082025_13_56_14_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/13/55/image_17082025_13_56_04_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/39/image_17082025_19_39_14_9661.jpg', '/home/nano/Desktop/images/17082025/19/38/image_17082025_19_39_04_10673.jpg', '/home/nano/Desktop/images/17082025/19/38/image_17082025_19_38_54_9641.jpg', '/home/nano/Desktop/images/17082025/13/56/image_17082025_13_56_24_9643.jpg', '/home/nano/Desktop/images/17082025/13/56/image_17082025_13_56_14_10672.jpg', '/home/nano/Desktop/images/17082025/13/55/image_17082025_13_56_04_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/39/image_17082025_19_39_14_9661.jpg
/home/nano/Desktop/images/17082025/19/38/image_17082025_19_39_04_10673.jpg
/home/nano/Desktop/images/17082025/19/38/image_17082025_19_38_54_9641.jpg
/home/nano/Desktop/images/17082025/13/56/image_17082025_13_56_24_9643.jpg
/home/nano/Desktop/images/17082025/13/56/image_17082025_13_56_14_10672.jpg
/home/nano/Desktop/images/17082025/13/55/image_17082025_13_56_04_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686097","1377686094","1377686096","1377686090","1377686098","1377686092"],"photo_ids_order":["1377686090","1377686092","1377686094","1377686096","1377686097","1377686098"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b6aea4e53ee1d995f7361435c21f6d39.jpg","text":"TemporaryFile(/tmp/multipartBody3499940878820327723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452419541,"filename":"image_17082025_13_56_14_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d5e60022baaa24c8c2a0bd5893f9f87d.jpg","text":"TemporaryFile(/tmp/multipartBody4072412404822616237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452419541,"filename":"image_17082025_19_38_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c1d59e846443effef5ff7e08aab3ec12.jpg","text":"TemporaryFile(/tmp/multipartBody3715704316248223556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452419541,"filename":"image_17082025_13_56_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5769840b76606c8eddb08593697be98d.jpg","text":"TemporaryFile(/tmp/multipartBody2664105444438033821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452419541,"filename":"image_17082025_19_39_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/680c7c9eac62e19bc04b458acbd2df0c.jpg","text":"TemporaryFile(/tmp/multipartBody7324887319950831214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452419541,"filename":"image_17082025_13_56_04_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/21c97cf42b4f4da5593cff72fc90fd9e.jpg","text":"TemporaryFile(/tmp/multipartBody3790909272565689863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452419541,"filename":"image_17082025_19_39_04_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686094","file1":"1377686092","file0":"1377686090","file4":"1377686097","file5":"1377686098","file3":"1377686096"},"map_files_photo_id_array":[{"photo_id":"1377686098","filename":"file5"},{"photo_id":"1377686094","filename":"file2"},{"photo_id":"1377686097","filename":"file4"},{"photo_id":"1377686092","filename":"file1"},{"photo_id":"1377686090","filename":"file0"},{"photo_id":"1377686096","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686097":["hashtag1","hashtag2"]},{"1377686094":["hashtag1","hashtag2"]},{"1377686096":["hashtag1","hashtag2"]},{"1377686090":["hashtag1","hashtag2"]},{"1377686098":["hashtag1","hashtag2"]},{"1377686092":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686097, 1377686094, 1377686096, 1377686090, 1377686098, 1377686092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02180528640747 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:40:03.293033
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/55/image_17082025_13_55_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/55/image_17082025_13_55_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/13/55/image_17082025_13_55_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/55/image_17082025_13_55_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/55/image_17082025_13_55_14_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/13/54/image_17082025_13_55_04_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/13/55/image_17082025_13_55_54_9638.jpg', '/home/nano/Desktop/images/17082025/13/55/image_17082025_13_55_44_10646.jpg', '/home/nano/Desktop/images/17082025/13/55/image_17082025_13_55_34_9637.jpg', '/home/nano/Desktop/images/17082025/13/55/image_17082025_13_55_24_9639.jpg', '/home/nano/Desktop/images/17082025/13/55/image_17082025_13_55_14_10663.jpg', '/home/nano/Desktop/images/17082025/13/54/image_17082025_13_55_04_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/13/55/image_17082025_13_55_54_9638.jpg
/home/nano/Desktop/images/17082025/13/55/image_17082025_13_55_44_10646.jpg
/home/nano/Desktop/images/17082025/13/55/image_17082025_13_55_34_9637.jpg
/home/nano/Desktop/images/17082025/13/55/image_17082025_13_55_24_9639.jpg
/home/nano/Desktop/images/17082025/13/55/image_17082025_13_55_14_10663.jpg
/home/nano/Desktop/images/17082025/13/54/image_17082025_13_55_04_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686122","1377686104","1377686113","1377686115","1377686120","1377686117"],"photo_ids_order":["1377686104","1377686113","1377686115","1377686117","1377686120","1377686122"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dde16b30be803d3a036436bd218ec8ff.jpg","text":"TemporaryFile(/tmp/multipartBody3357696954080080240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452465115,"filename":"image_17082025_13_55_04_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/75bb0427a3c0f647ac682b52029dd764.jpg","text":"TemporaryFile(/tmp/multipartBody6747097967362534323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452465115,"filename":"image_17082025_13_55_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cb9153d71b7582f4f88ea1fcd9373377.jpg","text":"TemporaryFile(/tmp/multipartBody4679470221391312762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452465115,"filename":"image_17082025_13_55_44_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e420aa3fef7f2fb191a353a36e975e78.jpg","text":"TemporaryFile(/tmp/multipartBody7452676382960468335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452465115,"filename":"image_17082025_13_55_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e635cd62d9ddf6318dce2e7717286ce9.jpg","text":"TemporaryFile(/tmp/multipartBody7969878098430683614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452465115,"filename":"image_17082025_13_55_14_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/79e71f5f5bdf7d03f105178da4f78051.jpg","text":"TemporaryFile(/tmp/multipartBody1939081821425053034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452465115,"filename":"image_17082025_13_55_24_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686115","file1":"1377686113","file0":"1377686104","file4":"1377686120","file5":"1377686122","file3":"1377686117"},"map_files_photo_id_array":[{"photo_id":"1377686122","filename":"file5"},{"photo_id":"1377686115","filename":"file2"},{"photo_id":"1377686120","filename":"file4"},{"photo_id":"1377686113","filename":"file1"},{"photo_id":"1377686104","filename":"file0"},{"photo_id":"1377686117","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686122":["hashtag1","hashtag2"]},{"1377686104":["hashtag1","hashtag2"]},{"1377686113":["hashtag1","hashtag2"]},{"1377686115":["hashtag1","hashtag2"]},{"1377686120":["hashtag1","hashtag2"]},{"1377686117":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686122, 1377686104, 1377686113, 1377686115, 1377686120, 1377686117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91685461997986 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:40:47.743799
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/40/image_17082025_19_40_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/19/40/image_17082025_19_40_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/19/40/image_17082025_19_40_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/19/39/image_17082025_19_40_04_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/19/39/image_17082025_19_39_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/54/image_17082025_13_54_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/40/image_17082025_19_40_44_9638.jpg', '/home/nano/Desktop/images/17082025/19/40/image_17082025_19_40_34_10649.jpg', '/home/nano/Desktop/images/17082025/19/40/image_17082025_19_40_14_9659.jpg', '/home/nano/Desktop/images/17082025/19/39/image_17082025_19_40_04_10662.jpg', '/home/nano/Desktop/images/17082025/19/39/image_17082025_19_39_24_9638.jpg', '/home/nano/Desktop/images/17082025/13/54/image_17082025_13_54_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/40/image_17082025_19_40_44_9638.jpg
/home/nano/Desktop/images/17082025/19/40/image_17082025_19_40_34_10649.jpg
/home/nano/Desktop/images/17082025/19/40/image_17082025_19_40_14_9659.jpg
/home/nano/Desktop/images/17082025/19/39/image_17082025_19_40_04_10662.jpg
/home/nano/Desktop/images/17082025/19/39/image_17082025_19_39_24_9638.jpg
/home/nano/Desktop/images/17082025/13/54/image_17082025_13_54_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686140","1377686131","1377686128","1377686124","1377686126","1377686123"],"photo_ids_order":["1377686123","1377686124","1377686126","1377686128","1377686131","1377686140"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ece25774dfa1f8dfefc2cca1517466e5.jpg","text":"TemporaryFile(/tmp/multipartBody8061225489453171351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452509846,"filename":"image_17082025_13_54_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eaf312212539d648773bc4391625da5a.jpg","text":"TemporaryFile(/tmp/multipartBody6567746546927086990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452509846,"filename":"image_17082025_19_39_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eea6c20691e8ac60b68441e660a5650f.jpg","text":"TemporaryFile(/tmp/multipartBody3539089534100752040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452509846,"filename":"image_17082025_19_40_04_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2c526700cf678304aa646a3656995fba.jpg","text":"TemporaryFile(/tmp/multipartBody3149730285467517787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452509846,"filename":"image_17082025_19_40_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4dad0ecf3670e35ca49104be8c791f22.jpg","text":"TemporaryFile(/tmp/multipartBody1006989853132330591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452509846,"filename":"image_17082025_19_40_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/148c67c525351ee802cb5a2d80974fd4.jpg","text":"TemporaryFile(/tmp/multipartBody2268858059724932989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452509846,"filename":"image_17082025_19_40_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686126","file1":"1377686124","file0":"1377686123","file4":"1377686131","file5":"1377686140","file3":"1377686128"},"map_files_photo_id_array":[{"photo_id":"1377686140","filename":"file5"},{"photo_id":"1377686126","filename":"file2"},{"photo_id":"1377686131","filename":"file4"},{"photo_id":"1377686124","filename":"file1"},{"photo_id":"1377686123","filename":"file0"},{"photo_id":"1377686128","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686140":["hashtag1","hashtag2"]},{"1377686131":["hashtag1","hashtag2"]},{"1377686128":["hashtag1","hashtag2"]},{"1377686124":["hashtag1","hashtag2"]},{"1377686126":["hashtag1","hashtag2"]},{"1377686123":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686140, 1377686131, 1377686128, 1377686124, 1377686126, 1377686123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65136170387268 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:41:31.890683
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/41/image_17082025_19_41_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/19/41/image_17082025_19_41_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/19/40/image_17082025_19_41_04_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/19/40/image_17082025_19_40_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/54/image_17082025_13_54_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/13/54/image_17082025_13_54_34_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/41/image_17082025_19_41_34_10648.jpg', '/home/nano/Desktop/images/17082025/19/41/image_17082025_19_41_14_9658.jpg', '/home/nano/Desktop/images/17082025/19/40/image_17082025_19_41_04_10651.jpg', '/home/nano/Desktop/images/17082025/19/40/image_17082025_19_40_54_9639.jpg', '/home/nano/Desktop/images/17082025/13/54/image_17082025_13_54_44_10649.jpg', '/home/nano/Desktop/images/17082025/13/54/image_17082025_13_54_34_9645.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/41/image_17082025_19_41_34_10648.jpg
/home/nano/Desktop/images/17082025/19/41/image_17082025_19_41_14_9658.jpg
/home/nano/Desktop/images/17082025/19/40/image_17082025_19_41_04_10651.jpg
/home/nano/Desktop/images/17082025/19/40/image_17082025_19_40_54_9639.jpg
/home/nano/Desktop/images/17082025/13/54/image_17082025_13_54_44_10649.jpg
/home/nano/Desktop/images/17082025/13/54/image_17082025_13_54_34_9645.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8858075141906738 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:41:46.894110
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/41/image_17082025_19_41_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/19/41/image_17082025_19_41_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/19/40/image_17082025_19_41_04_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/19/40/image_17082025_19_40_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/54/image_17082025_13_54_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/13/54/image_17082025_13_54_34_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/41/image_17082025_19_41_34_10648.jpg', '/home/nano/Desktop/images/17082025/19/41/image_17082025_19_41_14_9658.jpg', '/home/nano/Desktop/images/17082025/19/40/image_17082025_19_41_04_10651.jpg', '/home/nano/Desktop/images/17082025/19/40/image_17082025_19_40_54_9639.jpg', '/home/nano/Desktop/images/17082025/13/54/image_17082025_13_54_44_10649.jpg', '/home/nano/Desktop/images/17082025/13/54/image_17082025_13_54_34_9645.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/41/image_17082025_19_41_34_10648.jpg
/home/nano/Desktop/images/17082025/19/41/image_17082025_19_41_14_9658.jpg
/home/nano/Desktop/images/17082025/19/40/image_17082025_19_41_04_10651.jpg
/home/nano/Desktop/images/17082025/19/40/image_17082025_19_40_54_9639.jpg
/home/nano/Desktop/images/17082025/13/54/image_17082025_13_54_44_10649.jpg
/home/nano/Desktop/images/17082025/13/54/image_17082025_13_54_34_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686155","1377686164","1377686151","1377686157","1377686168","1377686153"],"photo_ids_order":["1377686151","1377686153","1377686155","1377686157","1377686164","1377686168"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/af4b80a1ac08be98b58fe384e3686da1.jpg","text":"TemporaryFile(/tmp/multipartBody2601632652604937112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452568646,"filename":"image_17082025_19_41_04_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6acc8c1d1c51d15229dbdd297c3747f8.jpg","text":"TemporaryFile(/tmp/multipartBody4273820795462627840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452568646,"filename":"image_17082025_13_54_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7cacd353c324c13b68a0eee0abde36da.jpg","text":"TemporaryFile(/tmp/multipartBody3108839755384844813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452568646,"filename":"image_17082025_19_41_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/28b594cbc0dec33910995b5dbdeec627.jpg","text":"TemporaryFile(/tmp/multipartBody4046219437528850068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452568646,"filename":"image_17082025_19_40_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cd3f8347991cce8468597cc7b3baeedd.jpg","text":"TemporaryFile(/tmp/multipartBody3286554102041187323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452568646,"filename":"image_17082025_13_54_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/027a458b684dedaf04358811ff004ecc.jpg","text":"TemporaryFile(/tmp/multipartBody1690342071203552993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452568646,"filename":"image_17082025_19_41_14_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686155","file1":"1377686153","file0":"1377686151","file4":"1377686164","file5":"1377686168","file3":"1377686157"},"map_files_photo_id_array":[{"photo_id":"1377686168","filename":"file5"},{"photo_id":"1377686155","filename":"file2"},{"photo_id":"1377686164","filename":"file4"},{"photo_id":"1377686153","filename":"file1"},{"photo_id":"1377686151","filename":"file0"},{"photo_id":"1377686157","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686155":["hashtag1","hashtag2"]},{"1377686164":["hashtag1","hashtag2"]},{"1377686151":["hashtag1","hashtag2"]},{"1377686157":["hashtag1","hashtag2"]},{"1377686168":["hashtag1","hashtag2"]},{"1377686153":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686155, 1377686164, 1377686151, 1377686157, 1377686168, 1377686153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17527437210083 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:42:31.981531
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/42/image_17082025_19_42_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/19/42/image_17082025_19_42_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/19/41/image_17082025_19_42_04_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/19/41/image_17082025_19_41_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/54/image_17082025_13_54_24_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/13/53/image_17082025_13_54_04_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/42/image_17082025_19_42_34_9643.jpg', '/home/nano/Desktop/images/17082025/19/42/image_17082025_19_42_14_9663.jpg', '/home/nano/Desktop/images/17082025/19/41/image_17082025_19_42_04_9660.jpg', '/home/nano/Desktop/images/17082025/19/41/image_17082025_19_41_44_9639.jpg', '/home/nano/Desktop/images/17082025/13/54/image_17082025_13_54_24_9663.jpg', '/home/nano/Desktop/images/17082025/13/53/image_17082025_13_54_04_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/42/image_17082025_19_42_34_9643.jpg
/home/nano/Desktop/images/17082025/19/42/image_17082025_19_42_14_9663.jpg
/home/nano/Desktop/images/17082025/19/41/image_17082025_19_42_04_9660.jpg
/home/nano/Desktop/images/17082025/19/41/image_17082025_19_41_44_9639.jpg
/home/nano/Desktop/images/17082025/13/54/image_17082025_13_54_24_9663.jpg
/home/nano/Desktop/images/17082025/13/53/image_17082025_13_54_04_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686182","1377686176","1377686184","1377686178","1377686180","1377686177"],"photo_ids_order":["1377686176","1377686177","1377686178","1377686180","1377686182","1377686184"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/df3d84dfdf190933cd36c17224336f9d.jpg","text":"TemporaryFile(/tmp/multipartBody3573515215429660716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452613705,"filename":"image_17082025_13_54_24_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eab5c30d2ad544173cff4baa8be4119e.jpg","text":"TemporaryFile(/tmp/multipartBody6639721502143581448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452613705,"filename":"image_17082025_19_42_34_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5c1667448e375bb3dada1661063ff29e.jpg","text":"TemporaryFile(/tmp/multipartBody2463203329066186974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452613705,"filename":"image_17082025_13_54_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/00c7aa17d2a10adbb3902c8f33335782.jpg","text":"TemporaryFile(/tmp/multipartBody5834880594181102012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452613705,"filename":"image_17082025_19_42_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7b5b3e5e4305f20536583feec4f2606f.jpg","text":"TemporaryFile(/tmp/multipartBody333895263253251414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452613705,"filename":"image_17082025_19_41_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/190f2d0e1c81a8ecfa1e21e6ea03e7b6.jpg","text":"TemporaryFile(/tmp/multipartBody1782046693361327021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452613705,"filename":"image_17082025_19_42_14_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686178","file1":"1377686177","file0":"1377686176","file4":"1377686182","file5":"1377686184","file3":"1377686180"},"map_files_photo_id_array":[{"photo_id":"1377686184","filename":"file5"},{"photo_id":"1377686178","filename":"file2"},{"photo_id":"1377686182","filename":"file4"},{"photo_id":"1377686177","filename":"file1"},{"photo_id":"1377686176","filename":"file0"},{"photo_id":"1377686180","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686182":["hashtag1","hashtag2"]},{"1377686176":["hashtag1","hashtag2"]},{"1377686184":["hashtag1","hashtag2"]},{"1377686178":["hashtag1","hashtag2"]},{"1377686180":["hashtag1","hashtag2"]},{"1377686177":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686182, 1377686176, 1377686184, 1377686178, 1377686180, 1377686177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.685521602630615 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:43:17.087521
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/43/image_17082025_19_43_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/19/43/image_17082025_19_43_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/19/43/image_17082025_19_43_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/19/43/image_17082025_19_43_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/19/42/image_17082025_19_43_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/19/42/image_17082025_19_42_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/43/image_17082025_19_43_44_9641.jpg', '/home/nano/Desktop/images/17082025/19/43/image_17082025_19_43_34_9639.jpg', '/home/nano/Desktop/images/17082025/19/43/image_17082025_19_43_24_10649.jpg', '/home/nano/Desktop/images/17082025/19/43/image_17082025_19_43_14_9661.jpg', '/home/nano/Desktop/images/17082025/19/42/image_17082025_19_43_04_9643.jpg', '/home/nano/Desktop/images/17082025/19/42/image_17082025_19_42_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/43/image_17082025_19_43_44_9641.jpg
/home/nano/Desktop/images/17082025/19/43/image_17082025_19_43_34_9639.jpg
/home/nano/Desktop/images/17082025/19/43/image_17082025_19_43_24_10649.jpg
/home/nano/Desktop/images/17082025/19/43/image_17082025_19_43_14_9661.jpg
/home/nano/Desktop/images/17082025/19/42/image_17082025_19_43_04_9643.jpg
/home/nano/Desktop/images/17082025/19/42/image_17082025_19_42_54_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686203","1377686196","1377686200","1377686198","1377686201","1377686194"],"photo_ids_order":["1377686194","1377686196","1377686198","1377686200","1377686201","1377686203"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/479cbd32201f6580d5d8bb68182b6f06.jpg","text":"TemporaryFile(/tmp/multipartBody4133258594129997816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452658781,"filename":"image_17082025_19_42_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/be617429017fee7c4a54565ff138e7da.jpg","text":"TemporaryFile(/tmp/multipartBody6429955471054375223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452658781,"filename":"image_17082025_19_43_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4ae3f59ce229560f2974ead5470cae47.jpg","text":"TemporaryFile(/tmp/multipartBody207445344536868824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452658781,"filename":"image_17082025_19_43_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/908aaf323ff05a435c976e244220a90c.jpg","text":"TemporaryFile(/tmp/multipartBody4969376651847334977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452658781,"filename":"image_17082025_19_43_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/185e4ca9880c8784edcd806da1964b03.jpg","text":"TemporaryFile(/tmp/multipartBody2998161113367418240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452658781,"filename":"image_17082025_19_43_04_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4650fcd83f4b5eded0cb90219bf69707.jpg","text":"TemporaryFile(/tmp/multipartBody5332836616227044741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452658781,"filename":"image_17082025_19_43_44_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686198","file1":"1377686196","file0":"1377686194","file4":"1377686201","file5":"1377686203","file3":"1377686200"},"map_files_photo_id_array":[{"photo_id":"1377686203","filename":"file5"},{"photo_id":"1377686198","filename":"file2"},{"photo_id":"1377686201","filename":"file4"},{"photo_id":"1377686196","filename":"file1"},{"photo_id":"1377686194","filename":"file0"},{"photo_id":"1377686200","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686203":["hashtag1","hashtag2"]},{"1377686196":["hashtag1","hashtag2"]},{"1377686200":["hashtag1","hashtag2"]},{"1377686198":["hashtag1","hashtag2"]},{"1377686201":["hashtag1","hashtag2"]},{"1377686194":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686203, 1377686196, 1377686200, 1377686198, 1377686201, 1377686194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.451780557632446 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:44:03.159768
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/13/52/image_17082025_13_53_04_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_54_10648.jpg', '/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_44_9639.jpg', '/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_34_9638.jpg', '/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_24_10647.jpg', '/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_14_9656.jpg', '/home/nano/Desktop/images/17082025/13/52/image_17082025_13_53_04_9643.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_54_10648.jpg
/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_44_9639.jpg
/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_34_9638.jpg
/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_24_10647.jpg
/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_14_9656.jpg
/home/nano/Desktop/images/17082025/13/52/image_17082025_13_53_04_9643.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2364211082458496 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:44:17.208063
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/44/image_17082025_19_44_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/44/image_17082025_19_44_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/43/image_17082025_19_44_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/19/43/image_17082025_19_43_54_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/44/image_17082025_19_44_44_9640.jpg', '/home/nano/Desktop/images/17082025/19/44/image_17082025_19_44_34_9640.jpg', '/home/nano/Desktop/images/17082025/19/43/image_17082025_19_44_04_9655.jpg', '/home/nano/Desktop/images/17082025/19/43/image_17082025_19_43_54_10650.jpg', '/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_54_10648.jpg', '/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/44/image_17082025_19_44_44_9640.jpg
/home/nano/Desktop/images/17082025/19/44/image_17082025_19_44_34_9640.jpg
/home/nano/Desktop/images/17082025/19/43/image_17082025_19_44_04_9655.jpg
/home/nano/Desktop/images/17082025/19/43/image_17082025_19_43_54_10650.jpg
/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_54_10648.jpg
/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_44_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686232","1377686229","1377686222","1377686231","1377686225","1377686234"],"photo_ids_order":["1377686222","1377686225","1377686229","1377686231","1377686232","1377686234"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0bde670ee58b99dca23c8ea189078b2a.jpg","text":"TemporaryFile(/tmp/multipartBody4796817626661241729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452718864,"filename":"image_17082025_13_53_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bf910a20648da423b15ce9e698b5ef4c.jpg","text":"TemporaryFile(/tmp/multipartBody2824180738331184606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452718864,"filename":"image_17082025_19_44_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9bc2b1d4adaeabebaabc49b0804f638f.jpg","text":"TemporaryFile(/tmp/multipartBody465722542403801581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452718864,"filename":"image_17082025_19_44_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e1a66db7f94e95d6ddf3b562c6e05283.jpg","text":"TemporaryFile(/tmp/multipartBody252461822019548747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452718864,"filename":"image_17082025_19_43_54_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9f9e8981728982d0cc05d4177ad05271.jpg","text":"TemporaryFile(/tmp/multipartBody3458979914321790650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452718864,"filename":"image_17082025_19_44_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3f9cf6fcf62906903664a61ec1d1454a.jpg","text":"TemporaryFile(/tmp/multipartBody7477435855890001268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452718864,"filename":"image_17082025_13_53_44_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686229","file1":"1377686225","file0":"1377686222","file4":"1377686232","file5":"1377686234","file3":"1377686231"},"map_files_photo_id_array":[{"photo_id":"1377686234","filename":"file5"},{"photo_id":"1377686229","filename":"file2"},{"photo_id":"1377686232","filename":"file4"},{"photo_id":"1377686225","filename":"file1"},{"photo_id":"1377686222","filename":"file0"},{"photo_id":"1377686231","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686232":["hashtag1","hashtag2"]},{"1377686229":["hashtag1","hashtag2"]},{"1377686222":["hashtag1","hashtag2"]},{"1377686231":["hashtag1","hashtag2"]},{"1377686225":["hashtag1","hashtag2"]},{"1377686234":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686232, 1377686229, 1377686222, 1377686231, 1377686225, 1377686234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74885964393616 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:45:02.915056
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/13/52/image_17082025_13_53_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/13/52/image_17082025_13_52_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/13/52/image_17082025_13_52_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_34_9638.jpg', '/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_24_10647.jpg', '/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_14_9656.jpg', '/home/nano/Desktop/images/17082025/13/52/image_17082025_13_53_04_9643.jpg', '/home/nano/Desktop/images/17082025/13/52/image_17082025_13_52_54_10649.jpg', '/home/nano/Desktop/images/17082025/13/52/image_17082025_13_52_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_34_9638.jpg
/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_24_10647.jpg
/home/nano/Desktop/images/17082025/13/53/image_17082025_13_53_14_9656.jpg
/home/nano/Desktop/images/17082025/13/52/image_17082025_13_53_04_9643.jpg
/home/nano/Desktop/images/17082025/13/52/image_17082025_13_52_54_10649.jpg
/home/nano/Desktop/images/17082025/13/52/image_17082025_13_52_44_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686257","1377686245","1377686256","1377686250","1377686238","1377686253"],"photo_ids_order":["1377686238","1377686245","1377686250","1377686253","1377686256","1377686257"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e4d0557f433f4bae020738e6c37fce3d.jpg","text":"TemporaryFile(/tmp/multipartBody8642814521696483680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452764974,"filename":"image_17082025_13_52_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a304192cc72cd3b2a6b800f9721a7eea.jpg","text":"TemporaryFile(/tmp/multipartBody3937701849049439280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452764974,"filename":"image_17082025_13_53_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2c12396b838456e1981e7175a54f8882.jpg","text":"TemporaryFile(/tmp/multipartBody8863197648472177810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452764974,"filename":"image_17082025_13_52_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/259649a975d52b37b48f4e227c329af5.jpg","text":"TemporaryFile(/tmp/multipartBody3853794228488614801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452764974,"filename":"image_17082025_13_53_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/20f05faf26d0e03c3a3dcbb91d72660f.jpg","text":"TemporaryFile(/tmp/multipartBody4825486501188436021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452764974,"filename":"image_17082025_13_53_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/03d0c64c87bb6edbb20e877292d77856.jpg","text":"TemporaryFile(/tmp/multipartBody8412568048001258044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452764974,"filename":"image_17082025_13_53_04_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686250","file1":"1377686245","file0":"1377686238","file4":"1377686256","file5":"1377686257","file3":"1377686253"},"map_files_photo_id_array":[{"photo_id":"1377686257","filename":"file5"},{"photo_id":"1377686250","filename":"file2"},{"photo_id":"1377686256","filename":"file4"},{"photo_id":"1377686245","filename":"file1"},{"photo_id":"1377686238","filename":"file0"},{"photo_id":"1377686253","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686257":["hashtag1","hashtag2"]},{"1377686245":["hashtag1","hashtag2"]},{"1377686256":["hashtag1","hashtag2"]},{"1377686250":["hashtag1","hashtag2"]},{"1377686238":["hashtag1","hashtag2"]},{"1377686253":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686257, 1377686245, 1377686256, 1377686250, 1377686238, 1377686253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27400541305542 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:45:47.314589
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/45/image_17082025_19_45_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/19/45/image_17082025_19_45_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/19/45/image_17082025_19_45_14_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/19/44/image_17082025_19_44_54_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/13/52/image_17082025_13_52_24_10644.jpg', 2), ('/home/nano/Desktop/images/17082025/13/51/image_17082025_13_52_04_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/45/image_17082025_19_45_34_9639.jpg', '/home/nano/Desktop/images/17082025/19/45/image_17082025_19_45_24_10649.jpg', '/home/nano/Desktop/images/17082025/19/45/image_17082025_19_45_14_9664.jpg', '/home/nano/Desktop/images/17082025/19/44/image_17082025_19_44_54_10665.jpg', '/home/nano/Desktop/images/17082025/13/52/image_17082025_13_52_24_10644.jpg', '/home/nano/Desktop/images/17082025/13/51/image_17082025_13_52_04_9644.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/45/image_17082025_19_45_34_9639.jpg
/home/nano/Desktop/images/17082025/19/45/image_17082025_19_45_24_10649.jpg
/home/nano/Desktop/images/17082025/19/45/image_17082025_19_45_14_9664.jpg
/home/nano/Desktop/images/17082025/19/44/image_17082025_19_44_54_10665.jpg
/home/nano/Desktop/images/17082025/13/52/image_17082025_13_52_24_10644.jpg
/home/nano/Desktop/images/17082025/13/51/image_17082025_13_52_04_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686260","1377686263","1377686259","1377686261","1377686264","1377686272"],"photo_ids_order":["1377686259","1377686260","1377686261","1377686263","1377686264","1377686272"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fa487a84f569ca93af06ffb64dc4dd67.jpg","text":"TemporaryFile(/tmp/multipartBody5426208988475022447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452810271,"filename":"image_17082025_19_45_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eb9c9ed474f3fb97be562baaa5bfb91f.jpg","text":"TemporaryFile(/tmp/multipartBody4558915504018609598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452810271,"filename":"image_17082025_19_44_54_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9a749a4759e4c0b9ac4cef64ad5c3b42.jpg","text":"TemporaryFile(/tmp/multipartBody6984168456517607905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452810271,"filename":"image_17082025_19_45_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a0211d64a01b0ea0d8ddbe7e9ac7b7e9.jpg","text":"TemporaryFile(/tmp/multipartBody8936689916700061932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452810271,"filename":"image_17082025_19_45_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b22ae9219f3ce6e708eabcb947aa8abf.jpg","text":"TemporaryFile(/tmp/multipartBody2249044943316405225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452810271,"filename":"image_17082025_13_52_24_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d11f8f7699487a1a94245bb0e1678fdd.jpg","text":"TemporaryFile(/tmp/multipartBody3084831657618083326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452810271,"filename":"image_17082025_13_52_04_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686261","file1":"1377686260","file0":"1377686259","file4":"1377686264","file5":"1377686272","file3":"1377686263"},"map_files_photo_id_array":[{"photo_id":"1377686272","filename":"file5"},{"photo_id":"1377686261","filename":"file2"},{"photo_id":"1377686264","filename":"file4"},{"photo_id":"1377686260","filename":"file1"},{"photo_id":"1377686259","filename":"file0"},{"photo_id":"1377686263","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686260":["hashtag1","hashtag2"]},{"1377686263":["hashtag1","hashtag2"]},{"1377686259":["hashtag1","hashtag2"]},{"1377686261":["hashtag1","hashtag2"]},{"1377686264":["hashtag1","hashtag2"]},{"1377686272":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686260, 1377686263, 1377686259, 1377686261, 1377686264, 1377686272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.873769998550415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:46:32.394305
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/46/image_17082025_19_46_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/19/46/image_17082025_19_46_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/19/46/image_17082025_19_46_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/19/45/image_17082025_19_46_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/19/45/image_17082025_19_45_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/13/51/image_17082025_13_51_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/46/image_17082025_19_46_44_10650.jpg', '/home/nano/Desktop/images/17082025/19/46/image_17082025_19_46_34_9636.jpg', '/home/nano/Desktop/images/17082025/19/46/image_17082025_19_46_14_10664.jpg', '/home/nano/Desktop/images/17082025/19/45/image_17082025_19_46_04_9648.jpg', '/home/nano/Desktop/images/17082025/19/45/image_17082025_19_45_54_9641.jpg', '/home/nano/Desktop/images/17082025/13/51/image_17082025_13_51_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/46/image_17082025_19_46_44_10650.jpg
/home/nano/Desktop/images/17082025/19/46/image_17082025_19_46_34_9636.jpg
/home/nano/Desktop/images/17082025/19/46/image_17082025_19_46_14_10664.jpg
/home/nano/Desktop/images/17082025/19/45/image_17082025_19_46_04_9648.jpg
/home/nano/Desktop/images/17082025/19/45/image_17082025_19_45_54_9641.jpg
/home/nano/Desktop/images/17082025/13/51/image_17082025_13_51_54_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686281","1377686283","1377686277","1377686285","1377686279","1377686278"],"photo_ids_order":["1377686277","1377686278","1377686279","1377686281","1377686283","1377686285"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/762a7b4f7b44ce08e45a4550d0eca825.jpg","text":"TemporaryFile(/tmp/multipartBody8118923267652317828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452854360,"filename":"image_17082025_19_46_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e0562e09fd37a176c49c76abe6ca49c4.jpg","text":"TemporaryFile(/tmp/multipartBody3726554955449219097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452854360,"filename":"image_17082025_19_45_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4e072c0d48d78344fdd827f0c350a870.jpg","text":"TemporaryFile(/tmp/multipartBody2480172709696543040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452854360,"filename":"image_17082025_19_46_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fb87282ab361630dfa9cc967f3b33ca6.jpg","text":"TemporaryFile(/tmp/multipartBody1429445979077665611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452854360,"filename":"image_17082025_13_51_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fc51914f0661caa18162b26b8dc0ea44.jpg","text":"TemporaryFile(/tmp/multipartBody7249156657386809682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452854360,"filename":"image_17082025_19_46_14_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5e727d0c34bff3c490827ec6e3f80297.jpg","text":"TemporaryFile(/tmp/multipartBody8742608934153816938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452854360,"filename":"image_17082025_19_46_34_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686279","file1":"1377686278","file0":"1377686277","file4":"1377686283","file5":"1377686285","file3":"1377686281"},"map_files_photo_id_array":[{"photo_id":"1377686285","filename":"file5"},{"photo_id":"1377686279","filename":"file2"},{"photo_id":"1377686283","filename":"file4"},{"photo_id":"1377686278","filename":"file1"},{"photo_id":"1377686277","filename":"file0"},{"photo_id":"1377686281","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686281":["hashtag1","hashtag2"]},{"1377686283":["hashtag1","hashtag2"]},{"1377686277":["hashtag1","hashtag2"]},{"1377686285":["hashtag1","hashtag2"]},{"1377686279":["hashtag1","hashtag2"]},{"1377686278":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686281, 1377686283, 1377686277, 1377686285, 1377686279, 1377686278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.196216106414795 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:47:17.561979
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/47/image_17082025_19_47_44_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/19/47/image_17082025_19_47_34_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/19/47/image_17082025_19_47_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/19/46/image_17082025_19_47_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/19/46/image_17082025_19_46_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/51/image_17082025_13_51_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/47/image_17082025_19_47_44_10669.jpg', '/home/nano/Desktop/images/17082025/19/47/image_17082025_19_47_34_9656.jpg', '/home/nano/Desktop/images/17082025/19/47/image_17082025_19_47_14_10665.jpg', '/home/nano/Desktop/images/17082025/19/46/image_17082025_19_47_04_9644.jpg', '/home/nano/Desktop/images/17082025/19/46/image_17082025_19_46_54_9638.jpg', '/home/nano/Desktop/images/17082025/13/51/image_17082025_13_51_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/47/image_17082025_19_47_44_10669.jpg
/home/nano/Desktop/images/17082025/19/47/image_17082025_19_47_34_9656.jpg
/home/nano/Desktop/images/17082025/19/47/image_17082025_19_47_14_10665.jpg
/home/nano/Desktop/images/17082025/19/46/image_17082025_19_47_04_9644.jpg
/home/nano/Desktop/images/17082025/19/46/image_17082025_19_46_54_9638.jpg
/home/nano/Desktop/images/17082025/13/51/image_17082025_13_51_44_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686308","1377686297","1377686303","1377686306","1377686309","1377686300"],"photo_ids_order":["1377686297","1377686300","1377686303","1377686306","1377686308","1377686309"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f310135a15f6103afd148102655384e9.jpg","text":"TemporaryFile(/tmp/multipartBody4257084698564920521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452899349,"filename":"image_17082025_19_46_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1e488fa9ffc93dd917bedc111b5f2fb5.jpg","text":"TemporaryFile(/tmp/multipartBody1904719267093031343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452899349,"filename":"image_17082025_19_47_44_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aab1a423beb6a4bc5137072836861051.jpg","text":"TemporaryFile(/tmp/multipartBody2629140509661632253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452899349,"filename":"image_17082025_19_47_14_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2599bf2f9338cddbc2d59f876d988ee6.jpg","text":"TemporaryFile(/tmp/multipartBody4822153881382251954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452899349,"filename":"image_17082025_19_47_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/252a509f32195b3e3d445d477aae6db2.jpg","text":"TemporaryFile(/tmp/multipartBody8411845520730466579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452899349,"filename":"image_17082025_13_51_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/48d97cb5a71308573413dae328e4a0db.jpg","text":"TemporaryFile(/tmp/multipartBody5294809115221302900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452899349,"filename":"image_17082025_19_47_34_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686303","file1":"1377686300","file0":"1377686297","file4":"1377686308","file5":"1377686309","file3":"1377686306"},"map_files_photo_id_array":[{"photo_id":"1377686309","filename":"file5"},{"photo_id":"1377686303","filename":"file2"},{"photo_id":"1377686308","filename":"file4"},{"photo_id":"1377686300","filename":"file1"},{"photo_id":"1377686297","filename":"file0"},{"photo_id":"1377686306","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686308":["hashtag1","hashtag2"]},{"1377686297":["hashtag1","hashtag2"]},{"1377686303":["hashtag1","hashtag2"]},{"1377686306":["hashtag1","hashtag2"]},{"1377686309":["hashtag1","hashtag2"]},{"1377686300":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686308, 1377686297, 1377686303, 1377686306, 1377686309, 1377686300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81959342956543 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:48:03.162447
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/51/image_17082025_13_51_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/51/image_17082025_13_51_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/13/50/image_17082025_13_51_04_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/13/50/image_17082025_13_50_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/50/image_17082025_13_50_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/50/image_17082025_13_50_34_10664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/13/51/image_17082025_13_51_34_9637.jpg', '/home/nano/Desktop/images/17082025/13/51/image_17082025_13_51_14_9660.jpg', '/home/nano/Desktop/images/17082025/13/50/image_17082025_13_51_04_10648.jpg', '/home/nano/Desktop/images/17082025/13/50/image_17082025_13_50_54_9638.jpg', '/home/nano/Desktop/images/17082025/13/50/image_17082025_13_50_44_9637.jpg', '/home/nano/Desktop/images/17082025/13/50/image_17082025_13_50_34_10664.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/13/51/image_17082025_13_51_34_9637.jpg
/home/nano/Desktop/images/17082025/13/51/image_17082025_13_51_14_9660.jpg
/home/nano/Desktop/images/17082025/13/50/image_17082025_13_51_04_10648.jpg
/home/nano/Desktop/images/17082025/13/50/image_17082025_13_50_54_9638.jpg
/home/nano/Desktop/images/17082025/13/50/image_17082025_13_50_44_9637.jpg
/home/nano/Desktop/images/17082025/13/50/image_17082025_13_50_34_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686332","1377686314","1377686323","1377686325","1377686328","1377686330"],"photo_ids_order":["1377686314","1377686323","1377686325","1377686328","1377686330","1377686332"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7c2cb2b0f61efa196f059a749b71e021.jpg","text":"TemporaryFile(/tmp/multipartBody6906024171312332516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452944828,"filename":"image_17082025_13_50_34_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2c40509753ad94b4118ba8028efc07d8.jpg","text":"TemporaryFile(/tmp/multipartBody6514565197758693963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452944828,"filename":"image_17082025_13_51_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dc681d92c46282560e65a13b9e075225.jpg","text":"TemporaryFile(/tmp/multipartBody8415926419535914198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452944828,"filename":"image_17082025_13_51_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/83bb1f2440089331ffc07aa6ca4a4179.jpg","text":"TemporaryFile(/tmp/multipartBody1405914415878567406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452944828,"filename":"image_17082025_13_51_04_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/00d4ad71bf3893a5fa86a2f3400542b6.jpg","text":"TemporaryFile(/tmp/multipartBody4103334563285175154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452944828,"filename":"image_17082025_13_50_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6f308071832e009369ca3768f97cd45a.jpg","text":"TemporaryFile(/tmp/multipartBody5910904568191149832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755452944828,"filename":"image_17082025_13_50_44_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686325","file1":"1377686323","file0":"1377686314","file4":"1377686330","file5":"1377686332","file3":"1377686328"},"map_files_photo_id_array":[{"photo_id":"1377686332","filename":"file5"},{"photo_id":"1377686325","filename":"file2"},{"photo_id":"1377686330","filename":"file4"},{"photo_id":"1377686323","filename":"file1"},{"photo_id":"1377686314","filename":"file0"},{"photo_id":"1377686328","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686332":["hashtag1","hashtag2"]},{"1377686314":["hashtag1","hashtag2"]},{"1377686323":["hashtag1","hashtag2"]},{"1377686325":["hashtag1","hashtag2"]},{"1377686328":["hashtag1","hashtag2"]},{"1377686330":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686332, 1377686314, 1377686323, 1377686325, 1377686328, 1377686330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11260223388672 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:48:47.582091
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_14_10687.jpg', 2), ('/home/nano/Desktop/images/17082025/19/47/image_17082025_19_48_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/19/47/image_17082025_19_47_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_44_10651.jpg', '/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_34_9641.jpg', '/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_24_9642.jpg', '/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_14_10687.jpg', '/home/nano/Desktop/images/17082025/19/47/image_17082025_19_48_04_9653.jpg', '/home/nano/Desktop/images/17082025/19/47/image_17082025_19_47_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_44_10651.jpg
/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_34_9641.jpg
/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_24_9642.jpg
/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_14_10687.jpg
/home/nano/Desktop/images/17082025/19/47/image_17082025_19_48_04_9653.jpg
/home/nano/Desktop/images/17082025/19/47/image_17082025_19_47_54_9638.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.630800485610962 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:49:03.534366
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_14_10687.jpg', 2), ('/home/nano/Desktop/images/17082025/19/47/image_17082025_19_48_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/19/47/image_17082025_19_47_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_44_10651.jpg', '/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_34_9641.jpg', '/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_24_9642.jpg', '/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_14_10687.jpg', '/home/nano/Desktop/images/17082025/19/47/image_17082025_19_48_04_9653.jpg', '/home/nano/Desktop/images/17082025/19/47/image_17082025_19_47_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_44_10651.jpg
/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_34_9641.jpg
/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_24_9642.jpg
/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_14_10687.jpg
/home/nano/Desktop/images/17082025/19/47/image_17082025_19_48_04_9653.jpg
/home/nano/Desktop/images/17082025/19/47/image_17082025_19_47_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686353","1377686355","1377686348","1377686357","1377686351","1377686339"],"photo_ids_order":["1377686339","1377686348","1377686351","1377686353","1377686355","1377686357"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0383253ed860a0376936d2049ca64ac3.jpg","text":"TemporaryFile(/tmp/multipartBody8704116936957898184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453005129,"filename":"image_17082025_19_48_14_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a9fdbf24c935215c9cf4f5bf288238e3.jpg","text":"TemporaryFile(/tmp/multipartBody1504024102193438821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453005129,"filename":"image_17082025_19_48_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5bb18a5cf32eb676a4af2d1fc0d67380.jpg","text":"TemporaryFile(/tmp/multipartBody3726992214779968031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453005129,"filename":"image_17082025_19_48_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/378231fbec8e00ff23ccfea56bdd0903.jpg","text":"TemporaryFile(/tmp/multipartBody5046678972208469183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453005129,"filename":"image_17082025_19_47_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fb2a68b02085fb1c2c1ed52c32bb2daa.jpg","text":"TemporaryFile(/tmp/multipartBody8055520047352344947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453005129,"filename":"image_17082025_19_48_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/97dc900f39094ec5f2226c8e9b076828.jpg","text":"TemporaryFile(/tmp/multipartBody283363684818361608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453005129,"filename":"image_17082025_19_48_44_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686351","file1":"1377686348","file0":"1377686339","file4":"1377686355","file5":"1377686357","file3":"1377686353"},"map_files_photo_id_array":[{"photo_id":"1377686357","filename":"file5"},{"photo_id":"1377686351","filename":"file2"},{"photo_id":"1377686355","filename":"file4"},{"photo_id":"1377686348","filename":"file1"},{"photo_id":"1377686339","filename":"file0"},{"photo_id":"1377686353","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686353":["hashtag1","hashtag2"]},{"1377686355":["hashtag1","hashtag2"]},{"1377686348":["hashtag1","hashtag2"]},{"1377686357":["hashtag1","hashtag2"]},{"1377686351":["hashtag1","hashtag2"]},{"1377686339":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686353, 1377686355, 1377686348, 1377686357, 1377686351, 1377686339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85325837135315 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:49:47.705379
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/49/image_17082025_19_49_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/19/49/image_17082025_19_49_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/49/image_17082025_19_49_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/19/48/image_17082025_19_49_05_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/13/50/image_17082025_13_50_24_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/49/image_17082025_19_49_34_10650.jpg', '/home/nano/Desktop/images/17082025/19/49/image_17082025_19_49_24_9640.jpg', '/home/nano/Desktop/images/17082025/19/49/image_17082025_19_49_14_9663.jpg', '/home/nano/Desktop/images/17082025/19/48/image_17082025_19_49_05_10663.jpg', '/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_54_9641.jpg', '/home/nano/Desktop/images/17082025/13/50/image_17082025_13_50_24_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/49/image_17082025_19_49_34_10650.jpg
/home/nano/Desktop/images/17082025/19/49/image_17082025_19_49_24_9640.jpg
/home/nano/Desktop/images/17082025/19/49/image_17082025_19_49_14_9663.jpg
/home/nano/Desktop/images/17082025/19/48/image_17082025_19_49_05_10663.jpg
/home/nano/Desktop/images/17082025/19/48/image_17082025_19_48_54_9641.jpg
/home/nano/Desktop/images/17082025/13/50/image_17082025_13_50_24_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686373","1377686361","1377686364","1377686360","1377686363","1377686359"],"photo_ids_order":["1377686359","1377686360","1377686361","1377686363","1377686364","1377686373"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/73d3daa9f39aa8b4e707fd391225d658.jpg","text":"TemporaryFile(/tmp/multipartBody485195619848381943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453049606,"filename":"image_17082025_13_50_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0d9deb2b4a0e911ddd0c1a7a2c4adf9a.jpg","text":"TemporaryFile(/tmp/multipartBody2304139187601813560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453049606,"filename":"image_17082025_19_49_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/05241a22c27e27507d63566f7fd4c7a4.jpg","text":"TemporaryFile(/tmp/multipartBody502370731711647600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453049606,"filename":"image_17082025_19_48_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7802922aa05b92983f72571c817117aa.jpg","text":"TemporaryFile(/tmp/multipartBody4061495340862283034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453049606,"filename":"image_17082025_19_49_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d2fc8dc38188b4f3d623283cae30ad0b.jpg","text":"TemporaryFile(/tmp/multipartBody2456427158146638072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453049606,"filename":"image_17082025_19_49_05_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cc9c578d4516473e62849990da1bffb9.jpg","text":"TemporaryFile(/tmp/multipartBody2951618604829318540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453049606,"filename":"image_17082025_19_49_34_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686361","file1":"1377686360","file0":"1377686359","file4":"1377686364","file5":"1377686373","file3":"1377686363"},"map_files_photo_id_array":[{"photo_id":"1377686373","filename":"file5"},{"photo_id":"1377686361","filename":"file2"},{"photo_id":"1377686364","filename":"file4"},{"photo_id":"1377686360","filename":"file1"},{"photo_id":"1377686359","filename":"file0"},{"photo_id":"1377686363","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686373":["hashtag1","hashtag2"]},{"1377686361":["hashtag1","hashtag2"]},{"1377686364":["hashtag1","hashtag2"]},{"1377686360":["hashtag1","hashtag2"]},{"1377686363":["hashtag1","hashtag2"]},{"1377686359":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686373, 1377686361, 1377686364, 1377686360, 1377686363, 1377686359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.34427618980408 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:50:31.810004
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/50/image_17082025_19_50_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/19/50/image_17082025_19_50_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/19/50/image_17082025_19_50_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/19/49/image_17082025_19_50_04_10654.jpg', 2), ('/home/nano/Desktop/images/17082025/19/49/image_17082025_19_49_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/50/image_17082025_13_50_14_9662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/50/image_17082025_19_50_44_9639.jpg', '/home/nano/Desktop/images/17082025/19/50/image_17082025_19_50_34_10649.jpg', '/home/nano/Desktop/images/17082025/19/50/image_17082025_19_50_14_9657.jpg', '/home/nano/Desktop/images/17082025/19/49/image_17082025_19_50_04_10654.jpg', '/home/nano/Desktop/images/17082025/19/49/image_17082025_19_49_44_9638.jpg', '/home/nano/Desktop/images/17082025/13/50/image_17082025_13_50_14_9662.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/50/image_17082025_19_50_44_9639.jpg
/home/nano/Desktop/images/17082025/19/50/image_17082025_19_50_34_10649.jpg
/home/nano/Desktop/images/17082025/19/50/image_17082025_19_50_14_9657.jpg
/home/nano/Desktop/images/17082025/19/49/image_17082025_19_50_04_10654.jpg
/home/nano/Desktop/images/17082025/19/49/image_17082025_19_49_44_9638.jpg
/home/nano/Desktop/images/17082025/13/50/image_17082025_13_50_14_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686380","1377686382","1377686379","1377686381","1377686378","1377686383"],"photo_ids_order":["1377686378","1377686379","1377686380","1377686381","1377686382","1377686383"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fa47de0ac65ffc49eafc2ea6e921a5d3.jpg","text":"TemporaryFile(/tmp/multipartBody5066123031284336984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453093303,"filename":"image_17082025_19_50_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1ed488cffda955ff368ab886eb48e678.jpg","text":"TemporaryFile(/tmp/multipartBody724878602866000014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453093303,"filename":"image_17082025_19_49_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5a115816dd883cb3e58e4ec7225a761d.jpg","text":"TemporaryFile(/tmp/multipartBody7656701158593609070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453093303,"filename":"image_17082025_19_50_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cd37b3892ba7c81286f5c595ca97cc1b.jpg","text":"TemporaryFile(/tmp/multipartBody7133519953661375759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453093303,"filename":"image_17082025_19_50_04_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/09daf48a6a502d804fd3fb41c67c1cb8.jpg","text":"TemporaryFile(/tmp/multipartBody3168744099885614480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453093303,"filename":"image_17082025_19_50_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/774ec8a9a0018eb3b4992fe41096d635.jpg","text":"TemporaryFile(/tmp/multipartBody8901050622416930758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453093303,"filename":"image_17082025_13_50_14_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686380","file1":"1377686379","file0":"1377686378","file4":"1377686382","file5":"1377686383","file3":"1377686381"},"map_files_photo_id_array":[{"photo_id":"1377686383","filename":"file5"},{"photo_id":"1377686380","filename":"file2"},{"photo_id":"1377686382","filename":"file4"},{"photo_id":"1377686379","filename":"file1"},{"photo_id":"1377686378","filename":"file0"},{"photo_id":"1377686381","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686380":["hashtag1","hashtag2"]},{"1377686382":["hashtag1","hashtag2"]},{"1377686379":["hashtag1","hashtag2"]},{"1377686381":["hashtag1","hashtag2"]},{"1377686378":["hashtag1","hashtag2"]},{"1377686383":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686380, 1377686382, 1377686379, 1377686381, 1377686378, 1377686383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28522253036499 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:51:16.921797
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/51/image_17082025_19_51_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/51/image_17082025_19_51_34_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/19/51/image_17082025_19_51_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/19/51/image_17082025_19_51_14_9680.jpg', 2), ('/home/nano/Desktop/images/17082025/19/50/image_17082025_19_51_04_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/19/50/image_17082025_19_50_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/51/image_17082025_19_51_44_9640.jpg', '/home/nano/Desktop/images/17082025/19/51/image_17082025_19_51_34_10652.jpg', '/home/nano/Desktop/images/17082025/19/51/image_17082025_19_51_24_9641.jpg', '/home/nano/Desktop/images/17082025/19/51/image_17082025_19_51_14_9680.jpg', '/home/nano/Desktop/images/17082025/19/50/image_17082025_19_51_04_10672.jpg', '/home/nano/Desktop/images/17082025/19/50/image_17082025_19_50_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/51/image_17082025_19_51_44_9640.jpg
/home/nano/Desktop/images/17082025/19/51/image_17082025_19_51_34_10652.jpg
/home/nano/Desktop/images/17082025/19/51/image_17082025_19_51_24_9641.jpg
/home/nano/Desktop/images/17082025/19/51/image_17082025_19_51_14_9680.jpg
/home/nano/Desktop/images/17082025/19/50/image_17082025_19_51_04_10672.jpg
/home/nano/Desktop/images/17082025/19/50/image_17082025_19_50_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686404","1377686400","1377686396","1377686402","1377686405","1377686398"],"photo_ids_order":["1377686396","1377686398","1377686400","1377686402","1377686404","1377686405"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/48706281569308e8fe109fc2a5c4dc52.jpg","text":"TemporaryFile(/tmp/multipartBody4056522071798864898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453138605,"filename":"image_17082025_19_51_04_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6e51887e35b149770fe0b6d28647e203.jpg","text":"TemporaryFile(/tmp/multipartBody6865933009985313906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453138605,"filename":"image_17082025_19_51_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3e242e09d1043e1eba3b873bacfd730e.jpg","text":"TemporaryFile(/tmp/multipartBody4529282865530799879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453138605,"filename":"image_17082025_19_51_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/786df7614fc1e079bdccb5ca8dc3defb.jpg","text":"TemporaryFile(/tmp/multipartBody4241618483274455564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453138605,"filename":"image_17082025_19_51_14_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/295dcab49a25add1ec519782af44c1fd.jpg","text":"TemporaryFile(/tmp/multipartBody1268770022673152341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453138605,"filename":"image_17082025_19_50_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ee74a225b130f603f5522e20ebaf5f02.jpg","text":"TemporaryFile(/tmp/multipartBody5815925304763213421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453138605,"filename":"image_17082025_19_51_34_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686400","file1":"1377686398","file0":"1377686396","file4":"1377686404","file5":"1377686405","file3":"1377686402"},"map_files_photo_id_array":[{"photo_id":"1377686405","filename":"file5"},{"photo_id":"1377686400","filename":"file2"},{"photo_id":"1377686404","filename":"file4"},{"photo_id":"1377686398","filename":"file1"},{"photo_id":"1377686396","filename":"file0"},{"photo_id":"1377686402","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686404":["hashtag1","hashtag2"]},{"1377686400":["hashtag1","hashtag2"]},{"1377686396":["hashtag1","hashtag2"]},{"1377686402":["hashtag1","hashtag2"]},{"1377686405":["hashtag1","hashtag2"]},{"1377686398":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686404, 1377686400, 1377686396, 1377686402, 1377686405, 1377686398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59828424453735 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:52:02.513859
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/49/image_17082025_13_50_04_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_54_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_14_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/13/49/image_17082025_13_50_04_10657.jpg', '/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_54_9653.jpg', '/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_44_9639.jpg', '/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_34_10648.jpg', '/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_24_9638.jpg', '/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_14_9653.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/13/49/image_17082025_13_50_04_10657.jpg
/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_54_9653.jpg
/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_44_9639.jpg
/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_34_10648.jpg
/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_24_9638.jpg
/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_14_9653.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5074219703674316 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:52:17.034246
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/52/image_17082025_19_52_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/19/52/image_17082025_19_52_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/52/image_17082025_19_52_14_9672.jpg', 2), ('/home/nano/Desktop/images/17082025/19/51/image_17082025_19_52_04_10659.jpg', 2), ('/home/nano/Desktop/images/17082025/19/51/image_17082025_19_51_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/13/49/image_17082025_13_50_04_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/52/image_17082025_19_52_44_9641.jpg', '/home/nano/Desktop/images/17082025/19/52/image_17082025_19_52_34_9640.jpg', '/home/nano/Desktop/images/17082025/19/52/image_17082025_19_52_14_9672.jpg', '/home/nano/Desktop/images/17082025/19/51/image_17082025_19_52_04_10659.jpg', '/home/nano/Desktop/images/17082025/19/51/image_17082025_19_51_54_9640.jpg', '/home/nano/Desktop/images/17082025/13/49/image_17082025_13_50_04_10657.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/52/image_17082025_19_52_44_9641.jpg
/home/nano/Desktop/images/17082025/19/52/image_17082025_19_52_34_9640.jpg
/home/nano/Desktop/images/17082025/19/52/image_17082025_19_52_14_9672.jpg
/home/nano/Desktop/images/17082025/19/51/image_17082025_19_52_04_10659.jpg
/home/nano/Desktop/images/17082025/19/51/image_17082025_19_51_54_9640.jpg
/home/nano/Desktop/images/17082025/13/49/image_17082025_13_50_04_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686428","1377686425","1377686419","1377686427","1377686423","1377686426"],"photo_ids_order":["1377686419","1377686423","1377686425","1377686426","1377686427","1377686428"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cf0a823ed386cab903b6a37b295fb011.jpg","text":"TemporaryFile(/tmp/multipartBody574527697317773371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453198851,"filename":"image_17082025_13_50_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8fc3d0cd163e66532791ca9bac7deeb9.jpg","text":"TemporaryFile(/tmp/multipartBody2874481300040607217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453198851,"filename":"image_17082025_19_52_14_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cf440c0e092f545c13bb04eaaba24025.jpg","text":"TemporaryFile(/tmp/multipartBody8610880582591751482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453198851,"filename":"image_17082025_19_52_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0a27cfa5575e2dccdeae9337d0ce5517.jpg","text":"TemporaryFile(/tmp/multipartBody7380093988027979800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453198851,"filename":"image_17082025_19_51_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e740099d99c40a67f94ee5ee9b402126.jpg","text":"TemporaryFile(/tmp/multipartBody731114360900936097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453198851,"filename":"image_17082025_19_52_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9df680f1922f83b6ab8474c9a4f2b3d6.jpg","text":"TemporaryFile(/tmp/multipartBody3546712828296959391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453198851,"filename":"image_17082025_19_52_04_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686425","file1":"1377686423","file0":"1377686419","file4":"1377686427","file5":"1377686428","file3":"1377686426"},"map_files_photo_id_array":[{"photo_id":"1377686428","filename":"file5"},{"photo_id":"1377686425","filename":"file2"},{"photo_id":"1377686427","filename":"file4"},{"photo_id":"1377686423","filename":"file1"},{"photo_id":"1377686419","filename":"file0"},{"photo_id":"1377686426","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686428":["hashtag1","hashtag2"]},{"1377686425":["hashtag1","hashtag2"]},{"1377686419":["hashtag1","hashtag2"]},{"1377686427":["hashtag1","hashtag2"]},{"1377686423":["hashtag1","hashtag2"]},{"1377686426":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686428, 1377686425, 1377686419, 1377686427, 1377686423, 1377686426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.260765075683594 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:53:02.907093
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_54_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/13/48/image_17082025_13_49_04_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_54_9653.jpg', '/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_44_9639.jpg', '/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_34_10648.jpg', '/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_24_9638.jpg', '/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_14_9653.jpg', '/home/nano/Desktop/images/17082025/13/48/image_17082025_13_49_04_10654.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_54_9653.jpg
/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_44_9639.jpg
/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_34_10648.jpg
/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_24_9638.jpg
/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_14_9653.jpg
/home/nano/Desktop/images/17082025/13/48/image_17082025_13_49_04_10654.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6926286220550537 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:53:17.124616
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/53/image_17082025_19_53_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/19/53/image_17082025_19_53_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/19/53/image_17082025_19_53_24_10654.jpg', 2), ('/home/nano/Desktop/images/17082025/19/53/image_17082025_19_53_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/19/52/image_17082025_19_53_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/19/52/image_17082025_19_52_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/53/image_17082025_19_53_44_9641.jpg', '/home/nano/Desktop/images/17082025/19/53/image_17082025_19_53_34_9642.jpg', '/home/nano/Desktop/images/17082025/19/53/image_17082025_19_53_24_10654.jpg', '/home/nano/Desktop/images/17082025/19/53/image_17082025_19_53_14_9662.jpg', '/home/nano/Desktop/images/17082025/19/52/image_17082025_19_53_04_9666.jpg', '/home/nano/Desktop/images/17082025/19/52/image_17082025_19_52_54_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/53/image_17082025_19_53_44_9641.jpg
/home/nano/Desktop/images/17082025/19/53/image_17082025_19_53_34_9642.jpg
/home/nano/Desktop/images/17082025/19/53/image_17082025_19_53_24_10654.jpg
/home/nano/Desktop/images/17082025/19/53/image_17082025_19_53_14_9662.jpg
/home/nano/Desktop/images/17082025/19/52/image_17082025_19_53_04_9666.jpg
/home/nano/Desktop/images/17082025/19/52/image_17082025_19_52_54_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686455","1377686457","1377686453","1377686447","1377686456","1377686450"],"photo_ids_order":["1377686447","1377686450","1377686453","1377686455","1377686456","1377686457"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f1df8ebd3b756642df237651f2522ce8.jpg","text":"TemporaryFile(/tmp/multipartBody6716896165652185289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453258662,"filename":"image_17082025_19_53_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c870a7951cf77e2825f612bdf8250e71.jpg","text":"TemporaryFile(/tmp/multipartBody8296111901101453496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453258662,"filename":"image_17082025_19_52_54_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/992ac06e73dde043dea5a26f4fa889d3.jpg","text":"TemporaryFile(/tmp/multipartBody8852872931039583694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453258662,"filename":"image_17082025_19_53_24_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/30ef4de974ea9f1e3e5e05f78a51acef.jpg","text":"TemporaryFile(/tmp/multipartBody8007009938900213695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453258662,"filename":"image_17082025_19_53_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5e73f444114c5cc8183ee23bf75e9a1f.jpg","text":"TemporaryFile(/tmp/multipartBody4032695200421784283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453258662,"filename":"image_17082025_19_53_04_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8286ac9412c6cc586443847742cc9c9f.jpg","text":"TemporaryFile(/tmp/multipartBody3339611123417038745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453258662,"filename":"image_17082025_19_53_34_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686453","file1":"1377686450","file0":"1377686447","file4":"1377686456","file5":"1377686457","file3":"1377686455"},"map_files_photo_id_array":[{"photo_id":"1377686457","filename":"file5"},{"photo_id":"1377686453","filename":"file2"},{"photo_id":"1377686456","filename":"file4"},{"photo_id":"1377686450","filename":"file1"},{"photo_id":"1377686447","filename":"file0"},{"photo_id":"1377686455","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686455":["hashtag1","hashtag2"]},{"1377686457":["hashtag1","hashtag2"]},{"1377686453":["hashtag1","hashtag2"]},{"1377686447":["hashtag1","hashtag2"]},{"1377686456":["hashtag1","hashtag2"]},{"1377686450":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686455, 1377686457, 1377686453, 1377686447, 1377686456, 1377686450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41030764579773 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:54:03.196551
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_54_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/13/48/image_17082025_13_49_04_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_54_9653.jpg', '/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_44_9639.jpg', '/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_34_10648.jpg', '/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_24_9638.jpg', '/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_14_9653.jpg', '/home/nano/Desktop/images/17082025/13/48/image_17082025_13_49_04_10654.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_54_9653.jpg
/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_44_9639.jpg
/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_34_10648.jpg
/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_24_9638.jpg
/home/nano/Desktop/images/17082025/13/49/image_17082025_13_49_14_9653.jpg
/home/nano/Desktop/images/17082025/13/48/image_17082025_13_49_04_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686473","1377686467","1377686469","1377686471","1377686474","1377686459"],"photo_ids_order":["1377686459","1377686467","1377686469","1377686471","1377686473","1377686474"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/98d2a9b03249af46128825628f3e5d07.jpg","text":"TemporaryFile(/tmp/multipartBody4018912678358369127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453305237,"filename":"image_17082025_13_49_14_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/020dd6d4b7d60b511ee9bcefaa44f506.jpg","text":"TemporaryFile(/tmp/multipartBody768263559257980861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453305237,"filename":"image_17082025_13_49_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/995609205b5bb0c432d8becd1bb86948.jpg","text":"TemporaryFile(/tmp/multipartBody4805000694684833918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453305237,"filename":"image_17082025_13_49_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ff0de10406e5a03b29a1a1cf7cf7f6c0.jpg","text":"TemporaryFile(/tmp/multipartBody7480079818826787585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453305237,"filename":"image_17082025_13_49_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a3059c5bce815dcdc6e63b1cf71476de.jpg","text":"TemporaryFile(/tmp/multipartBody3175235768787477726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453305237,"filename":"image_17082025_13_49_04_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e06701b8eab548464d90a65a793d28f4.jpg","text":"TemporaryFile(/tmp/multipartBody2300000671731698187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453305237,"filename":"image_17082025_13_49_54_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686469","file1":"1377686467","file0":"1377686459","file4":"1377686473","file5":"1377686474","file3":"1377686471"},"map_files_photo_id_array":[{"photo_id":"1377686474","filename":"file5"},{"photo_id":"1377686469","filename":"file2"},{"photo_id":"1377686473","filename":"file4"},{"photo_id":"1377686467","filename":"file1"},{"photo_id":"1377686459","filename":"file0"},{"photo_id":"1377686471","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686473":["hashtag1","hashtag2"]},{"1377686467":["hashtag1","hashtag2"]},{"1377686469":["hashtag1","hashtag2"]},{"1377686471":["hashtag1","hashtag2"]},{"1377686474":["hashtag1","hashtag2"]},{"1377686459":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686473, 1377686467, 1377686469, 1377686471, 1377686474, 1377686459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.987183809280396 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:54:47.219223
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/54/image_17082025_19_54_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/19/54/image_17082025_19_54_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/19/54/image_17082025_19_54_24_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/19/54/image_17082025_19_54_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/19/53/image_17082025_19_53_54_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/54/image_17082025_19_54_44_9642.jpg', '/home/nano/Desktop/images/17082025/19/54/image_17082025_19_54_34_9641.jpg', '/home/nano/Desktop/images/17082025/19/54/image_17082025_19_54_24_10651.jpg', '/home/nano/Desktop/images/17082025/19/54/image_17082025_19_54_14_9657.jpg', '/home/nano/Desktop/images/17082025/19/53/image_17082025_19_53_54_10653.jpg', '/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/54/image_17082025_19_54_44_9642.jpg
/home/nano/Desktop/images/17082025/19/54/image_17082025_19_54_34_9641.jpg
/home/nano/Desktop/images/17082025/19/54/image_17082025_19_54_24_10651.jpg
/home/nano/Desktop/images/17082025/19/54/image_17082025_19_54_14_9657.jpg
/home/nano/Desktop/images/17082025/19/53/image_17082025_19_53_54_10653.jpg
/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686481","1377686483","1377686492","1377686477","1377686476","1377686479"],"photo_ids_order":["1377686476","1377686477","1377686479","1377686481","1377686483","1377686492"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/82e52cf13de94a4491dc4c4df652ae67.jpg","text":"TemporaryFile(/tmp/multipartBody2678838545009193726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453348997,"filename":"image_17082025_19_54_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d16649107c4280277c92ac7a98dc6679.jpg","text":"TemporaryFile(/tmp/multipartBody6058917935407995142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453348997,"filename":"image_17082025_19_53_54_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8d55ea48320526b60b40fb9bfba903a1.jpg","text":"TemporaryFile(/tmp/multipartBody4053806235743114808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453348997,"filename":"image_17082025_13_48_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e4ab4dbef39e3795503a51db1dcd3fc9.jpg","text":"TemporaryFile(/tmp/multipartBody2406170734408203616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453348997,"filename":"image_17082025_19_54_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1d7ecbbdd0ec874e2863ffe806084c54.jpg","text":"TemporaryFile(/tmp/multipartBody4802056003770070894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453348997,"filename":"image_17082025_19_54_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0aa1f435fc2727af5188babef921bfd5.jpg","text":"TemporaryFile(/tmp/multipartBody7210184593546015536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453348997,"filename":"image_17082025_19_54_24_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686479","file1":"1377686477","file0":"1377686476","file4":"1377686483","file5":"1377686492","file3":"1377686481"},"map_files_photo_id_array":[{"photo_id":"1377686492","filename":"file5"},{"photo_id":"1377686479","filename":"file2"},{"photo_id":"1377686483","filename":"file4"},{"photo_id":"1377686477","filename":"file1"},{"photo_id":"1377686476","filename":"file0"},{"photo_id":"1377686481","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686481":["hashtag1","hashtag2"]},{"1377686483":["hashtag1","hashtag2"]},{"1377686492":["hashtag1","hashtag2"]},{"1377686477":["hashtag1","hashtag2"]},{"1377686476":["hashtag1","hashtag2"]},{"1377686479":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686481, 1377686483, 1377686492, 1377686477, 1377686476, 1377686479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39774966239929 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:55:32.350739
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/55/image_17082025_19_55_45_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/19/55/image_17082025_19_55_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/55/image_17082025_19_55_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/19/55/image_17082025_19_55_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/19/54/image_17082025_19_55_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/19/54/image_17082025_19_54_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/55/image_17082025_19_55_45_10648.jpg', '/home/nano/Desktop/images/17082025/19/55/image_17082025_19_55_34_9640.jpg', '/home/nano/Desktop/images/17082025/19/55/image_17082025_19_55_24_10649.jpg', '/home/nano/Desktop/images/17082025/19/55/image_17082025_19_55_14_9657.jpg', '/home/nano/Desktop/images/17082025/19/54/image_17082025_19_55_04_9642.jpg', '/home/nano/Desktop/images/17082025/19/54/image_17082025_19_54_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/55/image_17082025_19_55_45_10648.jpg
/home/nano/Desktop/images/17082025/19/55/image_17082025_19_55_34_9640.jpg
/home/nano/Desktop/images/17082025/19/55/image_17082025_19_55_24_10649.jpg
/home/nano/Desktop/images/17082025/19/55/image_17082025_19_55_14_9657.jpg
/home/nano/Desktop/images/17082025/19/54/image_17082025_19_55_04_9642.jpg
/home/nano/Desktop/images/17082025/19/54/image_17082025_19_54_54_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686500","1377686503","1377686505","1377686498","1377686502","1377686504"],"photo_ids_order":["1377686498","1377686500","1377686502","1377686503","1377686504","1377686505"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/54e45e765850a2bee1be57933371afd8.jpg","text":"TemporaryFile(/tmp/multipartBody2907718382271360598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453394211,"filename":"image_17082025_19_55_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/51721cda9641dc3fc9ec8e4f0f6d7d94.jpg","text":"TemporaryFile(/tmp/multipartBody2411188838820465262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453394211,"filename":"image_17082025_19_55_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3503d8ccd463c9aa9b93f405904147bc.jpg","text":"TemporaryFile(/tmp/multipartBody62202951744413233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453394211,"filename":"image_17082025_19_54_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/77e390dea4e4e45de7288bef8d4edeb0.jpg","text":"TemporaryFile(/tmp/multipartBody4506222237704637970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453394211,"filename":"image_17082025_19_55_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a1f2dfc06a60c2277ff4994eac8e6ad9.jpg","text":"TemporaryFile(/tmp/multipartBody2363121800840072344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453394211,"filename":"image_17082025_19_55_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/60c4369446ee7adf6fcbf7ab07596fcc.jpg","text":"TemporaryFile(/tmp/multipartBody3313376703200054043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453394211,"filename":"image_17082025_19_55_04_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686502","file1":"1377686500","file0":"1377686498","file4":"1377686504","file5":"1377686505","file3":"1377686503"},"map_files_photo_id_array":[{"photo_id":"1377686505","filename":"file5"},{"photo_id":"1377686502","filename":"file2"},{"photo_id":"1377686504","filename":"file4"},{"photo_id":"1377686500","filename":"file1"},{"photo_id":"1377686498","filename":"file0"},{"photo_id":"1377686503","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686500":["hashtag1","hashtag2"]},{"1377686503":["hashtag1","hashtag2"]},{"1377686505":["hashtag1","hashtag2"]},{"1377686498":["hashtag1","hashtag2"]},{"1377686502":["hashtag1","hashtag2"]},{"1377686504":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686500, 1377686503, 1377686505, 1377686498, 1377686502, 1377686504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91453576087952 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:56:17.428390
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/56/image_17082025_19_56_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/19/56/image_17082025_19_56_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/19/56/image_17082025_19_56_15_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/19/55/image_17082025_19_56_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/19/55/image_17082025_19_55_54_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/56/image_17082025_19_56_44_10648.jpg', '/home/nano/Desktop/images/17082025/19/56/image_17082025_19_56_24_9637.jpg', '/home/nano/Desktop/images/17082025/19/56/image_17082025_19_56_15_10667.jpg', '/home/nano/Desktop/images/17082025/19/55/image_17082025_19_56_04_9661.jpg', '/home/nano/Desktop/images/17082025/19/55/image_17082025_19_55_54_9649.jpg', '/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/56/image_17082025_19_56_44_10648.jpg
/home/nano/Desktop/images/17082025/19/56/image_17082025_19_56_24_9637.jpg
/home/nano/Desktop/images/17082025/19/56/image_17082025_19_56_15_10667.jpg
/home/nano/Desktop/images/17082025/19/55/image_17082025_19_56_04_9661.jpg
/home/nano/Desktop/images/17082025/19/55/image_17082025_19_55_54_9649.jpg
/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_44_9638.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4933788776397705 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:56:32.480211
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/56/image_17082025_19_56_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/19/56/image_17082025_19_56_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/19/56/image_17082025_19_56_15_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/19/55/image_17082025_19_56_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/19/55/image_17082025_19_55_54_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/56/image_17082025_19_56_44_10648.jpg', '/home/nano/Desktop/images/17082025/19/56/image_17082025_19_56_24_9637.jpg', '/home/nano/Desktop/images/17082025/19/56/image_17082025_19_56_15_10667.jpg', '/home/nano/Desktop/images/17082025/19/55/image_17082025_19_56_04_9661.jpg', '/home/nano/Desktop/images/17082025/19/55/image_17082025_19_55_54_9649.jpg', '/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/56/image_17082025_19_56_44_10648.jpg
/home/nano/Desktop/images/17082025/19/56/image_17082025_19_56_24_9637.jpg
/home/nano/Desktop/images/17082025/19/56/image_17082025_19_56_15_10667.jpg
/home/nano/Desktop/images/17082025/19/55/image_17082025_19_56_04_9661.jpg
/home/nano/Desktop/images/17082025/19/55/image_17082025_19_55_54_9649.jpg
/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_44_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686530","1377686526","1377686529","1377686528","1377686522","1377686525"],"photo_ids_order":["1377686522","1377686525","1377686526","1377686528","1377686529","1377686530"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/52a4757b375a237ac660e250ded15279.jpg","text":"TemporaryFile(/tmp/multipartBody7004840199407951252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453454277,"filename":"image_17082025_13_48_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/47034102244976ff9654c69c7ba00105.jpg","text":"TemporaryFile(/tmp/multipartBody6823430314245208423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453454277,"filename":"image_17082025_19_56_15_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/394fe0740f4fc534d59318ed63e5440b.jpg","text":"TemporaryFile(/tmp/multipartBody8121374309065838640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453454277,"filename":"image_17082025_19_55_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/156b98326bda956ace486899f299e640.jpg","text":"TemporaryFile(/tmp/multipartBody1492210570902544010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453454277,"filename":"image_17082025_19_56_04_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ea958e398d547da3eaf4c15d10c9bc7b.jpg","text":"TemporaryFile(/tmp/multipartBody7295228001349035410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453454277,"filename":"image_17082025_19_56_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0803f74baff77d7141254073e78a3e32.jpg","text":"TemporaryFile(/tmp/multipartBody3063350160152302534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453454277,"filename":"image_17082025_19_56_24_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686526","file1":"1377686525","file0":"1377686522","file4":"1377686529","file5":"1377686530","file3":"1377686528"},"map_files_photo_id_array":[{"photo_id":"1377686530","filename":"file5"},{"photo_id":"1377686526","filename":"file2"},{"photo_id":"1377686529","filename":"file4"},{"photo_id":"1377686525","filename":"file1"},{"photo_id":"1377686522","filename":"file0"},{"photo_id":"1377686528","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686530":["hashtag1","hashtag2"]},{"1377686526":["hashtag1","hashtag2"]},{"1377686529":["hashtag1","hashtag2"]},{"1377686528":["hashtag1","hashtag2"]},{"1377686522":["hashtag1","hashtag2"]},{"1377686525":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686530, 1377686526, 1377686529, 1377686528, 1377686522, 1377686525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10504102706909 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:57:17.602848
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/57/image_17082025_19_57_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/19/57/image_17082025_19_57_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/19/57/image_17082025_19_57_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/57/image_17082025_19_57_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/19/56/image_17082025_19_57_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/19/56/image_17082025_19_56_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/57/image_17082025_19_57_44_10650.jpg', '/home/nano/Desktop/images/17082025/19/57/image_17082025_19_57_34_9641.jpg', '/home/nano/Desktop/images/17082025/19/57/image_17082025_19_57_24_9640.jpg', '/home/nano/Desktop/images/17082025/19/57/image_17082025_19_57_14_10667.jpg', '/home/nano/Desktop/images/17082025/19/56/image_17082025_19_57_04_9644.jpg', '/home/nano/Desktop/images/17082025/19/56/image_17082025_19_56_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/57/image_17082025_19_57_44_10650.jpg
/home/nano/Desktop/images/17082025/19/57/image_17082025_19_57_34_9641.jpg
/home/nano/Desktop/images/17082025/19/57/image_17082025_19_57_24_9640.jpg
/home/nano/Desktop/images/17082025/19/57/image_17082025_19_57_14_10667.jpg
/home/nano/Desktop/images/17082025/19/56/image_17082025_19_57_04_9644.jpg
/home/nano/Desktop/images/17082025/19/56/image_17082025_19_56_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686551","1377686552","1377686546","1377686549","1377686540","1377686543"],"photo_ids_order":["1377686540","1377686543","1377686546","1377686549","1377686551","1377686552"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ee6272af9063735399e227da42ff00bb.jpg","text":"TemporaryFile(/tmp/multipartBody8106131137233032301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453499322,"filename":"image_17082025_19_57_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/90fcf8c3997a91d95ec904dd0a2a95b0.jpg","text":"TemporaryFile(/tmp/multipartBody6274491044384650706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453499322,"filename":"image_17082025_19_56_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/89684af612921a2ad8aa85b274ca1206.jpg","text":"TemporaryFile(/tmp/multipartBody9034035455593688067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453499322,"filename":"image_17082025_19_57_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b471f8bf7b37274aea26be864989ad6d.jpg","text":"TemporaryFile(/tmp/multipartBody7973397050739524242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453499322,"filename":"image_17082025_19_57_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e804fee5a5e53f9d831ce076f1454c1c.jpg","text":"TemporaryFile(/tmp/multipartBody786870390389069340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453499322,"filename":"image_17082025_19_57_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/17ff50ccb8bb1c22e0952f435621d5af.jpg","text":"TemporaryFile(/tmp/multipartBody1627274084046753595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453499322,"filename":"image_17082025_19_57_34_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686546","file1":"1377686543","file0":"1377686540","file4":"1377686551","file5":"1377686552","file3":"1377686549"},"map_files_photo_id_array":[{"photo_id":"1377686552","filename":"file5"},{"photo_id":"1377686546","filename":"file2"},{"photo_id":"1377686551","filename":"file4"},{"photo_id":"1377686543","filename":"file1"},{"photo_id":"1377686540","filename":"file0"},{"photo_id":"1377686549","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686551":["hashtag1","hashtag2"]},{"1377686552":["hashtag1","hashtag2"]},{"1377686546":["hashtag1","hashtag2"]},{"1377686549":["hashtag1","hashtag2"]},{"1377686540":["hashtag1","hashtag2"]},{"1377686543":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686551, 1377686552, 1377686546, 1377686549, 1377686540, 1377686543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91490602493286 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:59:02.902973
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_14_9668.jpg', 2), ('/home/nano/Desktop/images/17082025/13/47/image_17082025_13_48_05_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/13/47/image_17082025_13_47_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/47/image_17082025_13_47_44_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_34_10647.jpg', '/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_24_9655.jpg', '/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_14_9668.jpg', '/home/nano/Desktop/images/17082025/13/47/image_17082025_13_48_05_10668.jpg', '/home/nano/Desktop/images/17082025/13/47/image_17082025_13_47_54_9638.jpg', '/home/nano/Desktop/images/17082025/13/47/image_17082025_13_47_44_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_34_10647.jpg
/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_24_9655.jpg
/home/nano/Desktop/images/17082025/13/48/image_17082025_13_48_14_9668.jpg
/home/nano/Desktop/images/17082025/13/47/image_17082025_13_48_05_10668.jpg
/home/nano/Desktop/images/17082025/13/47/image_17082025_13_47_54_9638.jpg
/home/nano/Desktop/images/17082025/13/47/image_17082025_13_47_44_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686572","1377686562","1377686570","1377686558","1377686575","1377686569"],"photo_ids_order":["1377686558","1377686562","1377686569","1377686570","1377686572","1377686575"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/636c456c237a5af373acf95f379c7e0f.jpg","text":"TemporaryFile(/tmp/multipartBody8688580966478050948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453604889,"filename":"image_17082025_13_47_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/db1c0a227cb2b10ef4b2237db922e6c2.jpg","text":"TemporaryFile(/tmp/multipartBody8577615286335587085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453604889,"filename":"image_17082025_13_48_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c1d2c5c5506219fa0e8406b8f4ef3506.jpg","text":"TemporaryFile(/tmp/multipartBody4287466747100978006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453604889,"filename":"image_17082025_13_48_05_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2fe30a8459988bf66177c2922fa65df7.jpg","text":"TemporaryFile(/tmp/multipartBody8169957014863441913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453604889,"filename":"image_17082025_13_48_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0fa139c5ce20adc0ae8a5458c90cd9b9.jpg","text":"TemporaryFile(/tmp/multipartBody8097691103646688880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453604889,"filename":"image_17082025_13_47_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/306aa7daf005ce5126727e0c45534f43.jpg","text":"TemporaryFile(/tmp/multipartBody8501804183276963937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453604889,"filename":"image_17082025_13_48_14_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686569","file1":"1377686562","file0":"1377686558","file4":"1377686572","file5":"1377686575","file3":"1377686570"},"map_files_photo_id_array":[{"photo_id":"1377686575","filename":"file5"},{"photo_id":"1377686569","filename":"file2"},{"photo_id":"1377686572","filename":"file4"},{"photo_id":"1377686562","filename":"file1"},{"photo_id":"1377686558","filename":"file0"},{"photo_id":"1377686570","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686572":["hashtag1","hashtag2"]},{"1377686562":["hashtag1","hashtag2"]},{"1377686570":["hashtag1","hashtag2"]},{"1377686558":["hashtag1","hashtag2"]},{"1377686575":["hashtag1","hashtag2"]},{"1377686569":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686572, 1377686562, 1377686570, 1377686558, 1377686575, 1377686569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4781231880188 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 19:59:46.974859
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/59/image_17082025_19_59_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/19/59/image_17082025_19_59_14_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/19/58/image_17082025_19_59_05_10661.jpg', 2), ('/home/nano/Desktop/images/17082025/19/58/image_17082025_19_58_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/19/58/image_17082025_19_58_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/19/58/image_17082025_19_58_34_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/59/image_17082025_19_59_24_9638.jpg', '/home/nano/Desktop/images/17082025/19/59/image_17082025_19_59_14_9645.jpg', '/home/nano/Desktop/images/17082025/19/58/image_17082025_19_59_05_10661.jpg', '/home/nano/Desktop/images/17082025/19/58/image_17082025_19_58_54_9640.jpg', '/home/nano/Desktop/images/17082025/19/58/image_17082025_19_58_44_10646.jpg', '/home/nano/Desktop/images/17082025/19/58/image_17082025_19_58_34_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/59/image_17082025_19_59_24_9638.jpg
/home/nano/Desktop/images/17082025/19/59/image_17082025_19_59_14_9645.jpg
/home/nano/Desktop/images/17082025/19/58/image_17082025_19_59_05_10661.jpg
/home/nano/Desktop/images/17082025/19/58/image_17082025_19_58_54_9640.jpg
/home/nano/Desktop/images/17082025/19/58/image_17082025_19_58_44_10646.jpg
/home/nano/Desktop/images/17082025/19/58/image_17082025_19_58_34_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686583","1377686594","1377686582","1377686585","1377686581","1377686584"],"photo_ids_order":["1377686581","1377686582","1377686583","1377686584","1377686585","1377686594"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7d267e04113715f898ad66f4429928fd.jpg","text":"TemporaryFile(/tmp/multipartBody2947429328613015269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453648984,"filename":"image_17082025_19_59_05_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1fe8b85a25de462e03dbc7a6db2d76dc.jpg","text":"TemporaryFile(/tmp/multipartBody3171052486337109908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453648984,"filename":"image_17082025_19_58_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d9704d9a624dcadb4a12082a445c2203.jpg","text":"TemporaryFile(/tmp/multipartBody1739222325793168774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453648984,"filename":"image_17082025_19_59_14_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/07b8a9f6c642df6f13337eadbd8a95ec.jpg","text":"TemporaryFile(/tmp/multipartBody8332908363254888329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453648984,"filename":"image_17082025_19_58_44_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3d4af2f7bdb1db320fc66f47189f7bd4.jpg","text":"TemporaryFile(/tmp/multipartBody8518663949903422891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453648984,"filename":"image_17082025_19_59_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7d0dfb358f7188ad7aeb1e3bd5fc798e.jpg","text":"TemporaryFile(/tmp/multipartBody4625647302225767433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453648984,"filename":"image_17082025_19_58_54_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686583","file1":"1377686582","file0":"1377686581","file4":"1377686585","file5":"1377686594","file3":"1377686584"},"map_files_photo_id_array":[{"photo_id":"1377686594","filename":"file5"},{"photo_id":"1377686583","filename":"file2"},{"photo_id":"1377686585","filename":"file4"},{"photo_id":"1377686582","filename":"file1"},{"photo_id":"1377686581","filename":"file0"},{"photo_id":"1377686584","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686583":["hashtag1","hashtag2"]},{"1377686594":["hashtag1","hashtag2"]},{"1377686582":["hashtag1","hashtag2"]},{"1377686585":["hashtag1","hashtag2"]},{"1377686581":["hashtag1","hashtag2"]},{"1377686584":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686583, 1377686594, 1377686582, 1377686585, 1377686581, 1377686584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.648640871047974 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:00:32.107140
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/00/image_17082025_20_00_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/20/00/image_17082025_20_00_34_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/20/00/image_17082025_20_00_24_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/20/00/image_17082025_20_00_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/19/59/image_17082025_19_59_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/19/58/image_17082025_19_58_24_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/00/image_17082025_20_00_54_9640.jpg', '/home/nano/Desktop/images/17082025/20/00/image_17082025_20_00_34_10668.jpg', '/home/nano/Desktop/images/17082025/20/00/image_17082025_20_00_24_9662.jpg', '/home/nano/Desktop/images/17082025/20/00/image_17082025_20_00_14_9660.jpg', '/home/nano/Desktop/images/17082025/19/59/image_17082025_19_59_54_9638.jpg', '/home/nano/Desktop/images/17082025/19/58/image_17082025_19_58_24_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/00/image_17082025_20_00_54_9640.jpg
/home/nano/Desktop/images/17082025/20/00/image_17082025_20_00_34_10668.jpg
/home/nano/Desktop/images/17082025/20/00/image_17082025_20_00_24_9662.jpg
/home/nano/Desktop/images/17082025/20/00/image_17082025_20_00_14_9660.jpg
/home/nano/Desktop/images/17082025/19/59/image_17082025_19_59_54_9638.jpg
/home/nano/Desktop/images/17082025/19/58/image_17082025_19_58_24_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686605","1377686608","1377686617","1377686615","1377686609","1377686612"],"photo_ids_order":["1377686605","1377686608","1377686609","1377686612","1377686615","1377686617"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ff6398f37541ac45d4ee7012a49ba9d2.jpg","text":"TemporaryFile(/tmp/multipartBody8778218811243252341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453693945,"filename":"image_17082025_20_00_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/27dc1d46a836b15522f43020757fb91c.jpg","text":"TemporaryFile(/tmp/multipartBody8558797018529450371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453693945,"filename":"image_17082025_20_00_34_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2fb0c91fa41c05e6d44b90a9594a3e3d.jpg","text":"TemporaryFile(/tmp/multipartBody6842607991826664596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453693945,"filename":"image_17082025_19_58_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ae5574f0721a38878c62b6e523b62722.jpg","text":"TemporaryFile(/tmp/multipartBody4891309635690912929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453693945,"filename":"image_17082025_19_59_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f940720d48d732975b4ae09905926713.jpg","text":"TemporaryFile(/tmp/multipartBody574704616006572056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453693945,"filename":"image_17082025_20_00_24_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/68b5eecaad3cc20be36524fa22f18675.jpg","text":"TemporaryFile(/tmp/multipartBody4934643027203738732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453693945,"filename":"image_17082025_20_00_14_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686609","file1":"1377686608","file0":"1377686605","file4":"1377686615","file5":"1377686617","file3":"1377686612"},"map_files_photo_id_array":[{"photo_id":"1377686617","filename":"file5"},{"photo_id":"1377686609","filename":"file2"},{"photo_id":"1377686615","filename":"file4"},{"photo_id":"1377686608","filename":"file1"},{"photo_id":"1377686605","filename":"file0"},{"photo_id":"1377686612","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686605":["hashtag1","hashtag2"]},{"1377686608":["hashtag1","hashtag2"]},{"1377686617":["hashtag1","hashtag2"]},{"1377686615":["hashtag1","hashtag2"]},{"1377686609":["hashtag1","hashtag2"]},{"1377686612":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686605, 1377686608, 1377686617, 1377686615, 1377686609, 1377686612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29490518569946 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:01:17.181992
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/01/image_17082025_20_01_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/01/image_17082025_20_01_34_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/20/01/image_17082025_20_01_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/20/01/image_17082025_20_01_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/20/00/image_17082025_20_01_04_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/20/00/image_17082025_20_00_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/01/image_17082025_20_01_44_9639.jpg', '/home/nano/Desktop/images/17082025/20/01/image_17082025_20_01_34_10651.jpg', '/home/nano/Desktop/images/17082025/20/01/image_17082025_20_01_24_9637.jpg', '/home/nano/Desktop/images/17082025/20/01/image_17082025_20_01_14_9661.jpg', '/home/nano/Desktop/images/17082025/20/00/image_17082025_20_01_04_10668.jpg', '/home/nano/Desktop/images/17082025/20/00/image_17082025_20_00_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/01/image_17082025_20_01_44_9639.jpg
/home/nano/Desktop/images/17082025/20/01/image_17082025_20_01_34_10651.jpg
/home/nano/Desktop/images/17082025/20/01/image_17082025_20_01_24_9637.jpg
/home/nano/Desktop/images/17082025/20/01/image_17082025_20_01_14_9661.jpg
/home/nano/Desktop/images/17082025/20/00/image_17082025_20_01_04_10668.jpg
/home/nano/Desktop/images/17082025/20/00/image_17082025_20_00_44_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686632","1377686629","1377686634","1377686627","1377686636","1377686630"],"photo_ids_order":["1377686627","1377686629","1377686630","1377686632","1377686634","1377686636"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ccd589af353b1ae26827c5ed1756cbab.jpg","text":"TemporaryFile(/tmp/multipartBody8079180582459963855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453738874,"filename":"image_17082025_20_01_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fbae59af485c57981e3599a7781b6b67.jpg","text":"TemporaryFile(/tmp/multipartBody6416731731545085441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453738874,"filename":"image_17082025_20_01_34_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/01c7ee9640291b0b08fcf486fd1604b5.jpg","text":"TemporaryFile(/tmp/multipartBody2216673860178336441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453738874,"filename":"image_17082025_20_01_04_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0522836bd9fe559c0b325b5d41ae619e.jpg","text":"TemporaryFile(/tmp/multipartBody770449256268072883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453738874,"filename":"image_17082025_20_01_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3ae11f5cd54ac4999d00d46f4ed1e63b.jpg","text":"TemporaryFile(/tmp/multipartBody4396696010066079355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453738874,"filename":"image_17082025_20_00_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/85133b187ebe8a60114b718c7335cb37.jpg","text":"TemporaryFile(/tmp/multipartBody3475553586410617602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453738874,"filename":"image_17082025_20_01_24_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686630","file1":"1377686629","file0":"1377686627","file4":"1377686634","file5":"1377686636","file3":"1377686632"},"map_files_photo_id_array":[{"photo_id":"1377686636","filename":"file5"},{"photo_id":"1377686630","filename":"file2"},{"photo_id":"1377686634","filename":"file4"},{"photo_id":"1377686629","filename":"file1"},{"photo_id":"1377686627","filename":"file0"},{"photo_id":"1377686632","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686632":["hashtag1","hashtag2"]},{"1377686629":["hashtag1","hashtag2"]},{"1377686634":["hashtag1","hashtag2"]},{"1377686627":["hashtag1","hashtag2"]},{"1377686636":["hashtag1","hashtag2"]},{"1377686630":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686632, 1377686629, 1377686634, 1377686627, 1377686636, 1377686630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65721774101257 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:02:02.930162
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/19/58/image_17082025_19_58_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/19/57/image_17082025_19_58_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/19/57/image_17082025_19_57_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/13/47/image_17082025_13_47_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/47/image_17082025_13_47_24_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/13/47/image_17082025_13_47_14_10679.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/19/58/image_17082025_19_58_14_10668.jpg', '/home/nano/Desktop/images/17082025/19/57/image_17082025_19_58_04_9664.jpg', '/home/nano/Desktop/images/17082025/19/57/image_17082025_19_57_54_9641.jpg', '/home/nano/Desktop/images/17082025/13/47/image_17082025_13_47_34_9638.jpg', '/home/nano/Desktop/images/17082025/13/47/image_17082025_13_47_24_9644.jpg', '/home/nano/Desktop/images/17082025/13/47/image_17082025_13_47_14_10679.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/19/58/image_17082025_19_58_14_10668.jpg
/home/nano/Desktop/images/17082025/19/57/image_17082025_19_58_04_9664.jpg
/home/nano/Desktop/images/17082025/19/57/image_17082025_19_57_54_9641.jpg
/home/nano/Desktop/images/17082025/13/47/image_17082025_13_47_34_9638.jpg
/home/nano/Desktop/images/17082025/13/47/image_17082025_13_47_24_9644.jpg
/home/nano/Desktop/images/17082025/13/47/image_17082025_13_47_14_10679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686650","1377686647","1377686652","1377686646","1377686639","1377686648"],"photo_ids_order":["1377686639","1377686646","1377686647","1377686648","1377686650","1377686652"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c716c48e7564f3f6a670af2bd8682a78.jpg","text":"TemporaryFile(/tmp/multipartBody8432755923688931964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453784678,"filename":"image_17082025_13_47_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/00531ae8dfc587f3a4b07176793b5214.jpg","text":"TemporaryFile(/tmp/multipartBody7055522652763004785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453784678,"filename":"image_17082025_19_57_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/be0dbd80fb3ffc27364b3ede8ac8de22.jpg","text":"TemporaryFile(/tmp/multipartBody3146913452197590227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453784678,"filename":"image_17082025_13_47_14_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/495ba3b7f9bfb1629eb1798ea7ce8657.jpg","text":"TemporaryFile(/tmp/multipartBody5113236125850630230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453784678,"filename":"image_17082025_19_58_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/849a34f716021d26e2c3a780b22598ee.jpg","text":"TemporaryFile(/tmp/multipartBody6072966680692948127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453784678,"filename":"image_17082025_19_58_14_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e109910fedbc1d0419dbf420dfc61c8a.jpg","text":"TemporaryFile(/tmp/multipartBody1329837472856878868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453784678,"filename":"image_17082025_13_47_34_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686647","file1":"1377686646","file0":"1377686639","file4":"1377686650","file5":"1377686652","file3":"1377686648"},"map_files_photo_id_array":[{"photo_id":"1377686652","filename":"file5"},{"photo_id":"1377686647","filename":"file2"},{"photo_id":"1377686650","filename":"file4"},{"photo_id":"1377686646","filename":"file1"},{"photo_id":"1377686639","filename":"file0"},{"photo_id":"1377686648","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686650":["hashtag1","hashtag2"]},{"1377686647":["hashtag1","hashtag2"]},{"1377686652":["hashtag1","hashtag2"]},{"1377686646":["hashtag1","hashtag2"]},{"1377686639":["hashtag1","hashtag2"]},{"1377686648":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686650, 1377686647, 1377686652, 1377686646, 1377686639, 1377686648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.965569734573364 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:02:47.276233
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/02/image_17082025_20_02_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/20/02/image_17082025_20_02_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/20/02/image_17082025_20_02_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/20/01/image_17082025_20_02_04_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/20/01/image_17082025_20_01_54_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/13/46/image_17082025_13_47_04_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/02/image_17082025_20_02_44_9637.jpg', '/home/nano/Desktop/images/17082025/20/02/image_17082025_20_02_34_9640.jpg', '/home/nano/Desktop/images/17082025/20/02/image_17082025_20_02_14_9653.jpg', '/home/nano/Desktop/images/17082025/20/01/image_17082025_20_02_04_10670.jpg', '/home/nano/Desktop/images/17082025/20/01/image_17082025_20_01_54_9636.jpg', '/home/nano/Desktop/images/17082025/13/46/image_17082025_13_47_04_9659.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/02/image_17082025_20_02_44_9637.jpg
/home/nano/Desktop/images/17082025/20/02/image_17082025_20_02_34_9640.jpg
/home/nano/Desktop/images/17082025/20/02/image_17082025_20_02_14_9653.jpg
/home/nano/Desktop/images/17082025/20/01/image_17082025_20_02_04_10670.jpg
/home/nano/Desktop/images/17082025/20/01/image_17082025_20_01_54_9636.jpg
/home/nano/Desktop/images/17082025/13/46/image_17082025_13_47_04_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377686821","1377687051","1377686937","1377687163","1377686720","1377686656"],"photo_ids_order":["1377686656","1377686720","1377686821","1377686937","1377687051","1377687163"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e79ae0061b86208e883676632950752a.jpg","text":"TemporaryFile(/tmp/multipartBody8414947303626981441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453829090,"filename":"image_17082025_20_02_14_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c32bf2bf81399048c3db2438ef488e8a.jpg","text":"TemporaryFile(/tmp/multipartBody5827723010049788590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453829090,"filename":"image_17082025_20_01_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3f3bfb93f6cfeb982bdf29373ad96ff6.jpg","text":"TemporaryFile(/tmp/multipartBody3551207496834476269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453829090,"filename":"image_17082025_20_02_04_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9554042a37b53c0574414a1125d0b4ec.jpg","text":"TemporaryFile(/tmp/multipartBody1439470197940515865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453829090,"filename":"image_17082025_13_47_04_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4d4fd488f82a05776cdd0dd725c0afb3.jpg","text":"TemporaryFile(/tmp/multipartBody4981324858402863255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453829090,"filename":"image_17082025_20_02_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ec5fb9bbe9ef134979f2a974f5978cd1.jpg","text":"TemporaryFile(/tmp/multipartBody5940122210936754293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453829090,"filename":"image_17082025_20_02_44_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377686821","file1":"1377686720","file0":"1377686656","file4":"1377687051","file5":"1377687163","file3":"1377686937"},"map_files_photo_id_array":[{"photo_id":"1377687163","filename":"file5"},{"photo_id":"1377686821","filename":"file2"},{"photo_id":"1377687051","filename":"file4"},{"photo_id":"1377686720","filename":"file1"},{"photo_id":"1377686656","filename":"file0"},{"photo_id":"1377686937","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377686821":["hashtag1","hashtag2"]},{"1377687051":["hashtag1","hashtag2"]},{"1377686937":["hashtag1","hashtag2"]},{"1377687163":["hashtag1","hashtag2"]},{"1377686720":["hashtag1","hashtag2"]},{"1377686656":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377686821, 1377687051, 1377686937, 1377687163, 1377686720, 1377686656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72321033477783 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:03:32.379131
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/03/image_17082025_20_03_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/20/03/image_17082025_20_03_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/03/image_17082025_20_03_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/20/03/image_17082025_20_03_14_9677.jpg', 2), ('/home/nano/Desktop/images/17082025/20/02/image_17082025_20_03_04_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/20/02/image_17082025_20_02_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/03/image_17082025_20_03_44_9638.jpg', '/home/nano/Desktop/images/17082025/20/03/image_17082025_20_03_34_9639.jpg', '/home/nano/Desktop/images/17082025/20/03/image_17082025_20_03_24_10666.jpg', '/home/nano/Desktop/images/17082025/20/03/image_17082025_20_03_14_9677.jpg', '/home/nano/Desktop/images/17082025/20/02/image_17082025_20_03_04_9663.jpg', '/home/nano/Desktop/images/17082025/20/02/image_17082025_20_02_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/03/image_17082025_20_03_44_9638.jpg
/home/nano/Desktop/images/17082025/20/03/image_17082025_20_03_34_9639.jpg
/home/nano/Desktop/images/17082025/20/03/image_17082025_20_03_24_10666.jpg
/home/nano/Desktop/images/17082025/20/03/image_17082025_20_03_14_9677.jpg
/home/nano/Desktop/images/17082025/20/02/image_17082025_20_03_04_9663.jpg
/home/nano/Desktop/images/17082025/20/02/image_17082025_20_02_54_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377687336","1377687543","1377687426","1377687365","1377687653","1377687397"],"photo_ids_order":["1377687336","1377687365","1377687397","1377687426","1377687543","1377687653"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d6590dc4dd349ccb95099da1d19ee7d0.jpg","text":"TemporaryFile(/tmp/multipartBody7315620723505201861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453874237,"filename":"image_17082025_20_03_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/885b5e655c771326645aed2a5fe63d9c.jpg","text":"TemporaryFile(/tmp/multipartBody38470781560046076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453874237,"filename":"image_17082025_20_03_04_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4d9871734ec5c66183bede74fc05eea7.jpg","text":"TemporaryFile(/tmp/multipartBody4359712488574610142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453874237,"filename":"image_17082025_20_03_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/39c5e6a7bdfa377b81b6fd6fd909272a.jpg","text":"TemporaryFile(/tmp/multipartBody7176228980992002979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453874237,"filename":"image_17082025_20_03_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b091c5ba18344ab40b34757a6ad4b919.jpg","text":"TemporaryFile(/tmp/multipartBody4961587996801251042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453874237,"filename":"image_17082025_20_02_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ea6655fce75b7301f5e724ea2b2ed3b7.jpg","text":"TemporaryFile(/tmp/multipartBody3610236643931798534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453874237,"filename":"image_17082025_20_03_24_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377687397","file1":"1377687365","file0":"1377687336","file4":"1377687543","file5":"1377687653","file3":"1377687426"},"map_files_photo_id_array":[{"photo_id":"1377687653","filename":"file5"},{"photo_id":"1377687397","filename":"file2"},{"photo_id":"1377687543","filename":"file4"},{"photo_id":"1377687365","filename":"file1"},{"photo_id":"1377687336","filename":"file0"},{"photo_id":"1377687426","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377687336":["hashtag1","hashtag2"]},{"1377687543":["hashtag1","hashtag2"]},{"1377687426":["hashtag1","hashtag2"]},{"1377687365":["hashtag1","hashtag2"]},{"1377687653":["hashtag1","hashtag2"]},{"1377687397":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377687336, 1377687543, 1377687426, 1377687365, 1377687653, 1377687397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.285751819610596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:04:17.468677
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/04/image_17082025_20_04_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/20/04/image_17082025_20_04_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/20/04/image_17082025_20_04_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/20/03/image_17082025_20_04_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/20/03/image_17082025_20_03_54_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/13/46/image_17082025_13_46_44_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/04/image_17082025_20_04_34_9636.jpg', '/home/nano/Desktop/images/17082025/20/04/image_17082025_20_04_24_10648.jpg', '/home/nano/Desktop/images/17082025/20/04/image_17082025_20_04_14_9659.jpg', '/home/nano/Desktop/images/17082025/20/03/image_17082025_20_04_04_9649.jpg', '/home/nano/Desktop/images/17082025/20/03/image_17082025_20_03_54_10652.jpg', '/home/nano/Desktop/images/17082025/13/46/image_17082025_13_46_44_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/04/image_17082025_20_04_34_9636.jpg
/home/nano/Desktop/images/17082025/20/04/image_17082025_20_04_24_10648.jpg
/home/nano/Desktop/images/17082025/20/04/image_17082025_20_04_14_9659.jpg
/home/nano/Desktop/images/17082025/20/03/image_17082025_20_04_04_9649.jpg
/home/nano/Desktop/images/17082025/20/03/image_17082025_20_03_54_10652.jpg
/home/nano/Desktop/images/17082025/13/46/image_17082025_13_46_44_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377688029","1377688101","1377688160","1377687968","1377688279","1377688219"],"photo_ids_order":["1377687968","1377688029","1377688101","1377688160","1377688219","1377688279"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9d2bb7be30dd4e36f6e8827e3c5215db.jpg","text":"TemporaryFile(/tmp/multipartBody7194158298308206177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453919344,"filename":"image_17082025_20_04_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7176131fe85f10576320845b11d9166f.jpg","text":"TemporaryFile(/tmp/multipartBody2313353512205589374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453919344,"filename":"image_17082025_20_04_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bf1e33f7a27cca931ae18980c01cf4ac.jpg","text":"TemporaryFile(/tmp/multipartBody8812185699668109504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453919344,"filename":"image_17082025_20_04_04_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/918588df6567cf3cdce6f7c4f74a4a34.jpg","text":"TemporaryFile(/tmp/multipartBody9009499378693119159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453919344,"filename":"image_17082025_20_04_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/adbcbb894a7b7d6974af4d825b219a69.jpg","text":"TemporaryFile(/tmp/multipartBody5199343175491881998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453919344,"filename":"image_17082025_13_46_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c3c3d2db608baf3c0341fb090110c4fd.jpg","text":"TemporaryFile(/tmp/multipartBody1438384443364769326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453919344,"filename":"image_17082025_20_03_54_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377688101","file1":"1377688029","file0":"1377687968","file4":"1377688219","file5":"1377688279","file3":"1377688160"},"map_files_photo_id_array":[{"photo_id":"1377688279","filename":"file5"},{"photo_id":"1377688101","filename":"file2"},{"photo_id":"1377688219","filename":"file4"},{"photo_id":"1377688029","filename":"file1"},{"photo_id":"1377687968","filename":"file0"},{"photo_id":"1377688160","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377688029":["hashtag1","hashtag2"]},{"1377688101":["hashtag1","hashtag2"]},{"1377688160":["hashtag1","hashtag2"]},{"1377687968":["hashtag1","hashtag2"]},{"1377688279":["hashtag1","hashtag2"]},{"1377688219":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377688029, 1377688101, 1377688160, 1377687968, 1377688279, 1377688219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.483971118927 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:05:03.296988
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/46/image_17082025_13_46_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/46/image_17082025_13_46_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/13/46/image_17082025_13_46_14_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/13/45/image_17082025_13_46_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/13/45/image_17082025_13_45_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/45/image_17082025_13_45_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/13/46/image_17082025_13_46_34_9638.jpg', '/home/nano/Desktop/images/17082025/13/46/image_17082025_13_46_24_9636.jpg', '/home/nano/Desktop/images/17082025/13/46/image_17082025_13_46_14_10662.jpg', '/home/nano/Desktop/images/17082025/13/45/image_17082025_13_46_04_9655.jpg', '/home/nano/Desktop/images/17082025/13/45/image_17082025_13_45_54_9639.jpg', '/home/nano/Desktop/images/17082025/13/45/image_17082025_13_45_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/13/46/image_17082025_13_46_34_9638.jpg
/home/nano/Desktop/images/17082025/13/46/image_17082025_13_46_24_9636.jpg
/home/nano/Desktop/images/17082025/13/46/image_17082025_13_46_14_10662.jpg
/home/nano/Desktop/images/17082025/13/45/image_17082025_13_46_04_9655.jpg
/home/nano/Desktop/images/17082025/13/45/image_17082025_13_45_54_9639.jpg
/home/nano/Desktop/images/17082025/13/45/image_17082025_13_45_44_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377688638","1377688602","1377688529","1377688633","1377688636","1377688563"],"photo_ids_order":["1377688529","1377688563","1377688602","1377688633","1377688636","1377688638"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f658ab6b602c6a625c1bbc4556ada1ba.jpg","text":"TemporaryFile(/tmp/multipartBody7815904742988919063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453965111,"filename":"image_17082025_13_45_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a26d7b6f6340721105489464fb12d463.jpg","text":"TemporaryFile(/tmp/multipartBody1014657134798755660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453965111,"filename":"image_17082025_13_46_14_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/17c06b78597147866589c66fc6688473.jpg","text":"TemporaryFile(/tmp/multipartBody6398938084180080706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453965111,"filename":"image_17082025_13_46_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/754549f1cb147b0c92b31154f2416c5d.jpg","text":"TemporaryFile(/tmp/multipartBody5408442905430105261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453965111,"filename":"image_17082025_13_46_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f7a67549454f916b4fd15107c8635bbe.jpg","text":"TemporaryFile(/tmp/multipartBody3033019690935368096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453965111,"filename":"image_17082025_13_45_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9ecb2567321de04133d21087e3e716a4.jpg","text":"TemporaryFile(/tmp/multipartBody8300116878478675778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755453965111,"filename":"image_17082025_13_46_24_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377688602","file1":"1377688563","file0":"1377688529","file4":"1377688636","file5":"1377688638","file3":"1377688633"},"map_files_photo_id_array":[{"photo_id":"1377688638","filename":"file5"},{"photo_id":"1377688602","filename":"file2"},{"photo_id":"1377688636","filename":"file4"},{"photo_id":"1377688563","filename":"file1"},{"photo_id":"1377688529","filename":"file0"},{"photo_id":"1377688633","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377688638":["hashtag1","hashtag2"]},{"1377688602":["hashtag1","hashtag2"]},{"1377688529":["hashtag1","hashtag2"]},{"1377688633":["hashtag1","hashtag2"]},{"1377688636":["hashtag1","hashtag2"]},{"1377688563":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377688638, 1377688602, 1377688529, 1377688633, 1377688636, 1377688563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51534867286682 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:05:47.597757
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_45_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/20/04/image_17082025_20_05_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/20/04/image_17082025_20_04_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_45_10650.jpg', '/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_34_9637.jpg', '/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_24_10650.jpg', '/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_14_9656.jpg', '/home/nano/Desktop/images/17082025/20/04/image_17082025_20_05_04_9644.jpg', '/home/nano/Desktop/images/17082025/20/04/image_17082025_20_04_54_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_45_10650.jpg
/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_34_9637.jpg
/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_24_10650.jpg
/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_14_9656.jpg
/home/nano/Desktop/images/17082025/20/04/image_17082025_20_05_04_9644.jpg
/home/nano/Desktop/images/17082025/20/04/image_17082025_20_04_54_10651.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4626872539520264 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:06:03.172798
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_45_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/20/04/image_17082025_20_05_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/20/04/image_17082025_20_04_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_45_10650.jpg', '/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_34_9637.jpg', '/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_24_10650.jpg', '/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_14_9656.jpg', '/home/nano/Desktop/images/17082025/20/04/image_17082025_20_05_04_9644.jpg', '/home/nano/Desktop/images/17082025/20/04/image_17082025_20_04_54_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_45_10650.jpg
/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_34_9637.jpg
/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_24_10650.jpg
/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_14_9656.jpg
/home/nano/Desktop/images/17082025/20/04/image_17082025_20_05_04_9644.jpg
/home/nano/Desktop/images/17082025/20/04/image_17082025_20_04_54_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377688973","1377688948","1377688882","1377688978","1377688945","1377688918"],"photo_ids_order":["1377688882","1377688918","1377688945","1377688948","1377688973","1377688978"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5beaca283484feead598227178b1e735.jpg","text":"TemporaryFile(/tmp/multipartBody8133848651361715210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454024944,"filename":"image_17082025_20_05_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8a5137c938334452ae31a01154d7dece.jpg","text":"TemporaryFile(/tmp/multipartBody7240886970931910832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454024944,"filename":"image_17082025_20_05_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/490d2d5dfe89c180b9405b458a24afa5.jpg","text":"TemporaryFile(/tmp/multipartBody7454536892323714057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454024944,"filename":"image_17082025_20_05_45_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/119f27e1030cbb51e357e6fc9b58407c.jpg","text":"TemporaryFile(/tmp/multipartBody2314000058046469303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454024944,"filename":"image_17082025_20_04_54_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b35f83d9a47826bf88441467d410abc2.jpg","text":"TemporaryFile(/tmp/multipartBody6983111961156763071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454024944,"filename":"image_17082025_20_05_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/734f1fe38f8e2d324c2a18b238b1f549.jpg","text":"TemporaryFile(/tmp/multipartBody1208764795818006678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454024944,"filename":"image_17082025_20_05_34_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377688945","file1":"1377688918","file0":"1377688882","file4":"1377688973","file5":"1377688978","file3":"1377688948"},"map_files_photo_id_array":[{"photo_id":"1377688978","filename":"file5"},{"photo_id":"1377688945","filename":"file2"},{"photo_id":"1377688973","filename":"file4"},{"photo_id":"1377688918","filename":"file1"},{"photo_id":"1377688882","filename":"file0"},{"photo_id":"1377688948","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377688973":["hashtag1","hashtag2"]},{"1377688948":["hashtag1","hashtag2"]},{"1377688882":["hashtag1","hashtag2"]},{"1377688978":["hashtag1","hashtag2"]},{"1377688945":["hashtag1","hashtag2"]},{"1377688918":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377688973, 1377688948, 1377688882, 1377688978, 1377688945, 1377688918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00565004348755 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:06:47.793916
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/06/image_17082025_20_06_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/20/06/image_17082025_20_06_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/20/06/image_17082025_20_06_24_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/20/06/image_17082025_20_06_15_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/20/05/image_17082025_20_06_04_9673.jpg', 2), ('/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_54_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/06/image_17082025_20_06_44_10649.jpg', '/home/nano/Desktop/images/17082025/20/06/image_17082025_20_06_34_9654.jpg', '/home/nano/Desktop/images/17082025/20/06/image_17082025_20_06_24_9657.jpg', '/home/nano/Desktop/images/17082025/20/06/image_17082025_20_06_15_10672.jpg', '/home/nano/Desktop/images/17082025/20/05/image_17082025_20_06_04_9673.jpg', '/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_54_9658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/06/image_17082025_20_06_44_10649.jpg
/home/nano/Desktop/images/17082025/20/06/image_17082025_20_06_34_9654.jpg
/home/nano/Desktop/images/17082025/20/06/image_17082025_20_06_24_9657.jpg
/home/nano/Desktop/images/17082025/20/06/image_17082025_20_06_15_10672.jpg
/home/nano/Desktop/images/17082025/20/05/image_17082025_20_06_04_9673.jpg
/home/nano/Desktop/images/17082025/20/05/image_17082025_20_05_54_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689007","1377689024","1377689012","1377689009","1377689014","1377689016"],"photo_ids_order":["1377689007","1377689009","1377689012","1377689014","1377689016","1377689024"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e9def243564d015fa0b31625065063d1.jpg","text":"TemporaryFile(/tmp/multipartBody6869050975874142226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454069546,"filename":"image_17082025_20_06_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4bacf11201f75ddc43ce0a9377a1f8c6.jpg","text":"TemporaryFile(/tmp/multipartBody2959969973512448978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454069546,"filename":"image_17082025_20_05_54_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/89d3098b5afbbc6ca66f5d36c2ccb3bb.jpg","text":"TemporaryFile(/tmp/multipartBody2484788123278356820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454069546,"filename":"image_17082025_20_06_24_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1254b61dde1d0a8a95490983c352b2a0.jpg","text":"TemporaryFile(/tmp/multipartBody8567573385619612803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454069546,"filename":"image_17082025_20_06_34_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/435a51cfa530539be10f51e7267069f3.jpg","text":"TemporaryFile(/tmp/multipartBody4275362121677039308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454069546,"filename":"image_17082025_20_06_15_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b6a635ab21114f021b634d2e24d6a4b2.jpg","text":"TemporaryFile(/tmp/multipartBody1668687323105976647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454069546,"filename":"image_17082025_20_06_04_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689012","file1":"1377689009","file0":"1377689007","file4":"1377689016","file5":"1377689024","file3":"1377689014"},"map_files_photo_id_array":[{"photo_id":"1377689024","filename":"file5"},{"photo_id":"1377689012","filename":"file2"},{"photo_id":"1377689016","filename":"file4"},{"photo_id":"1377689009","filename":"file1"},{"photo_id":"1377689007","filename":"file0"},{"photo_id":"1377689014","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689007":["hashtag1","hashtag2"]},{"1377689024":["hashtag1","hashtag2"]},{"1377689012":["hashtag1","hashtag2"]},{"1377689009":["hashtag1","hashtag2"]},{"1377689014":["hashtag1","hashtag2"]},{"1377689016":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689007, 1377689024, 1377689012, 1377689009, 1377689014, 1377689016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22498035430908 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:07:31.911248
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/07/image_17082025_20_07_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/20/07/image_17082025_20_07_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/20/07/image_17082025_20_07_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/20/07/image_17082025_20_07_14_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/20/06/image_17082025_20_07_04_9674.jpg', 2), ('/home/nano/Desktop/images/17082025/20/06/image_17082025_20_06_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/07/image_17082025_20_07_44_10650.jpg', '/home/nano/Desktop/images/17082025/20/07/image_17082025_20_07_34_9642.jpg', '/home/nano/Desktop/images/17082025/20/07/image_17082025_20_07_24_9641.jpg', '/home/nano/Desktop/images/17082025/20/07/image_17082025_20_07_14_10670.jpg', '/home/nano/Desktop/images/17082025/20/06/image_17082025_20_07_04_9674.jpg', '/home/nano/Desktop/images/17082025/20/06/image_17082025_20_06_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/07/image_17082025_20_07_44_10650.jpg
/home/nano/Desktop/images/17082025/20/07/image_17082025_20_07_34_9642.jpg
/home/nano/Desktop/images/17082025/20/07/image_17082025_20_07_24_9641.jpg
/home/nano/Desktop/images/17082025/20/07/image_17082025_20_07_14_10670.jpg
/home/nano/Desktop/images/17082025/20/06/image_17082025_20_07_04_9674.jpg
/home/nano/Desktop/images/17082025/20/06/image_17082025_20_06_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689039","1377689030","1377689035","1377689032","1377689028","1377689037"],"photo_ids_order":["1377689028","1377689030","1377689032","1377689035","1377689037","1377689039"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b6fbd9fb2360e925e22ba9599fc0cf47.jpg","text":"TemporaryFile(/tmp/multipartBody7295489152341415638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454114304,"filename":"image_17082025_20_06_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e956e6beeb8e245221f66d7cd7240f15.jpg","text":"TemporaryFile(/tmp/multipartBody3578442513101409303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454114304,"filename":"image_17082025_20_07_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f12380b6ec200e74f71070bcd882d6c5.jpg","text":"TemporaryFile(/tmp/multipartBody5896068523181236268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454114304,"filename":"image_17082025_20_07_14_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5533cec9023802218c291f848e56aabb.jpg","text":"TemporaryFile(/tmp/multipartBody8858287826738665731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454114304,"filename":"image_17082025_20_07_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4f0b6300ce625b335325cf44a6ae8f71.jpg","text":"TemporaryFile(/tmp/multipartBody2996517897337803065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454114304,"filename":"image_17082025_20_07_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e80e8e7eec67c1983e73a82fbba5b221.jpg","text":"TemporaryFile(/tmp/multipartBody1834725522604291645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454114304,"filename":"image_17082025_20_07_04_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689032","file1":"1377689030","file0":"1377689028","file4":"1377689037","file5":"1377689039","file3":"1377689035"},"map_files_photo_id_array":[{"photo_id":"1377689039","filename":"file5"},{"photo_id":"1377689032","filename":"file2"},{"photo_id":"1377689037","filename":"file4"},{"photo_id":"1377689030","filename":"file1"},{"photo_id":"1377689028","filename":"file0"},{"photo_id":"1377689035","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689039":["hashtag1","hashtag2"]},{"1377689030":["hashtag1","hashtag2"]},{"1377689035":["hashtag1","hashtag2"]},{"1377689032":["hashtag1","hashtag2"]},{"1377689028":["hashtag1","hashtag2"]},{"1377689037":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689039, 1377689030, 1377689035, 1377689032, 1377689028, 1377689037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.175472021102905 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:08:17.090001
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/08/image_17082025_20_08_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/20/08/image_17082025_20_08_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/08/image_17082025_20_08_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/20/08/image_17082025_20_08_14_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/20/07/image_17082025_20_08_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/20/07/image_17082025_20_07_54_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/08/image_17082025_20_08_44_10649.jpg', '/home/nano/Desktop/images/17082025/20/08/image_17082025_20_08_34_9639.jpg', '/home/nano/Desktop/images/17082025/20/08/image_17082025_20_08_24_9642.jpg', '/home/nano/Desktop/images/17082025/20/08/image_17082025_20_08_14_10670.jpg', '/home/nano/Desktop/images/17082025/20/07/image_17082025_20_08_04_9664.jpg', '/home/nano/Desktop/images/17082025/20/07/image_17082025_20_07_54_9648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/08/image_17082025_20_08_44_10649.jpg
/home/nano/Desktop/images/17082025/20/08/image_17082025_20_08_34_9639.jpg
/home/nano/Desktop/images/17082025/20/08/image_17082025_20_08_24_9642.jpg
/home/nano/Desktop/images/17082025/20/08/image_17082025_20_08_14_10670.jpg
/home/nano/Desktop/images/17082025/20/07/image_17082025_20_08_04_9664.jpg
/home/nano/Desktop/images/17082025/20/07/image_17082025_20_07_54_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689057","1377689051","1377689054","1377689050","1377689052","1377689049"],"photo_ids_order":["1377689049","1377689050","1377689051","1377689052","1377689054","1377689057"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dae77f90899a3d92cfc9230c3ab8c149.jpg","text":"TemporaryFile(/tmp/multipartBody5582381314266418302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454158937,"filename":"image_17082025_20_07_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d3a4d5204b421d84eeac145f7a9f7516.jpg","text":"TemporaryFile(/tmp/multipartBody5844220710373820705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454158937,"filename":"image_17082025_20_08_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b8cf23e29c02af1ca87d7cbe39274f51.jpg","text":"TemporaryFile(/tmp/multipartBody8402324395368436564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454158937,"filename":"image_17082025_20_08_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/90c14efff100ed353a8130085546fefd.jpg","text":"TemporaryFile(/tmp/multipartBody4007445825860403157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454158937,"filename":"image_17082025_20_08_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3db42df8028a32f70668cee4acae1406.jpg","text":"TemporaryFile(/tmp/multipartBody7507013554186829678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454158937,"filename":"image_17082025_20_08_14_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6a184fee6d886082e691552c7bfe3619.jpg","text":"TemporaryFile(/tmp/multipartBody2962298139087552153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454158937,"filename":"image_17082025_20_08_44_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689051","file1":"1377689050","file0":"1377689049","file4":"1377689054","file5":"1377689057","file3":"1377689052"},"map_files_photo_id_array":[{"photo_id":"1377689057","filename":"file5"},{"photo_id":"1377689051","filename":"file2"},{"photo_id":"1377689054","filename":"file4"},{"photo_id":"1377689050","filename":"file1"},{"photo_id":"1377689049","filename":"file0"},{"photo_id":"1377689052","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689057":["hashtag1","hashtag2"]},{"1377689051":["hashtag1","hashtag2"]},{"1377689054":["hashtag1","hashtag2"]},{"1377689050":["hashtag1","hashtag2"]},{"1377689052":["hashtag1","hashtag2"]},{"1377689049":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689057, 1377689051, 1377689054, 1377689050, 1377689052, 1377689049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55671548843384 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:09:03.265994
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/45/image_17082025_13_45_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/45/image_17082025_13_45_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/13/44/image_17082025_13_45_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/13/44/image_17082025_13_44_45_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/13/44/image_17082025_13_44_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/44/image_17082025_13_44_24_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/13/45/image_17082025_13_45_24_9637.jpg', '/home/nano/Desktop/images/17082025/13/45/image_17082025_13_45_14_10664.jpg', '/home/nano/Desktop/images/17082025/13/44/image_17082025_13_45_04_9644.jpg', '/home/nano/Desktop/images/17082025/13/44/image_17082025_13_44_45_10665.jpg', '/home/nano/Desktop/images/17082025/13/44/image_17082025_13_44_34_9638.jpg', '/home/nano/Desktop/images/17082025/13/44/image_17082025_13_44_24_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/13/45/image_17082025_13_45_24_9637.jpg
/home/nano/Desktop/images/17082025/13/45/image_17082025_13_45_14_10664.jpg
/home/nano/Desktop/images/17082025/13/44/image_17082025_13_45_04_9644.jpg
/home/nano/Desktop/images/17082025/13/44/image_17082025_13_44_45_10665.jpg
/home/nano/Desktop/images/17082025/13/44/image_17082025_13_44_34_9638.jpg
/home/nano/Desktop/images/17082025/13/44/image_17082025_13_44_24_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689075","1377689074","1377689077","1377689076","1377689070","1377689064"],"photo_ids_order":["1377689064","1377689070","1377689074","1377689075","1377689076","1377689077"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/22b37a7d810578d10270f7dab55c97af.jpg","text":"TemporaryFile(/tmp/multipartBody7831494394423458539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454205055,"filename":"image_17082025_13_44_45_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/45fd47bac2d25ac97e27612a06c8285e.jpg","text":"TemporaryFile(/tmp/multipartBody4654601990358921951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454205055,"filename":"image_17082025_13_45_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ff10193195098ffb9bbfcd341ef52743.jpg","text":"TemporaryFile(/tmp/multipartBody69217989582416826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454205055,"filename":"image_17082025_13_44_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/267da5f00d5533317486cd477e71d8b9.jpg","text":"TemporaryFile(/tmp/multipartBody5080936329912693979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454205055,"filename":"image_17082025_13_44_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/927514da1974d9da22f8e2f824b6e0ca.jpg","text":"TemporaryFile(/tmp/multipartBody8583368372399852030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454205055,"filename":"image_17082025_13_45_14_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6bd92bf5a936cfe31ba969830c0db545.jpg","text":"TemporaryFile(/tmp/multipartBody2095536943141928392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454205055,"filename":"image_17082025_13_45_24_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689074","file1":"1377689070","file0":"1377689064","file4":"1377689076","file5":"1377689077","file3":"1377689075"},"map_files_photo_id_array":[{"photo_id":"1377689077","filename":"file5"},{"photo_id":"1377689074","filename":"file2"},{"photo_id":"1377689076","filename":"file4"},{"photo_id":"1377689070","filename":"file1"},{"photo_id":"1377689064","filename":"file0"},{"photo_id":"1377689075","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689075":["hashtag1","hashtag2"]},{"1377689074":["hashtag1","hashtag2"]},{"1377689077":["hashtag1","hashtag2"]},{"1377689076":["hashtag1","hashtag2"]},{"1377689070":["hashtag1","hashtag2"]},{"1377689064":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689075, 1377689074, 1377689077, 1377689076, 1377689070, 1377689064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.864497900009155 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:09:47.255958
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/09/image_17082025_20_09_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/20/09/image_17082025_20_09_34_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/20/09/image_17082025_20_09_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/20/09/image_17082025_20_09_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/20/08/image_17082025_20_09_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/20/08/image_17082025_20_08_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/09/image_17082025_20_09_44_10648.jpg', '/home/nano/Desktop/images/17082025/20/09/image_17082025_20_09_34_9655.jpg', '/home/nano/Desktop/images/17082025/20/09/image_17082025_20_09_24_9640.jpg', '/home/nano/Desktop/images/17082025/20/09/image_17082025_20_09_14_10671.jpg', '/home/nano/Desktop/images/17082025/20/08/image_17082025_20_09_04_9649.jpg', '/home/nano/Desktop/images/17082025/20/08/image_17082025_20_08_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/09/image_17082025_20_09_44_10648.jpg
/home/nano/Desktop/images/17082025/20/09/image_17082025_20_09_34_9655.jpg
/home/nano/Desktop/images/17082025/20/09/image_17082025_20_09_24_9640.jpg
/home/nano/Desktop/images/17082025/20/09/image_17082025_20_09_14_10671.jpg
/home/nano/Desktop/images/17082025/20/08/image_17082025_20_09_04_9649.jpg
/home/nano/Desktop/images/17082025/20/08/image_17082025_20_08_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689090","1377689083","1377689086","1377689095","1377689088","1377689100"],"photo_ids_order":["1377689083","1377689086","1377689088","1377689090","1377689095","1377689100"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a39902c4e6d69af53f7e869c6096ea82.jpg","text":"TemporaryFile(/tmp/multipartBody8844563360989587987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454250030,"filename":"image_17082025_20_09_14_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e4571dfb0e01eb33267cde617b29987a.jpg","text":"TemporaryFile(/tmp/multipartBody3868415419210353121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454250030,"filename":"image_17082025_20_09_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5738c67d6d14b77ab1f0a4e9e9e63dce.jpg","text":"TemporaryFile(/tmp/multipartBody8518074665012801365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454250030,"filename":"image_17082025_20_09_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e17b7946bbeba6340028468d9995f31f.jpg","text":"TemporaryFile(/tmp/multipartBody8471744432199579293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454250030,"filename":"image_17082025_20_09_04_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1a672fab47c1dbd10f5cba9e81cdfd9c.jpg","text":"TemporaryFile(/tmp/multipartBody5120190145770932892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454250030,"filename":"image_17082025_20_09_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7831ceb4bd2baaafcaddf7088a9f2491.jpg","text":"TemporaryFile(/tmp/multipartBody1632265798625709018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454250030,"filename":"image_17082025_20_08_54_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689088","file1":"1377689086","file0":"1377689083","file4":"1377689095","file5":"1377689100","file3":"1377689090"},"map_files_photo_id_array":[{"photo_id":"1377689100","filename":"file5"},{"photo_id":"1377689088","filename":"file2"},{"photo_id":"1377689095","filename":"file4"},{"photo_id":"1377689086","filename":"file1"},{"photo_id":"1377689083","filename":"file0"},{"photo_id":"1377689090","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689090":["hashtag1","hashtag2"]},{"1377689083":["hashtag1","hashtag2"]},{"1377689086":["hashtag1","hashtag2"]},{"1377689095":["hashtag1","hashtag2"]},{"1377689088":["hashtag1","hashtag2"]},{"1377689100":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689090, 1377689083, 1377689086, 1377689095, 1377689088, 1377689100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70645475387573 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:10:32.360661
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/10/image_17082025_20_10_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/20/10/image_17082025_20_10_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/20/10/image_17082025_20_10_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/20/10/image_17082025_20_10_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/20/09/image_17082025_20_10_05_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/20/09/image_17082025_20_09_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/10/image_17082025_20_10_44_9637.jpg', '/home/nano/Desktop/images/17082025/20/10/image_17082025_20_10_34_10649.jpg', '/home/nano/Desktop/images/17082025/20/10/image_17082025_20_10_24_9642.jpg', '/home/nano/Desktop/images/17082025/20/10/image_17082025_20_10_14_9658.jpg', '/home/nano/Desktop/images/17082025/20/09/image_17082025_20_10_05_10671.jpg', '/home/nano/Desktop/images/17082025/20/09/image_17082025_20_09_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/10/image_17082025_20_10_44_9637.jpg
/home/nano/Desktop/images/17082025/20/10/image_17082025_20_10_34_10649.jpg
/home/nano/Desktop/images/17082025/20/10/image_17082025_20_10_24_9642.jpg
/home/nano/Desktop/images/17082025/20/10/image_17082025_20_10_14_9658.jpg
/home/nano/Desktop/images/17082025/20/09/image_17082025_20_10_05_10671.jpg
/home/nano/Desktop/images/17082025/20/09/image_17082025_20_09_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689103","1377689106","1377689111","1377689104","1377689107","1377689109"],"photo_ids_order":["1377689103","1377689104","1377689106","1377689107","1377689109","1377689111"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b2f681a15b49b12f83b8906e8e7c81ab.jpg","text":"TemporaryFile(/tmp/multipartBody530791696764486463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454294126,"filename":"image_17082025_20_10_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a11571d93c3ed5950e83a7d2cec9dd11.jpg","text":"TemporaryFile(/tmp/multipartBody3246644723460262366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454294126,"filename":"image_17082025_20_10_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/00648e5db0c5e7bb16cab4cd466d091e.jpg","text":"TemporaryFile(/tmp/multipartBody89177384354085681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454294126,"filename":"image_17082025_20_09_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e6dce1ede5944d34f0471b5149b711bc.jpg","text":"TemporaryFile(/tmp/multipartBody2255294271717352602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454294126,"filename":"image_17082025_20_10_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3a555c2f5acf7992a7e358ff2bff70bc.jpg","text":"TemporaryFile(/tmp/multipartBody184516644501169854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454294126,"filename":"image_17082025_20_10_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1266d7a09ac6bb7e16ba6abedc8e0c63.jpg","text":"TemporaryFile(/tmp/multipartBody4545011084921956289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454294126,"filename":"image_17082025_20_10_05_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689106","file1":"1377689104","file0":"1377689103","file4":"1377689109","file5":"1377689111","file3":"1377689107"},"map_files_photo_id_array":[{"photo_id":"1377689111","filename":"file5"},{"photo_id":"1377689106","filename":"file2"},{"photo_id":"1377689109","filename":"file4"},{"photo_id":"1377689104","filename":"file1"},{"photo_id":"1377689103","filename":"file0"},{"photo_id":"1377689107","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689103":["hashtag1","hashtag2"]},{"1377689106":["hashtag1","hashtag2"]},{"1377689111":["hashtag1","hashtag2"]},{"1377689104":["hashtag1","hashtag2"]},{"1377689107":["hashtag1","hashtag2"]},{"1377689109":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689103, 1377689106, 1377689111, 1377689104, 1377689107, 1377689109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1688437461853 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:11:17.465081
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/11/image_17082025_20_11_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/20/11/image_17082025_20_11_34_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/20/11/image_17082025_20_11_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/11/image_17082025_20_11_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/20/10/image_17082025_20_11_04_10660.jpg', 2), ('/home/nano/Desktop/images/17082025/20/10/image_17082025_20_10_54_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/11/image_17082025_20_11_44_9638.jpg', '/home/nano/Desktop/images/17082025/20/11/image_17082025_20_11_34_10653.jpg', '/home/nano/Desktop/images/17082025/20/11/image_17082025_20_11_24_9639.jpg', '/home/nano/Desktop/images/17082025/20/11/image_17082025_20_11_14_9662.jpg', '/home/nano/Desktop/images/17082025/20/10/image_17082025_20_11_04_10660.jpg', '/home/nano/Desktop/images/17082025/20/10/image_17082025_20_10_54_9657.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/11/image_17082025_20_11_44_9638.jpg
/home/nano/Desktop/images/17082025/20/11/image_17082025_20_11_34_10653.jpg
/home/nano/Desktop/images/17082025/20/11/image_17082025_20_11_24_9639.jpg
/home/nano/Desktop/images/17082025/20/11/image_17082025_20_11_14_9662.jpg
/home/nano/Desktop/images/17082025/20/10/image_17082025_20_11_04_10660.jpg
/home/nano/Desktop/images/17082025/20/10/image_17082025_20_10_54_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689124","1377689123","1377689126","1377689128","1377689122","1377689130"],"photo_ids_order":["1377689122","1377689123","1377689124","1377689126","1377689128","1377689130"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e01439ca336cfa55ea51fb653743a708.jpg","text":"TemporaryFile(/tmp/multipartBody5508544426445946141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454339294,"filename":"image_17082025_20_11_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dd7d7d4934fa617dc1d3fb0428cfaf9f.jpg","text":"TemporaryFile(/tmp/multipartBody1936585599840540603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454339294,"filename":"image_17082025_20_11_34_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5c88a206c0459ca3d713c496050f3c9e.jpg","text":"TemporaryFile(/tmp/multipartBody2825633381817755402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454339294,"filename":"image_17082025_20_11_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c3ca98d17890145bd4331df0d8877085.jpg","text":"TemporaryFile(/tmp/multipartBody3065649258662454050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454339294,"filename":"image_17082025_20_11_04_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a4ebd8987b98bc863e0fe33215c2665a.jpg","text":"TemporaryFile(/tmp/multipartBody323225313868938556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454339294,"filename":"image_17082025_20_11_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ac2c07abb95bedabe6bbb1f8bec6ee4c.jpg","text":"TemporaryFile(/tmp/multipartBody8531135360983999330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454339294,"filename":"image_17082025_20_10_54_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689124","file1":"1377689123","file0":"1377689122","file4":"1377689128","file5":"1377689130","file3":"1377689126"},"map_files_photo_id_array":[{"photo_id":"1377689130","filename":"file5"},{"photo_id":"1377689124","filename":"file2"},{"photo_id":"1377689128","filename":"file4"},{"photo_id":"1377689123","filename":"file1"},{"photo_id":"1377689122","filename":"file0"},{"photo_id":"1377689126","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689124":["hashtag1","hashtag2"]},{"1377689123":["hashtag1","hashtag2"]},{"1377689126":["hashtag1","hashtag2"]},{"1377689128":["hashtag1","hashtag2"]},{"1377689122":["hashtag1","hashtag2"]},{"1377689130":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689124, 1377689123, 1377689126, 1377689128, 1377689122, 1377689130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65163803100586 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:12:03.144471
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/44/image_17082025_13_44_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/13/43/image_17082025_13_44_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/13/43/image_17082025_13_43_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/13/43/image_17082025_13_43_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/43/image_17082025_13_43_34_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/13/43/image_17082025_13_43_24_10652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/13/44/image_17082025_13_44_14_9660.jpg', '/home/nano/Desktop/images/17082025/13/43/image_17082025_13_44_04_9652.jpg', '/home/nano/Desktop/images/17082025/13/43/image_17082025_13_43_54_10647.jpg', '/home/nano/Desktop/images/17082025/13/43/image_17082025_13_43_44_9639.jpg', '/home/nano/Desktop/images/17082025/13/43/image_17082025_13_43_34_9656.jpg', '/home/nano/Desktop/images/17082025/13/43/image_17082025_13_43_24_10652.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/13/44/image_17082025_13_44_14_9660.jpg
/home/nano/Desktop/images/17082025/13/43/image_17082025_13_44_04_9652.jpg
/home/nano/Desktop/images/17082025/13/43/image_17082025_13_43_54_10647.jpg
/home/nano/Desktop/images/17082025/13/43/image_17082025_13_43_44_9639.jpg
/home/nano/Desktop/images/17082025/13/43/image_17082025_13_43_34_9656.jpg
/home/nano/Desktop/images/17082025/13/43/image_17082025_13_43_24_10652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689150","1377689138","1377689147","1377689146","1377689149","1377689148"],"photo_ids_order":["1377689138","1377689146","1377689147","1377689148","1377689149","1377689150"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b7ec04456a075051cf2e9e530a8db8d3.jpg","text":"TemporaryFile(/tmp/multipartBody5192955361166093489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454385229,"filename":"image_17082025_13_43_24_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eb913cab4309e9ad0c80f3f7bde95b47.jpg","text":"TemporaryFile(/tmp/multipartBody2343342298615241506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454385229,"filename":"image_17082025_13_44_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/82eb52ae8cc0b031845da7064842afd4.jpg","text":"TemporaryFile(/tmp/multipartBody1134743696846455641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454385229,"filename":"image_17082025_13_43_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c79591f3a4a49b642e7e7e3d4b14a03b.jpg","text":"TemporaryFile(/tmp/multipartBody3752835521368132831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454385229,"filename":"image_17082025_13_44_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9853fbea4c0579e57c8e8c1906714e9a.jpg","text":"TemporaryFile(/tmp/multipartBody7327818247195801846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454385229,"filename":"image_17082025_13_43_34_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/699241fe7cfd27e7317dfcba1d927e8c.jpg","text":"TemporaryFile(/tmp/multipartBody4248911480733152900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454385229,"filename":"image_17082025_13_43_44_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689147","file1":"1377689146","file0":"1377689138","file4":"1377689149","file5":"1377689150","file3":"1377689148"},"map_files_photo_id_array":[{"photo_id":"1377689150","filename":"file5"},{"photo_id":"1377689147","filename":"file2"},{"photo_id":"1377689149","filename":"file4"},{"photo_id":"1377689146","filename":"file1"},{"photo_id":"1377689138","filename":"file0"},{"photo_id":"1377689148","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689150":["hashtag1","hashtag2"]},{"1377689138":["hashtag1","hashtag2"]},{"1377689147":["hashtag1","hashtag2"]},{"1377689146":["hashtag1","hashtag2"]},{"1377689149":["hashtag1","hashtag2"]},{"1377689148":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689150, 1377689138, 1377689147, 1377689146, 1377689149, 1377689148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.247385025024414 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:12:47.620120
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_34_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_24_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/20/11/image_17082025_20_12_04_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/20/11/image_17082025_20_11_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_44_9639.jpg', '/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_34_10668.jpg', '/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_24_9660.jpg', '/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_14_9662.jpg', '/home/nano/Desktop/images/17082025/20/11/image_17082025_20_12_04_10662.jpg', '/home/nano/Desktop/images/17082025/20/11/image_17082025_20_11_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_44_9639.jpg
/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_34_10668.jpg
/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_24_9660.jpg
/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_14_9662.jpg
/home/nano/Desktop/images/17082025/20/11/image_17082025_20_12_04_10662.jpg
/home/nano/Desktop/images/17082025/20/11/image_17082025_20_11_54_9640.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2887868881225586 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:13:03.461765
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_34_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_24_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/20/11/image_17082025_20_12_04_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/20/11/image_17082025_20_11_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_44_9639.jpg', '/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_34_10668.jpg', '/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_24_9660.jpg', '/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_14_9662.jpg', '/home/nano/Desktop/images/17082025/20/11/image_17082025_20_12_04_10662.jpg', '/home/nano/Desktop/images/17082025/20/11/image_17082025_20_11_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_44_9639.jpg
/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_34_10668.jpg
/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_24_9660.jpg
/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_14_9662.jpg
/home/nano/Desktop/images/17082025/20/11/image_17082025_20_12_04_10662.jpg
/home/nano/Desktop/images/17082025/20/11/image_17082025_20_11_54_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689174","1377689171","1377689164","1377689175","1377689172","1377689160"],"photo_ids_order":["1377689160","1377689164","1377689171","1377689172","1377689174","1377689175"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/41721c9f586d3d44c4d6bcfcb7f56469.jpg","text":"TemporaryFile(/tmp/multipartBody6239866624157819408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454445081,"filename":"image_17082025_20_12_04_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/361497aa2937c865e98303de61fe2ec1.jpg","text":"TemporaryFile(/tmp/multipartBody2487388902678391191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454445081,"filename":"image_17082025_20_12_24_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/48b686d949ec261a4e647088d2356ded.jpg","text":"TemporaryFile(/tmp/multipartBody5942316449058527049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454445081,"filename":"image_17082025_20_12_34_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1eb91760955dbad55825f9bbd36e3c83.jpg","text":"TemporaryFile(/tmp/multipartBody5168332831634852076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454445081,"filename":"image_17082025_20_11_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fd4e8f3c1049ff9d6204b91348d4c69f.jpg","text":"TemporaryFile(/tmp/multipartBody7849905463265636126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454445081,"filename":"image_17082025_20_12_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ae8c1a00e4c6133e92c0171bf8f28544.jpg","text":"TemporaryFile(/tmp/multipartBody3867705669900510107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454445081,"filename":"image_17082025_20_12_44_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689171","file1":"1377689164","file0":"1377689160","file4":"1377689174","file5":"1377689175","file3":"1377689172"},"map_files_photo_id_array":[{"photo_id":"1377689175","filename":"file5"},{"photo_id":"1377689171","filename":"file2"},{"photo_id":"1377689174","filename":"file4"},{"photo_id":"1377689164","filename":"file1"},{"photo_id":"1377689160","filename":"file0"},{"photo_id":"1377689172","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689174":["hashtag1","hashtag2"]},{"1377689171":["hashtag1","hashtag2"]},{"1377689164":["hashtag1","hashtag2"]},{"1377689175":["hashtag1","hashtag2"]},{"1377689172":["hashtag1","hashtag2"]},{"1377689160":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689174, 1377689171, 1377689164, 1377689175, 1377689172, 1377689160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93657612800598 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:13:47.736595
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/13/image_17082025_20_13_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/20/13/image_17082025_20_13_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/20/12/image_17082025_20_13_04_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/13/43/image_17082025_13_43_14_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/13/42/image_17082025_13_43_04_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/13/image_17082025_20_13_34_10648.jpg', '/home/nano/Desktop/images/17082025/20/13/image_17082025_20_13_24_9640.jpg', '/home/nano/Desktop/images/17082025/20/12/image_17082025_20_13_04_10656.jpg', '/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_54_9640.jpg', '/home/nano/Desktop/images/17082025/13/43/image_17082025_13_43_14_9664.jpg', '/home/nano/Desktop/images/17082025/13/42/image_17082025_13_43_04_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/13/image_17082025_20_13_34_10648.jpg
/home/nano/Desktop/images/17082025/20/13/image_17082025_20_13_24_9640.jpg
/home/nano/Desktop/images/17082025/20/12/image_17082025_20_13_04_10656.jpg
/home/nano/Desktop/images/17082025/20/12/image_17082025_20_12_54_9640.jpg
/home/nano/Desktop/images/17082025/13/43/image_17082025_13_43_14_9664.jpg
/home/nano/Desktop/images/17082025/13/42/image_17082025_13_43_04_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689182","1377689185","1377689179","1377689188","1377689178","1377689198"],"photo_ids_order":["1377689178","1377689179","1377689182","1377689185","1377689188","1377689198"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/393a087495720020d9c1b097ead0f3ef.jpg","text":"TemporaryFile(/tmp/multipartBody3626100535031034512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454489625,"filename":"image_17082025_20_13_04_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/59858adb60518a29e1c45ba83b65fd38.jpg","text":"TemporaryFile(/tmp/multipartBody3317793225890569623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454489625,"filename":"image_17082025_20_12_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/336961df0a40e8bec898a4eeb7209bfc.jpg","text":"TemporaryFile(/tmp/multipartBody6161954377619933787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454489625,"filename":"image_17082025_20_13_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2c897149a1331b0e02de0bb0d66a9954.jpg","text":"TemporaryFile(/tmp/multipartBody1424424108778305674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454489625,"filename":"image_17082025_13_43_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a09e24d5a0baafaa35ac52dd2430f4ab.jpg","text":"TemporaryFile(/tmp/multipartBody8472632717691092251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454489625,"filename":"image_17082025_20_13_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f8cd834c836b7670f6aaa8f832370394.jpg","text":"TemporaryFile(/tmp/multipartBody5349538179998783431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454489625,"filename":"image_17082025_13_43_04_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689182","file1":"1377689179","file0":"1377689178","file4":"1377689188","file5":"1377689198","file3":"1377689185"},"map_files_photo_id_array":[{"photo_id":"1377689198","filename":"file5"},{"photo_id":"1377689182","filename":"file2"},{"photo_id":"1377689188","filename":"file4"},{"photo_id":"1377689179","filename":"file1"},{"photo_id":"1377689178","filename":"file0"},{"photo_id":"1377689185","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689182":["hashtag1","hashtag2"]},{"1377689185":["hashtag1","hashtag2"]},{"1377689179":["hashtag1","hashtag2"]},{"1377689188":["hashtag1","hashtag2"]},{"1377689178":["hashtag1","hashtag2"]},{"1377689198":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689182, 1377689185, 1377689179, 1377689188, 1377689178, 1377689198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42362451553345 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:14:31.931459
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/14/image_17082025_20_14_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/20/14/image_17082025_20_14_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/14/image_17082025_20_14_24_10658.jpg', 2), ('/home/nano/Desktop/images/17082025/20/14/image_17082025_20_14_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/20/13/image_17082025_20_14_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/13/image_17082025_20_13_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/14/image_17082025_20_14_44_9638.jpg', '/home/nano/Desktop/images/17082025/20/14/image_17082025_20_14_34_9639.jpg', '/home/nano/Desktop/images/17082025/20/14/image_17082025_20_14_24_10658.jpg', '/home/nano/Desktop/images/17082025/20/14/image_17082025_20_14_14_9660.jpg', '/home/nano/Desktop/images/17082025/20/13/image_17082025_20_14_04_9647.jpg', '/home/nano/Desktop/images/17082025/20/13/image_17082025_20_13_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/14/image_17082025_20_14_44_9638.jpg
/home/nano/Desktop/images/17082025/20/14/image_17082025_20_14_34_9639.jpg
/home/nano/Desktop/images/17082025/20/14/image_17082025_20_14_24_10658.jpg
/home/nano/Desktop/images/17082025/20/14/image_17082025_20_14_14_9660.jpg
/home/nano/Desktop/images/17082025/20/13/image_17082025_20_14_04_9647.jpg
/home/nano/Desktop/images/17082025/20/13/image_17082025_20_13_44_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689205","1377689213","1377689215","1377689203","1377689211","1377689208"],"photo_ids_order":["1377689203","1377689205","1377689208","1377689211","1377689213","1377689215"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/838c04eca48c61584b54b0dfe2e4c923.jpg","text":"TemporaryFile(/tmp/multipartBody5160553404698869914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454533705,"filename":"image_17082025_20_14_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/164242cab6905f1631c609ba23ab364e.jpg","text":"TemporaryFile(/tmp/multipartBody1008431046719621030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454533705,"filename":"image_17082025_20_14_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c12a5693625fc120415f10672cc3161b.jpg","text":"TemporaryFile(/tmp/multipartBody7148265027020603981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454533705,"filename":"image_17082025_20_13_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/99a11e35349dd8dc01d9c23a5a97a173.jpg","text":"TemporaryFile(/tmp/multipartBody1296408793396736930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454533705,"filename":"image_17082025_20_14_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/eb95adcd0985934eab1496c2c67ffdbe.jpg","text":"TemporaryFile(/tmp/multipartBody8457794683272036422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454533705,"filename":"image_17082025_20_14_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/74a5c2c0da9ee7543da9f3e1e6030f9c.jpg","text":"TemporaryFile(/tmp/multipartBody1697531135163440447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454533705,"filename":"image_17082025_20_14_24_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689208","file1":"1377689205","file0":"1377689203","file4":"1377689213","file5":"1377689215","file3":"1377689211"},"map_files_photo_id_array":[{"photo_id":"1377689215","filename":"file5"},{"photo_id":"1377689208","filename":"file2"},{"photo_id":"1377689213","filename":"file4"},{"photo_id":"1377689205","filename":"file1"},{"photo_id":"1377689203","filename":"file0"},{"photo_id":"1377689211","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689205":["hashtag1","hashtag2"]},{"1377689213":["hashtag1","hashtag2"]},{"1377689215":["hashtag1","hashtag2"]},{"1377689203":["hashtag1","hashtag2"]},{"1377689211":["hashtag1","hashtag2"]},{"1377689208":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689205, 1377689213, 1377689215, 1377689203, 1377689211, 1377689208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98534798622131 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:15:17.118226
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/15/image_17082025_20_15_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/20/15/image_17082025_20_15_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/20/15/image_17082025_20_15_24_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/20/15/image_17082025_20_15_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/20/14/image_17082025_20_14_54_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/13/42/image_17082025_13_42_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/15/image_17082025_20_15_44_9641.jpg', '/home/nano/Desktop/images/17082025/20/15/image_17082025_20_15_34_9642.jpg', '/home/nano/Desktop/images/17082025/20/15/image_17082025_20_15_24_10671.jpg', '/home/nano/Desktop/images/17082025/20/15/image_17082025_20_15_14_9661.jpg', '/home/nano/Desktop/images/17082025/20/14/image_17082025_20_14_54_10650.jpg', '/home/nano/Desktop/images/17082025/13/42/image_17082025_13_42_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/15/image_17082025_20_15_44_9641.jpg
/home/nano/Desktop/images/17082025/20/15/image_17082025_20_15_34_9642.jpg
/home/nano/Desktop/images/17082025/20/15/image_17082025_20_15_24_10671.jpg
/home/nano/Desktop/images/17082025/20/15/image_17082025_20_15_14_9661.jpg
/home/nano/Desktop/images/17082025/20/14/image_17082025_20_14_54_10650.jpg
/home/nano/Desktop/images/17082025/13/42/image_17082025_13_42_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689225","1377689228","1377689233","1377689230","1377689224","1377689226"],"photo_ids_order":["1377689224","1377689225","1377689226","1377689228","1377689230","1377689233"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cc1d50f78c526f613501ef8b66a39a41.jpg","text":"TemporaryFile(/tmp/multipartBody2344264851820431389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454578918,"filename":"image_17082025_20_15_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b97221e80d0a0cffbc4c7e7c6608a0bd.jpg","text":"TemporaryFile(/tmp/multipartBody5371358860863501144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454578918,"filename":"image_17082025_20_15_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/af3e39563de5b0695b1b60aaf5779821.jpg","text":"TemporaryFile(/tmp/multipartBody4873444027663714519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454578918,"filename":"image_17082025_13_42_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c9a9606f27dec6928df93a3c261d6096.jpg","text":"TemporaryFile(/tmp/multipartBody8956870604871755322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454578918,"filename":"image_17082025_20_14_54_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/69b4258ee8039d1d058d788e2c2ec43a.jpg","text":"TemporaryFile(/tmp/multipartBody4586120742723576148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454578918,"filename":"image_17082025_20_15_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/906c1ca6611b7d043152119c90a90a9a.jpg","text":"TemporaryFile(/tmp/multipartBody25940067836050899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454578918,"filename":"image_17082025_20_15_24_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689226","file1":"1377689225","file0":"1377689224","file4":"1377689230","file5":"1377689233","file3":"1377689228"},"map_files_photo_id_array":[{"photo_id":"1377689233","filename":"file5"},{"photo_id":"1377689226","filename":"file2"},{"photo_id":"1377689230","filename":"file4"},{"photo_id":"1377689225","filename":"file1"},{"photo_id":"1377689224","filename":"file0"},{"photo_id":"1377689228","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689225":["hashtag1","hashtag2"]},{"1377689228":["hashtag1","hashtag2"]},{"1377689233":["hashtag1","hashtag2"]},{"1377689230":["hashtag1","hashtag2"]},{"1377689224":["hashtag1","hashtag2"]},{"1377689226":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689225, 1377689228, 1377689233, 1377689230, 1377689224, 1377689226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07010221481323 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:16:02.621704
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/42/image_17082025_13_42_44_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/13/42/image_17082025_13_42_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/42/image_17082025_13_42_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/13/42/image_17082025_13_42_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/13/41/image_17082025_13_42_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/13/42/image_17082025_13_42_44_9653.jpg', '/home/nano/Desktop/images/17082025/13/42/image_17082025_13_42_34_9639.jpg', '/home/nano/Desktop/images/17082025/13/42/image_17082025_13_42_24_10650.jpg', '/home/nano/Desktop/images/17082025/13/42/image_17082025_13_42_14_9654.jpg', '/home/nano/Desktop/images/17082025/13/41/image_17082025_13_42_04_9642.jpg', '/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/13/42/image_17082025_13_42_44_9653.jpg
/home/nano/Desktop/images/17082025/13/42/image_17082025_13_42_34_9639.jpg
/home/nano/Desktop/images/17082025/13/42/image_17082025_13_42_24_10650.jpg
/home/nano/Desktop/images/17082025/13/42/image_17082025_13_42_14_9654.jpg
/home/nano/Desktop/images/17082025/13/41/image_17082025_13_42_04_9642.jpg
/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689249","1377689243","1377689252","1377689251","1377689239","1377689250"],"photo_ids_order":["1377689239","1377689243","1377689249","1377689250","1377689251","1377689252"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bc20029c591e44f17e7bd5c8c0ce5de0.jpg","text":"TemporaryFile(/tmp/multipartBody6204940100700775385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454624293,"filename":"image_17082025_13_42_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3befc9e45cc4e5b7661fd3adf40e9523.jpg","text":"TemporaryFile(/tmp/multipartBody7623421687550202343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454624293,"filename":"image_17082025_13_42_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/836d64d4ec0e4f6f3a501f1dcc046780.jpg","text":"TemporaryFile(/tmp/multipartBody2372788284666158183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454624293,"filename":"image_17082025_13_41_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a8d74293087c6550e6c00ab33a3b9f9a.jpg","text":"TemporaryFile(/tmp/multipartBody829889674393355414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454624293,"filename":"image_17082025_13_42_04_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3012ceb50d2a7f3fa247fe4bb3cdb04c.jpg","text":"TemporaryFile(/tmp/multipartBody8630176359430299107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454624293,"filename":"image_17082025_13_42_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9cc2b067220063653914c3f1503cfc51.jpg","text":"TemporaryFile(/tmp/multipartBody1190963009627634724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454624293,"filename":"image_17082025_13_42_14_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689249","file1":"1377689243","file0":"1377689239","file4":"1377689251","file5":"1377689252","file3":"1377689250"},"map_files_photo_id_array":[{"photo_id":"1377689252","filename":"file5"},{"photo_id":"1377689249","filename":"file2"},{"photo_id":"1377689251","filename":"file4"},{"photo_id":"1377689243","filename":"file1"},{"photo_id":"1377689239","filename":"file0"},{"photo_id":"1377689250","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689249":["hashtag1","hashtag2"]},{"1377689243":["hashtag1","hashtag2"]},{"1377689252":["hashtag1","hashtag2"]},{"1377689251":["hashtag1","hashtag2"]},{"1377689239":["hashtag1","hashtag2"]},{"1377689250":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689249, 1377689243, 1377689252, 1377689251, 1377689239, 1377689250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17334055900574 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:16:47.167466
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/16/image_17082025_20_16_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/20/16/image_17082025_20_16_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/20/15/image_17082025_20_16_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/20/15/image_17082025_20_15_54_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_34_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/16/image_17082025_20_16_44_9638.jpg', '/home/nano/Desktop/images/17082025/20/16/image_17082025_20_16_14_9654.jpg', '/home/nano/Desktop/images/17082025/20/15/image_17082025_20_16_04_9644.jpg', '/home/nano/Desktop/images/17082025/20/15/image_17082025_20_15_54_10650.jpg', '/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_44_9637.jpg', '/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_34_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/16/image_17082025_20_16_44_9638.jpg
/home/nano/Desktop/images/17082025/20/16/image_17082025_20_16_14_9654.jpg
/home/nano/Desktop/images/17082025/20/15/image_17082025_20_16_04_9644.jpg
/home/nano/Desktop/images/17082025/20/15/image_17082025_20_15_54_10650.jpg
/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_44_9637.jpg
/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_34_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689255","1377689270","1377689260","1377689257","1377689262","1377689259"],"photo_ids_order":["1377689255","1377689257","1377689259","1377689260","1377689262","1377689270"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c47f9fabc576cda5d2c91a392d19fa2e.jpg","text":"TemporaryFile(/tmp/multipartBody7772191178721498212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454668848,"filename":"image_17082025_20_16_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9ba1ba51ca2ce7e1f831b9698fabed62.jpg","text":"TemporaryFile(/tmp/multipartBody3100686300598839641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454668848,"filename":"image_17082025_13_41_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0ce1963c6c8432f40d2c6c4ed61f0ac8.jpg","text":"TemporaryFile(/tmp/multipartBody5554122949467414458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454668848,"filename":"image_17082025_20_15_54_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/322a8a275ce5bfffa084395bebf21a9f.jpg","text":"TemporaryFile(/tmp/multipartBody5108322666205586090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454668848,"filename":"image_17082025_20_16_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/55b86681e4b7e101662a0ffcc2cb2d13.jpg","text":"TemporaryFile(/tmp/multipartBody8147933678728420821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454668848,"filename":"image_17082025_13_41_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0a5af275636dad177ff30aae929e5c3a.jpg","text":"TemporaryFile(/tmp/multipartBody4007823645548277644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454668848,"filename":"image_17082025_20_16_04_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689259","file1":"1377689257","file0":"1377689255","file4":"1377689262","file5":"1377689270","file3":"1377689260"},"map_files_photo_id_array":[{"photo_id":"1377689270","filename":"file5"},{"photo_id":"1377689259","filename":"file2"},{"photo_id":"1377689262","filename":"file4"},{"photo_id":"1377689257","filename":"file1"},{"photo_id":"1377689255","filename":"file0"},{"photo_id":"1377689260","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689255":["hashtag1","hashtag2"]},{"1377689270":["hashtag1","hashtag2"]},{"1377689260":["hashtag1","hashtag2"]},{"1377689257":["hashtag1","hashtag2"]},{"1377689262":["hashtag1","hashtag2"]},{"1377689259":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689255, 1377689270, 1377689260, 1377689257, 1377689262, 1377689259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22010779380798 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:17:32.260962
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/17/image_17082025_20_17_34_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/20/17/image_17082025_20_17_24_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/20/17/image_17082025_20_17_15_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/20/16/image_17082025_20_17_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/20/16/image_17082025_20_16_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_25_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/17/image_17082025_20_17_34_9657.jpg', '/home/nano/Desktop/images/17082025/20/17/image_17082025_20_17_24_9657.jpg', '/home/nano/Desktop/images/17082025/20/17/image_17082025_20_17_15_10667.jpg', '/home/nano/Desktop/images/17082025/20/16/image_17082025_20_17_04_9641.jpg', '/home/nano/Desktop/images/17082025/20/16/image_17082025_20_16_54_10647.jpg', '/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_25_10653.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/17/image_17082025_20_17_34_9657.jpg
/home/nano/Desktop/images/17082025/20/17/image_17082025_20_17_24_9657.jpg
/home/nano/Desktop/images/17082025/20/17/image_17082025_20_17_15_10667.jpg
/home/nano/Desktop/images/17082025/20/16/image_17082025_20_17_04_9641.jpg
/home/nano/Desktop/images/17082025/20/16/image_17082025_20_16_54_10647.jpg
/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_25_10653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689279","1377689275","1377689280","1377689274","1377689283","1377689277"],"photo_ids_order":["1377689274","1377689275","1377689277","1377689279","1377689280","1377689283"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a4695f3b951af368e8ee6a96850e857c.jpg","text":"TemporaryFile(/tmp/multipartBody2800152124242615844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454714260,"filename":"image_17082025_20_17_04_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/15f7c5160d79e1798559a4b070c31723.jpg","text":"TemporaryFile(/tmp/multipartBody6194785389021655234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454714260,"filename":"image_17082025_20_17_24_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/03fbf0494a3c0115cd71c8446aabae6f.jpg","text":"TemporaryFile(/tmp/multipartBody2488997838655312007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454714260,"filename":"image_17082025_20_16_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c80d1ae5dd8fe80856ad347381da810e.jpg","text":"TemporaryFile(/tmp/multipartBody3798121192438182310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454714260,"filename":"image_17082025_20_17_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/edf98edf3b17ae8cf2f0ae5597972f20.jpg","text":"TemporaryFile(/tmp/multipartBody1890127691725396716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454714260,"filename":"image_17082025_13_41_25_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a57d2828fdb40e9a31f60f9e4f468077.jpg","text":"TemporaryFile(/tmp/multipartBody2296229854086640943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454714260,"filename":"image_17082025_20_17_15_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689277","file1":"1377689275","file0":"1377689274","file4":"1377689280","file5":"1377689283","file3":"1377689279"},"map_files_photo_id_array":[{"photo_id":"1377689283","filename":"file5"},{"photo_id":"1377689277","filename":"file2"},{"photo_id":"1377689280","filename":"file4"},{"photo_id":"1377689275","filename":"file1"},{"photo_id":"1377689274","filename":"file0"},{"photo_id":"1377689279","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689279":["hashtag1","hashtag2"]},{"1377689275":["hashtag1","hashtag2"]},{"1377689280":["hashtag1","hashtag2"]},{"1377689274":["hashtag1","hashtag2"]},{"1377689283":["hashtag1","hashtag2"]},{"1377689277":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689279, 1377689275, 1377689280, 1377689274, 1377689283, 1377689277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43804931640625 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:18:17.365204
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/20/17/image_17082025_20_17_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_14_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_44_10648.jpg', '/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_34_9641.jpg', '/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_24_9640.jpg', '/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_14_10666.jpg', '/home/nano/Desktop/images/17082025/20/17/image_17082025_20_17_54_9641.jpg', '/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_14_9661.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_44_10648.jpg
/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_34_9641.jpg
/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_24_9640.jpg
/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_14_10666.jpg
/home/nano/Desktop/images/17082025/20/17/image_17082025_20_17_54_9641.jpg
/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_14_9661.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8509345054626465 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:18:32.365946
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/20/17/image_17082025_20_17_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_14_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_44_10648.jpg', '/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_34_9641.jpg', '/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_24_9640.jpg', '/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_14_10666.jpg', '/home/nano/Desktop/images/17082025/20/17/image_17082025_20_17_54_9641.jpg', '/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_14_9661.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_44_10648.jpg
/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_34_9641.jpg
/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_24_9640.jpg
/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_14_10666.jpg
/home/nano/Desktop/images/17082025/20/17/image_17082025_20_17_54_9641.jpg
/home/nano/Desktop/images/17082025/13/41/image_17082025_13_41_14_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689304","1377689312","1377689308","1377689302","1377689310","1377689307"],"photo_ids_order":["1377689302","1377689304","1377689307","1377689308","1377689310","1377689312"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2c9a593fc62a66bb083b1b7f987c4a61.jpg","text":"TemporaryFile(/tmp/multipartBody8721447244113015466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454773985,"filename":"image_17082025_20_18_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/66c96f8601688d0c77540e70ffbc5622.jpg","text":"TemporaryFile(/tmp/multipartBody4754435555532503683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454773985,"filename":"image_17082025_13_41_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/01c5aeac36349549edbaba9e1df0892b.jpg","text":"TemporaryFile(/tmp/multipartBody8102870699663396154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454773985,"filename":"image_17082025_20_18_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b4dcddcd76eed0b2f4d448bf861192b7.jpg","text":"TemporaryFile(/tmp/multipartBody4027395008213612091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454773985,"filename":"image_17082025_20_18_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1c70efd2c967b031da1c90d3929e6f30.jpg","text":"TemporaryFile(/tmp/multipartBody8581400516527641715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454773985,"filename":"image_17082025_20_17_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fbaebbe88c96b07b561f0aa807615252.jpg","text":"TemporaryFile(/tmp/multipartBody5654091478537198534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454773985,"filename":"image_17082025_20_18_24_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689307","file1":"1377689304","file0":"1377689302","file4":"1377689310","file5":"1377689312","file3":"1377689308"},"map_files_photo_id_array":[{"photo_id":"1377689312","filename":"file5"},{"photo_id":"1377689307","filename":"file2"},{"photo_id":"1377689310","filename":"file4"},{"photo_id":"1377689304","filename":"file1"},{"photo_id":"1377689302","filename":"file0"},{"photo_id":"1377689308","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689304":["hashtag1","hashtag2"]},{"1377689312":["hashtag1","hashtag2"]},{"1377689308":["hashtag1","hashtag2"]},{"1377689302":["hashtag1","hashtag2"]},{"1377689310":["hashtag1","hashtag2"]},{"1377689307":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689304, 1377689312, 1377689308, 1377689302, 1377689310, 1377689307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.891424894332886 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:19:17.471125
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/13/40/image_17082025_13_41_04_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/13/40/image_17082025_13_40_54_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/13/40/image_17082025_13_40_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/13/40/image_17082025_13_40_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/13/40/image_17082025_13_40_24_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_54_9640.jpg', '/home/nano/Desktop/images/17082025/13/40/image_17082025_13_41_04_10652.jpg', '/home/nano/Desktop/images/17082025/13/40/image_17082025_13_40_54_9655.jpg', '/home/nano/Desktop/images/17082025/13/40/image_17082025_13_40_44_9636.jpg', '/home/nano/Desktop/images/17082025/13/40/image_17082025_13_40_34_10647.jpg', '/home/nano/Desktop/images/17082025/13/40/image_17082025_13_40_24_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/18/image_17082025_20_18_54_9640.jpg
/home/nano/Desktop/images/17082025/13/40/image_17082025_13_41_04_10652.jpg
/home/nano/Desktop/images/17082025/13/40/image_17082025_13_40_54_9655.jpg
/home/nano/Desktop/images/17082025/13/40/image_17082025_13_40_44_9636.jpg
/home/nano/Desktop/images/17082025/13/40/image_17082025_13_40_34_10647.jpg
/home/nano/Desktop/images/17082025/13/40/image_17082025_13_40_24_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689322","1377689324","1377689327","1377689329","1377689323","1377689325"],"photo_ids_order":["1377689322","1377689323","1377689324","1377689325","1377689327","1377689329"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a7214501ad958fe4c381665af4280d27.jpg","text":"TemporaryFile(/tmp/multipartBody7305585596243118476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454819117,"filename":"image_17082025_20_18_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/25224a614b548049fe17ba4418f89cf5.jpg","text":"TemporaryFile(/tmp/multipartBody1013134003959699811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454819117,"filename":"image_17082025_13_40_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ec5ff01be607a4568a821c1a6f937520.jpg","text":"TemporaryFile(/tmp/multipartBody3763474723338462262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454819117,"filename":"image_17082025_13_40_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9986f3cb24e6669c063ad7c624e00e80.jpg","text":"TemporaryFile(/tmp/multipartBody2650476070287447240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454819117,"filename":"image_17082025_13_40_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/131bb63ad32ed996813990b31aa94420.jpg","text":"TemporaryFile(/tmp/multipartBody318875837331051842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454819117,"filename":"image_17082025_13_41_04_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/36375fce4b94a6cfa8055902e8557c61.jpg","text":"TemporaryFile(/tmp/multipartBody1288747631916192809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454819117,"filename":"image_17082025_13_40_44_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689324","file1":"1377689323","file0":"1377689322","file4":"1377689327","file5":"1377689329","file3":"1377689325"},"map_files_photo_id_array":[{"photo_id":"1377689329","filename":"file5"},{"photo_id":"1377689324","filename":"file2"},{"photo_id":"1377689327","filename":"file4"},{"photo_id":"1377689323","filename":"file1"},{"photo_id":"1377689322","filename":"file0"},{"photo_id":"1377689325","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689322":["hashtag1","hashtag2"]},{"1377689324":["hashtag1","hashtag2"]},{"1377689327":["hashtag1","hashtag2"]},{"1377689329":["hashtag1","hashtag2"]},{"1377689323":["hashtag1","hashtag2"]},{"1377689325":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689322, 1377689324, 1377689327, 1377689329, 1377689323, 1377689325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05671525001526 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:20:03.207934
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/40/image_17082025_13_40_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/13/39/image_17082025_13_40_04_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_54_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_24_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/13/40/image_17082025_13_40_14_9660.jpg', '/home/nano/Desktop/images/17082025/13/39/image_17082025_13_40_04_10663.jpg', '/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_54_9636.jpg', '/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_44_9637.jpg', '/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_34_10648.jpg', '/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_24_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/13/40/image_17082025_13_40_14_9660.jpg
/home/nano/Desktop/images/17082025/13/39/image_17082025_13_40_04_10663.jpg
/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_54_9636.jpg
/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_44_9637.jpg
/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_34_10648.jpg
/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_24_9637.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5982611179351807 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:20:17.568774
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/20/image_17082025_20_20_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/20/20/image_17082025_20_20_35_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/20/20/image_17082025_20_20_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/20/19/image_17082025_20_20_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/19/image_17082025_20_19_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/13/40/image_17082025_13_40_14_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/20/image_17082025_20_20_44_9638.jpg', '/home/nano/Desktop/images/17082025/20/20/image_17082025_20_20_35_10648.jpg', '/home/nano/Desktop/images/17082025/20/20/image_17082025_20_20_14_10668.jpg', '/home/nano/Desktop/images/17082025/20/19/image_17082025_20_20_04_9647.jpg', '/home/nano/Desktop/images/17082025/20/19/image_17082025_20_19_34_9641.jpg', '/home/nano/Desktop/images/17082025/13/40/image_17082025_13_40_14_9660.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/20/image_17082025_20_20_44_9638.jpg
/home/nano/Desktop/images/17082025/20/20/image_17082025_20_20_35_10648.jpg
/home/nano/Desktop/images/17082025/20/20/image_17082025_20_20_14_10668.jpg
/home/nano/Desktop/images/17082025/20/19/image_17082025_20_20_04_9647.jpg
/home/nano/Desktop/images/17082025/20/19/image_17082025_20_19_34_9641.jpg
/home/nano/Desktop/images/17082025/13/40/image_17082025_13_40_14_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689351","1377689354","1377689353","1377689356","1377689355","1377689349"],"photo_ids_order":["1377689349","1377689351","1377689353","1377689354","1377689355","1377689356"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/295dbeeee0282fe0d0bd013e252bc6f1.jpg","text":"TemporaryFile(/tmp/multipartBody8080361987717753826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454879390,"filename":"image_17082025_20_20_35_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1e69e751d77af377a99713b122ab1960.jpg","text":"TemporaryFile(/tmp/multipartBody1871150147613354838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454879390,"filename":"image_17082025_20_20_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/94efc3b4f289b7f76137c1b6cc98d864.jpg","text":"TemporaryFile(/tmp/multipartBody4858886317307307553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454879390,"filename":"image_17082025_20_20_14_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e3cb369b0c1a13528ad5ab6add13b480.jpg","text":"TemporaryFile(/tmp/multipartBody4581737607082150584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454879390,"filename":"image_17082025_13_40_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8d3a35a0fb9fc92961c18e68b0d968ec.jpg","text":"TemporaryFile(/tmp/multipartBody3729137346604369235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454879390,"filename":"image_17082025_20_19_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/72b8adc62dc527639b4b9eeb36f4d788.jpg","text":"TemporaryFile(/tmp/multipartBody8215390516235971013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454879390,"filename":"image_17082025_20_20_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689353","file1":"1377689351","file0":"1377689349","file4":"1377689355","file5":"1377689356","file3":"1377689354"},"map_files_photo_id_array":[{"photo_id":"1377689356","filename":"file5"},{"photo_id":"1377689353","filename":"file2"},{"photo_id":"1377689355","filename":"file4"},{"photo_id":"1377689351","filename":"file1"},{"photo_id":"1377689349","filename":"file0"},{"photo_id":"1377689354","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689351":["hashtag1","hashtag2"]},{"1377689354":["hashtag1","hashtag2"]},{"1377689353":["hashtag1","hashtag2"]},{"1377689356":["hashtag1","hashtag2"]},{"1377689355":["hashtag1","hashtag2"]},{"1377689349":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689351, 1377689354, 1377689353, 1377689356, 1377689355, 1377689349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40087080001831 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:21:03.179688
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/39/image_17082025_13_40_04_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_54_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_14_9668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/13/39/image_17082025_13_40_04_10663.jpg', '/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_54_9636.jpg', '/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_44_9637.jpg', '/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_34_10648.jpg', '/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_24_9637.jpg', '/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_14_9668.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/13/39/image_17082025_13_40_04_10663.jpg
/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_54_9636.jpg
/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_44_9637.jpg
/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_34_10648.jpg
/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_24_9637.jpg
/home/nano/Desktop/images/17082025/13/39/image_17082025_13_39_14_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689378","1377689372","1377689365","1377689374","1377689376","1377689379"],"photo_ids_order":["1377689365","1377689372","1377689374","1377689376","1377689378","1377689379"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6f5fa3528bbbaf14293e5b856ce17527.jpg","text":"TemporaryFile(/tmp/multipartBody6536103100318004410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454925155,"filename":"image_17082025_13_39_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/206e4990e486c649838cfa3b22b6b80c.jpg","text":"TemporaryFile(/tmp/multipartBody2837704974793407837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454925155,"filename":"image_17082025_13_39_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c202459a2bc06e2c321066dd39b5dbcc.jpg","text":"TemporaryFile(/tmp/multipartBody7830631350577522146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454925155,"filename":"image_17082025_13_40_04_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c74dcde1df84a4cdb340848516d962d4.jpg","text":"TemporaryFile(/tmp/multipartBody2993853198659725905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454925155,"filename":"image_17082025_13_39_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b6c0f1b98e380831aa25170981585954.jpg","text":"TemporaryFile(/tmp/multipartBody3753971626676524673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454925155,"filename":"image_17082025_13_39_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c1c5a737f348c0d121aceadec1121e28.jpg","text":"TemporaryFile(/tmp/multipartBody8038582555013512795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454925155,"filename":"image_17082025_13_39_14_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689374","file1":"1377689372","file0":"1377689365","file4":"1377689378","file5":"1377689379","file3":"1377689376"},"map_files_photo_id_array":[{"photo_id":"1377689379","filename":"file5"},{"photo_id":"1377689374","filename":"file2"},{"photo_id":"1377689378","filename":"file4"},{"photo_id":"1377689372","filename":"file1"},{"photo_id":"1377689365","filename":"file0"},{"photo_id":"1377689376","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689378":["hashtag1","hashtag2"]},{"1377689372":["hashtag1","hashtag2"]},{"1377689365":["hashtag1","hashtag2"]},{"1377689374":["hashtag1","hashtag2"]},{"1377689376":["hashtag1","hashtag2"]},{"1377689379":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689378, 1377689372, 1377689365, 1377689374, 1377689376, 1377689379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22618365287781 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:21:47.693813
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/21/image_17082025_20_21_44_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/20/21/image_17082025_20_21_34_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/20/21/image_17082025_20_21_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/20/20/image_17082025_20_21_04_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/20/20/image_17082025_20_20_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/38/image_17082025_13_39_04_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/21/image_17082025_20_21_44_9643.jpg', '/home/nano/Desktop/images/17082025/20/21/image_17082025_20_21_34_10651.jpg', '/home/nano/Desktop/images/17082025/20/21/image_17082025_20_21_14_9659.jpg', '/home/nano/Desktop/images/17082025/20/20/image_17082025_20_21_04_10650.jpg', '/home/nano/Desktop/images/17082025/20/20/image_17082025_20_20_54_9638.jpg', '/home/nano/Desktop/images/17082025/13/38/image_17082025_13_39_04_10653.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/21/image_17082025_20_21_44_9643.jpg
/home/nano/Desktop/images/17082025/20/21/image_17082025_20_21_34_10651.jpg
/home/nano/Desktop/images/17082025/20/21/image_17082025_20_21_14_9659.jpg
/home/nano/Desktop/images/17082025/20/20/image_17082025_20_21_04_10650.jpg
/home/nano/Desktop/images/17082025/20/20/image_17082025_20_20_54_9638.jpg
/home/nano/Desktop/images/17082025/13/38/image_17082025_13_39_04_10653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689384","1377689393","1377689387","1377689391","1377689385","1377689382"],"photo_ids_order":["1377689382","1377689384","1377689385","1377689387","1377689391","1377689393"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/3631a95deb7fa8651f64840ad48129d4.jpg","text":"TemporaryFile(/tmp/multipartBody6345985389100877328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454969511,"filename":"image_17082025_20_21_34_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fdc60863a832159a78b19283b0c47b1e.jpg","text":"TemporaryFile(/tmp/multipartBody8939495505721692879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454969511,"filename":"image_17082025_13_39_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2c7d3708e4831cc603620d98a41219a9.jpg","text":"TemporaryFile(/tmp/multipartBody1907267822994720016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454969511,"filename":"image_17082025_20_21_04_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/f11cb5c8273cb769a8a6350420e672a6.jpg","text":"TemporaryFile(/tmp/multipartBody5056442831420351684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454969511,"filename":"image_17082025_20_20_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4e754f01bdc58574f2d8f82a632d02bf.jpg","text":"TemporaryFile(/tmp/multipartBody4737203358069488735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454969511,"filename":"image_17082025_20_21_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/e6060cfe35467244fc95f1dc15f65098.jpg","text":"TemporaryFile(/tmp/multipartBody8127985450631465835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755454969511,"filename":"image_17082025_20_21_44_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689385","file1":"1377689384","file0":"1377689382","file4":"1377689391","file5":"1377689393","file3":"1377689387"},"map_files_photo_id_array":[{"photo_id":"1377689393","filename":"file5"},{"photo_id":"1377689385","filename":"file2"},{"photo_id":"1377689391","filename":"file4"},{"photo_id":"1377689384","filename":"file1"},{"photo_id":"1377689382","filename":"file0"},{"photo_id":"1377689387","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689384":["hashtag1","hashtag2"]},{"1377689393":["hashtag1","hashtag2"]},{"1377689387":["hashtag1","hashtag2"]},{"1377689391":["hashtag1","hashtag2"]},{"1377689385":["hashtag1","hashtag2"]},{"1377689382":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689384, 1377689393, 1377689387, 1377689391, 1377689385, 1377689382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18727397918701 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:22:31.802760
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/22/image_17082025_20_22_34_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/20/22/image_17082025_20_22_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/20/22/image_17082025_20_22_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/20/21/image_17082025_20_22_04_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/20/21/image_17082025_20_21_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/38/image_17082025_13_38_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/22/image_17082025_20_22_34_10651.jpg', '/home/nano/Desktop/images/17082025/20/22/image_17082025_20_22_24_9638.jpg', '/home/nano/Desktop/images/17082025/20/22/image_17082025_20_22_14_9654.jpg', '/home/nano/Desktop/images/17082025/20/21/image_17082025_20_22_04_10653.jpg', '/home/nano/Desktop/images/17082025/20/21/image_17082025_20_21_54_9637.jpg', '/home/nano/Desktop/images/17082025/13/38/image_17082025_13_38_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/22/image_17082025_20_22_34_10651.jpg
/home/nano/Desktop/images/17082025/20/22/image_17082025_20_22_24_9638.jpg
/home/nano/Desktop/images/17082025/20/22/image_17082025_20_22_14_9654.jpg
/home/nano/Desktop/images/17082025/20/21/image_17082025_20_22_04_10653.jpg
/home/nano/Desktop/images/17082025/20/21/image_17082025_20_21_54_9637.jpg
/home/nano/Desktop/images/17082025/13/38/image_17082025_13_38_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689400","1377689399","1377689402","1377689407","1377689404","1377689397"],"photo_ids_order":["1377689397","1377689399","1377689400","1377689402","1377689404","1377689407"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4691a9995780ccd288ca68b0db5ff5c3.jpg","text":"TemporaryFile(/tmp/multipartBody6983490221923137332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455013769,"filename":"image_17082025_20_22_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/2c1354385bfd9f647d2adf749c383584.jpg","text":"TemporaryFile(/tmp/multipartBody3444933162813979382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455013769,"filename":"image_17082025_20_22_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/94a34241d9b0f7ea5e17c763d10b8e69.jpg","text":"TemporaryFile(/tmp/multipartBody2851281293908345493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455013769,"filename":"image_17082025_20_22_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/535df53d1215ca192c94ab5259e6a4a5.jpg","text":"TemporaryFile(/tmp/multipartBody5263528075215552428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455013769,"filename":"image_17082025_13_38_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/49c0da84c96ee8cadd513fc3c054adfb.jpg","text":"TemporaryFile(/tmp/multipartBody1548608785704765034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455013769,"filename":"image_17082025_20_21_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/bed2ab737a6590e93adbfe980c1329a1.jpg","text":"TemporaryFile(/tmp/multipartBody595186600847674574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455013769,"filename":"image_17082025_20_22_34_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689400","file1":"1377689399","file0":"1377689397","file4":"1377689404","file5":"1377689407","file3":"1377689402"},"map_files_photo_id_array":[{"photo_id":"1377689407","filename":"file5"},{"photo_id":"1377689400","filename":"file2"},{"photo_id":"1377689404","filename":"file4"},{"photo_id":"1377689399","filename":"file1"},{"photo_id":"1377689397","filename":"file0"},{"photo_id":"1377689402","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689400":["hashtag1","hashtag2"]},{"1377689399":["hashtag1","hashtag2"]},{"1377689402":["hashtag1","hashtag2"]},{"1377689407":["hashtag1","hashtag2"]},{"1377689404":["hashtag1","hashtag2"]},{"1377689397":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689400, 1377689399, 1377689402, 1377689407, 1377689404, 1377689397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20287609100342 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:23:16.931039
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/23/image_17082025_20_23_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/20/23/image_17082025_20_23_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/23/image_17082025_20_23_14_9665.jpg', 2), ('/home/nano/Desktop/images/17082025/20/22/image_17082025_20_23_04_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/20/22/image_17082025_20_22_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/13/38/image_17082025_13_38_35_10663.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/23/image_17082025_20_23_44_9640.jpg', '/home/nano/Desktop/images/17082025/20/23/image_17082025_20_23_34_9639.jpg', '/home/nano/Desktop/images/17082025/20/23/image_17082025_20_23_14_9665.jpg', '/home/nano/Desktop/images/17082025/20/22/image_17082025_20_23_04_10651.jpg', '/home/nano/Desktop/images/17082025/20/22/image_17082025_20_22_44_9641.jpg', '/home/nano/Desktop/images/17082025/13/38/image_17082025_13_38_35_10663.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/23/image_17082025_20_23_44_9640.jpg
/home/nano/Desktop/images/17082025/20/23/image_17082025_20_23_34_9639.jpg
/home/nano/Desktop/images/17082025/20/23/image_17082025_20_23_14_9665.jpg
/home/nano/Desktop/images/17082025/20/22/image_17082025_20_23_04_10651.jpg
/home/nano/Desktop/images/17082025/20/22/image_17082025_20_22_44_9641.jpg
/home/nano/Desktop/images/17082025/13/38/image_17082025_13_38_35_10663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689421","1377689420","1377689422","1377689416","1377689419","1377689418"],"photo_ids_order":["1377689416","1377689418","1377689419","1377689420","1377689421","1377689422"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b2890cbecbaf232b419b947e5349ed1f.jpg","text":"TemporaryFile(/tmp/multipartBody541554479596746424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455058794,"filename":"image_17082025_20_22_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1e2fde0adb5eb7c6ec77ef8ea5ba6f60.jpg","text":"TemporaryFile(/tmp/multipartBody8372426790307371197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455058794,"filename":"image_17082025_20_23_04_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ad37e6d8ddb9bef4b3abe8f379bb8d7d.jpg","text":"TemporaryFile(/tmp/multipartBody8114854702585771916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455058794,"filename":"image_17082025_13_38_35_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6f2e53ff1c84c4983a5cbd1b526f23f4.jpg","text":"TemporaryFile(/tmp/multipartBody52641037455313013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455058794,"filename":"image_17082025_20_23_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/438447bc4fcdf399b05965d446696739.jpg","text":"TemporaryFile(/tmp/multipartBody8675608885370863015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455058794,"filename":"image_17082025_20_23_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/b18bd41d419eb6c70c6c42c27e1fa20f.jpg","text":"TemporaryFile(/tmp/multipartBody8532212494491017113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455058794,"filename":"image_17082025_20_23_34_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689419","file1":"1377689418","file0":"1377689416","file4":"1377689421","file5":"1377689422","file3":"1377689420"},"map_files_photo_id_array":[{"photo_id":"1377689422","filename":"file5"},{"photo_id":"1377689419","filename":"file2"},{"photo_id":"1377689421","filename":"file4"},{"photo_id":"1377689418","filename":"file1"},{"photo_id":"1377689416","filename":"file0"},{"photo_id":"1377689420","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689421":["hashtag1","hashtag2"]},{"1377689420":["hashtag1","hashtag2"]},{"1377689422":["hashtag1","hashtag2"]},{"1377689416":["hashtag1","hashtag2"]},{"1377689419":["hashtag1","hashtag2"]},{"1377689418":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689421, 1377689420, 1377689422, 1377689416, 1377689419, 1377689418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.918864727020264 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:24:03.000549
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/38/image_17082025_13_38_24_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/13/37/image_17082025_13_37_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/13/37/image_17082025_13_37_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/37/image_17082025_13_37_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/13/37/image_17082025_13_37_14_10685.jpg', 2), ('/home/nano/Desktop/images/17082025/13/36/image_17082025_13_37_04_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/13/38/image_17082025_13_38_24_9653.jpg', '/home/nano/Desktop/images/17082025/13/37/image_17082025_13_37_44_10648.jpg', '/home/nano/Desktop/images/17082025/13/37/image_17082025_13_37_34_9638.jpg', '/home/nano/Desktop/images/17082025/13/37/image_17082025_13_37_24_9643.jpg', '/home/nano/Desktop/images/17082025/13/37/image_17082025_13_37_14_10685.jpg', '/home/nano/Desktop/images/17082025/13/36/image_17082025_13_37_04_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/13/38/image_17082025_13_38_24_9653.jpg
/home/nano/Desktop/images/17082025/13/37/image_17082025_13_37_44_10648.jpg
/home/nano/Desktop/images/17082025/13/37/image_17082025_13_37_34_9638.jpg
/home/nano/Desktop/images/17082025/13/37/image_17082025_13_37_24_9643.jpg
/home/nano/Desktop/images/17082025/13/37/image_17082025_13_37_14_10685.jpg
/home/nano/Desktop/images/17082025/13/36/image_17082025_13_37_04_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689435","1377689431","1377689434","1377689436","1377689433","1377689427"],"photo_ids_order":["1377689427","1377689431","1377689433","1377689434","1377689435","1377689436"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/c083d9a8e0f72ef070c44568136f534c.jpg","text":"TemporaryFile(/tmp/multipartBody2772204274663373931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455105002,"filename":"image_17082025_13_37_14_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d596755624bcdab5b06a4845bb6ebb12.jpg","text":"TemporaryFile(/tmp/multipartBody1044437757679637497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455105002,"filename":"image_17082025_13_37_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/7b1264a90e322de25d11bf4793bbe607.jpg","text":"TemporaryFile(/tmp/multipartBody4434616830290646829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455105002,"filename":"image_17082025_13_37_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/46643ab9b705af9c58e10e38a41533a3.jpg","text":"TemporaryFile(/tmp/multipartBody5254664365840893286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455105002,"filename":"image_17082025_13_37_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/737711e43a63289b153ba96a7284b583.jpg","text":"TemporaryFile(/tmp/multipartBody1466555904689523560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455105002,"filename":"image_17082025_13_37_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ecc9f5b736251ddade4bb4c19510018d.jpg","text":"TemporaryFile(/tmp/multipartBody2426483927038249981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455105002,"filename":"image_17082025_13_38_24_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689433","file1":"1377689431","file0":"1377689427","file4":"1377689435","file5":"1377689436","file3":"1377689434"},"map_files_photo_id_array":[{"photo_id":"1377689436","filename":"file5"},{"photo_id":"1377689433","filename":"file2"},{"photo_id":"1377689435","filename":"file4"},{"photo_id":"1377689431","filename":"file1"},{"photo_id":"1377689427","filename":"file0"},{"photo_id":"1377689434","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689435":["hashtag1","hashtag2"]},{"1377689431":["hashtag1","hashtag2"]},{"1377689434":["hashtag1","hashtag2"]},{"1377689436":["hashtag1","hashtag2"]},{"1377689433":["hashtag1","hashtag2"]},{"1377689427":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689435, 1377689431, 1377689434, 1377689436, 1377689433, 1377689427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.573774099349976 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:24:47.042960
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/24/image_17082025_20_24_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/24/image_17082025_20_24_25_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/20/24/image_17082025_20_24_14_9684.jpg', 2), ('/home/nano/Desktop/images/17082025/20/23/image_17082025_20_24_04_9668.jpg', 2), ('/home/nano/Desktop/images/17082025/20/23/image_17082025_20_23_54_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/13/36/image_17082025_13_36_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/24/image_17082025_20_24_34_9639.jpg', '/home/nano/Desktop/images/17082025/20/24/image_17082025_20_24_25_10665.jpg', '/home/nano/Desktop/images/17082025/20/24/image_17082025_20_24_14_9684.jpg', '/home/nano/Desktop/images/17082025/20/23/image_17082025_20_24_04_9668.jpg', '/home/nano/Desktop/images/17082025/20/23/image_17082025_20_23_54_10667.jpg', '/home/nano/Desktop/images/17082025/13/36/image_17082025_13_36_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/24/image_17082025_20_24_34_9639.jpg
/home/nano/Desktop/images/17082025/20/24/image_17082025_20_24_25_10665.jpg
/home/nano/Desktop/images/17082025/20/24/image_17082025_20_24_14_9684.jpg
/home/nano/Desktop/images/17082025/20/23/image_17082025_20_24_04_9668.jpg
/home/nano/Desktop/images/17082025/20/23/image_17082025_20_23_54_10667.jpg
/home/nano/Desktop/images/17082025/13/36/image_17082025_13_36_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689441","1377689444","1377689443","1377689446","1377689449","1377689439"],"photo_ids_order":["1377689439","1377689441","1377689443","1377689444","1377689446","1377689449"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a61cd1b61336f710a0a0cc9dfc532cdb.jpg","text":"TemporaryFile(/tmp/multipartBody7777661705077043026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455149186,"filename":"image_17082025_20_24_25_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aa1c5038490f30398f1cacbdff3c7da5.jpg","text":"TemporaryFile(/tmp/multipartBody7291816163057057190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455149186,"filename":"image_17082025_20_24_04_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4e7109b6231e442a89590880932068bc.jpg","text":"TemporaryFile(/tmp/multipartBody5624540560646601461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455149186,"filename":"image_17082025_20_24_14_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/936a1e2dff614caacda94668a8cbbe44.jpg","text":"TemporaryFile(/tmp/multipartBody2022073652117476375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455149186,"filename":"image_17082025_20_23_54_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/5be225e8a7875e0672640dc224bef79a.jpg","text":"TemporaryFile(/tmp/multipartBody2414839530510264221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455149186,"filename":"image_17082025_13_36_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/09afd6d1f073266f747a720531a733a2.jpg","text":"TemporaryFile(/tmp/multipartBody3251919191038322773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455149186,"filename":"image_17082025_20_24_34_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689443","file1":"1377689441","file0":"1377689439","file4":"1377689446","file5":"1377689449","file3":"1377689444"},"map_files_photo_id_array":[{"photo_id":"1377689449","filename":"file5"},{"photo_id":"1377689443","filename":"file2"},{"photo_id":"1377689446","filename":"file4"},{"photo_id":"1377689441","filename":"file1"},{"photo_id":"1377689439","filename":"file0"},{"photo_id":"1377689444","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689441":["hashtag1","hashtag2"]},{"1377689444":["hashtag1","hashtag2"]},{"1377689443":["hashtag1","hashtag2"]},{"1377689446":["hashtag1","hashtag2"]},{"1377689449":["hashtag1","hashtag2"]},{"1377689439":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689441, 1377689444, 1377689443, 1377689446, 1377689449, 1377689439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.784554958343506 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:25:32.153754
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/25/image_17082025_20_25_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/20/25/image_17082025_20_25_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/25/image_17082025_20_25_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/20/24/image_17082025_20_25_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/20/24/image_17082025_20_24_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/13/36/image_17082025_13_36_34_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/25/image_17082025_20_25_44_9638.jpg', '/home/nano/Desktop/images/17082025/20/25/image_17082025_20_25_34_9639.jpg', '/home/nano/Desktop/images/17082025/20/25/image_17082025_20_25_14_9654.jpg', '/home/nano/Desktop/images/17082025/20/24/image_17082025_20_25_04_9648.jpg', '/home/nano/Desktop/images/17082025/20/24/image_17082025_20_24_44_9640.jpg', '/home/nano/Desktop/images/17082025/13/36/image_17082025_13_36_34_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/25/image_17082025_20_25_44_9638.jpg
/home/nano/Desktop/images/17082025/20/25/image_17082025_20_25_34_9639.jpg
/home/nano/Desktop/images/17082025/20/25/image_17082025_20_25_14_9654.jpg
/home/nano/Desktop/images/17082025/20/24/image_17082025_20_25_04_9648.jpg
/home/nano/Desktop/images/17082025/20/24/image_17082025_20_24_44_9640.jpg
/home/nano/Desktop/images/17082025/13/36/image_17082025_13_36_34_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689450","1377689456","1377689458","1377689452","1377689455","1377689460"],"photo_ids_order":["1377689450","1377689452","1377689455","1377689456","1377689458","1377689460"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/15510796fbc1f14e096d4ec6f118b4c3.jpg","text":"TemporaryFile(/tmp/multipartBody6715247703653963657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455193874,"filename":"image_17082025_20_25_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/902bf6733d963a33c8339e60f77de0f5.jpg","text":"TemporaryFile(/tmp/multipartBody8545012156443387514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455193874,"filename":"image_17082025_20_25_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/61b5d02128db95ee4c1b759da809f460.jpg","text":"TemporaryFile(/tmp/multipartBody200817375291579511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455193874,"filename":"image_17082025_20_24_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/31b7df08c45074456b7a0527855efd70.jpg","text":"TemporaryFile(/tmp/multipartBody1955592751561304452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455193874,"filename":"image_17082025_20_25_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1997c4d015bd1c8f14fa2407aca9a680.jpg","text":"TemporaryFile(/tmp/multipartBody508170676041511585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455193874,"filename":"image_17082025_20_25_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a802375558b5aa9cd0ec89ada6c31bc5.jpg","text":"TemporaryFile(/tmp/multipartBody7951405451108810570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455193874,"filename":"image_17082025_13_36_34_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689455","file1":"1377689452","file0":"1377689450","file4":"1377689458","file5":"1377689460","file3":"1377689456"},"map_files_photo_id_array":[{"photo_id":"1377689460","filename":"file5"},{"photo_id":"1377689455","filename":"file2"},{"photo_id":"1377689458","filename":"file4"},{"photo_id":"1377689452","filename":"file1"},{"photo_id":"1377689450","filename":"file0"},{"photo_id":"1377689456","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689450":["hashtag1","hashtag2"]},{"1377689456":["hashtag1","hashtag2"]},{"1377689458":["hashtag1","hashtag2"]},{"1377689452":["hashtag1","hashtag2"]},{"1377689455":["hashtag1","hashtag2"]},{"1377689460":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689450, 1377689456, 1377689458, 1377689452, 1377689455, 1377689460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58987092971802 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:26:17.269382
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/26/image_17082025_20_26_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/20/26/image_17082025_20_26_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/25/image_17082025_20_25_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/13/36/image_17082025_13_36_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/13/36/image_17082025_13_36_14_10685.jpg', 2), ('/home/nano/Desktop/images/17082025/13/35/image_17082025_13_36_04_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/26/image_17082025_20_26_34_9636.jpg', '/home/nano/Desktop/images/17082025/20/26/image_17082025_20_26_24_10647.jpg', '/home/nano/Desktop/images/17082025/20/25/image_17082025_20_25_54_10649.jpg', '/home/nano/Desktop/images/17082025/13/36/image_17082025_13_36_24_9655.jpg', '/home/nano/Desktop/images/17082025/13/36/image_17082025_13_36_14_10685.jpg', '/home/nano/Desktop/images/17082025/13/35/image_17082025_13_36_04_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/26/image_17082025_20_26_34_9636.jpg
/home/nano/Desktop/images/17082025/20/26/image_17082025_20_26_24_10647.jpg
/home/nano/Desktop/images/17082025/20/25/image_17082025_20_25_54_10649.jpg
/home/nano/Desktop/images/17082025/13/36/image_17082025_13_36_24_9655.jpg
/home/nano/Desktop/images/17082025/13/36/image_17082025_13_36_14_10685.jpg
/home/nano/Desktop/images/17082025/13/35/image_17082025_13_36_04_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689471","1377689468","1377689470","1377689473","1377689467","1377689469"],"photo_ids_order":["1377689467","1377689468","1377689469","1377689470","1377689471","1377689473"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8550e1a2e426c47efdd73a722f73a027.jpg","text":"TemporaryFile(/tmp/multipartBody790281828224287338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455239277,"filename":"image_17082025_13_36_14_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/cd1a6958bd6c83d65d377fbaa4a28021.jpg","text":"TemporaryFile(/tmp/multipartBody491267817146236002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455239277,"filename":"image_17082025_20_26_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/85176c29990c8f677723359a1873656f.jpg","text":"TemporaryFile(/tmp/multipartBody3952471112062109993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455239277,"filename":"image_17082025_13_36_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/8846d2521a24ff8b79bed38145286b05.jpg","text":"TemporaryFile(/tmp/multipartBody6185297732032841657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455239277,"filename":"image_17082025_13_36_04_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ccb495379642c3daf7271e695b5da992.jpg","text":"TemporaryFile(/tmp/multipartBody7996376272967156476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455239277,"filename":"image_17082025_20_26_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a29366d93a0bbe137a13e2d15c19ba04.jpg","text":"TemporaryFile(/tmp/multipartBody6966509166231443898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455239277,"filename":"image_17082025_20_25_54_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689469","file1":"1377689468","file0":"1377689467","file4":"1377689471","file5":"1377689473","file3":"1377689470"},"map_files_photo_id_array":[{"photo_id":"1377689473","filename":"file5"},{"photo_id":"1377689469","filename":"file2"},{"photo_id":"1377689471","filename":"file4"},{"photo_id":"1377689468","filename":"file1"},{"photo_id":"1377689467","filename":"file0"},{"photo_id":"1377689470","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689471":["hashtag1","hashtag2"]},{"1377689468":["hashtag1","hashtag2"]},{"1377689470":["hashtag1","hashtag2"]},{"1377689473":["hashtag1","hashtag2"]},{"1377689467":["hashtag1","hashtag2"]},{"1377689469":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689471, 1377689468, 1377689470, 1377689473, 1377689467, 1377689469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.88692021369934 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:27:03.084516
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/35/image_17082025_13_35_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/35/image_17082025_13_35_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/13/35/image_17082025_13_35_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/13/35/image_17082025_13_35_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/34/image_17082025_13_35_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/13/34/image_17082025_13_34_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/13/35/image_17082025_13_35_54_9638.jpg', '/home/nano/Desktop/images/17082025/13/35/image_17082025_13_35_44_10647.jpg', '/home/nano/Desktop/images/17082025/13/35/image_17082025_13_35_34_9640.jpg', '/home/nano/Desktop/images/17082025/13/35/image_17082025_13_35_24_9637.jpg', '/home/nano/Desktop/images/17082025/13/34/image_17082025_13_35_04_9645.jpg', '/home/nano/Desktop/images/17082025/13/34/image_17082025_13_34_54_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/13/35/image_17082025_13_35_54_9638.jpg
/home/nano/Desktop/images/17082025/13/35/image_17082025_13_35_44_10647.jpg
/home/nano/Desktop/images/17082025/13/35/image_17082025_13_35_34_9640.jpg
/home/nano/Desktop/images/17082025/13/35/image_17082025_13_35_24_9637.jpg
/home/nano/Desktop/images/17082025/13/34/image_17082025_13_35_04_9645.jpg
/home/nano/Desktop/images/17082025/13/34/image_17082025_13_34_54_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689486","1377689488","1377689485","1377689490","1377689484","1377689481"],"photo_ids_order":["1377689481","1377689484","1377689485","1377689486","1377689488","1377689490"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/795c661df8cb1a1f2374198ee9465a8d.jpg","text":"TemporaryFile(/tmp/multipartBody2443140698297431766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455284979,"filename":"image_17082025_13_35_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/01010c43a30dc6901695b7f422fab3b1.jpg","text":"TemporaryFile(/tmp/multipartBody9185822572303231593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455284979,"filename":"image_17082025_13_35_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/9c5af3d21a35ec77a5d1a58eb09cd300.jpg","text":"TemporaryFile(/tmp/multipartBody1146939064363711516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455284979,"filename":"image_17082025_13_35_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/749681172e9c902ef0de55356e3b5178.jpg","text":"TemporaryFile(/tmp/multipartBody2461015975799989550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455284979,"filename":"image_17082025_13_34_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/78ac5b5382baf4eecbe77fc33ca4953a.jpg","text":"TemporaryFile(/tmp/multipartBody780210482311166445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455284979,"filename":"image_17082025_13_35_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0471191607e484567d6db0ca62cd750b.jpg","text":"TemporaryFile(/tmp/multipartBody4745164646053001226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455284979,"filename":"image_17082025_13_35_54_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689485","file1":"1377689484","file0":"1377689481","file4":"1377689488","file5":"1377689490","file3":"1377689486"},"map_files_photo_id_array":[{"photo_id":"1377689490","filename":"file5"},{"photo_id":"1377689485","filename":"file2"},{"photo_id":"1377689488","filename":"file4"},{"photo_id":"1377689484","filename":"file1"},{"photo_id":"1377689481","filename":"file0"},{"photo_id":"1377689486","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689486":["hashtag1","hashtag2"]},{"1377689488":["hashtag1","hashtag2"]},{"1377689485":["hashtag1","hashtag2"]},{"1377689490":["hashtag1","hashtag2"]},{"1377689484":["hashtag1","hashtag2"]},{"1377689481":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689486, 1377689488, 1377689485, 1377689490, 1377689484, 1377689481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30285573005676 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:27:47.406301
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/27/image_17082025_20_27_45_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/27/image_17082025_20_27_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/20/27/image_17082025_20_27_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/20/27/image_17082025_20_27_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/20/26/image_17082025_20_27_04_9671.jpg', 2), ('/home/nano/Desktop/images/17082025/20/26/image_17082025_20_26_44_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/27/image_17082025_20_27_45_10647.jpg', '/home/nano/Desktop/images/17082025/20/27/image_17082025_20_27_34_9637.jpg', '/home/nano/Desktop/images/17082025/20/27/image_17082025_20_27_24_10649.jpg', '/home/nano/Desktop/images/17082025/20/27/image_17082025_20_27_14_9656.jpg', '/home/nano/Desktop/images/17082025/20/26/image_17082025_20_27_04_9671.jpg', '/home/nano/Desktop/images/17082025/20/26/image_17082025_20_26_44_9643.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/27/image_17082025_20_27_45_10647.jpg
/home/nano/Desktop/images/17082025/20/27/image_17082025_20_27_34_9637.jpg
/home/nano/Desktop/images/17082025/20/27/image_17082025_20_27_24_10649.jpg
/home/nano/Desktop/images/17082025/20/27/image_17082025_20_27_14_9656.jpg
/home/nano/Desktop/images/17082025/20/26/image_17082025_20_27_04_9671.jpg
/home/nano/Desktop/images/17082025/20/26/image_17082025_20_26_44_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689508","1377689492","1377689494","1377689497","1377689506","1377689500"],"photo_ids_order":["1377689492","1377689494","1377689497","1377689500","1377689506","1377689508"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ebceaaccee6d7c188f7dec00ff9edc19.jpg","text":"TemporaryFile(/tmp/multipartBody7290549774280154469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455329256,"filename":"image_17082025_20_26_44_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0fe61e89c199e4872d2f370525f696dd.jpg","text":"TemporaryFile(/tmp/multipartBody6714418975676601872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455329256,"filename":"image_17082025_20_27_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/d70811771933451cd8753c0a0fbe1216.jpg","text":"TemporaryFile(/tmp/multipartBody5974254890272946622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455329256,"filename":"image_17082025_20_27_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a68824b80749e4a31a3bdfa4c6bf57b3.jpg","text":"TemporaryFile(/tmp/multipartBody7828776941820415419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455329256,"filename":"image_17082025_20_27_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ef9b5ab71336f3e796c8032a6e15305d.jpg","text":"TemporaryFile(/tmp/multipartBody1409412608296493428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455329256,"filename":"image_17082025_20_27_04_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/0369bddaefbd06ac9170265ea4b1dc1d.jpg","text":"TemporaryFile(/tmp/multipartBody775624406536034835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455329256,"filename":"image_17082025_20_27_14_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689497","file1":"1377689494","file0":"1377689492","file4":"1377689506","file5":"1377689508","file3":"1377689500"},"map_files_photo_id_array":[{"photo_id":"1377689508","filename":"file5"},{"photo_id":"1377689497","filename":"file2"},{"photo_id":"1377689506","filename":"file4"},{"photo_id":"1377689494","filename":"file1"},{"photo_id":"1377689492","filename":"file0"},{"photo_id":"1377689500","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689508":["hashtag1","hashtag2"]},{"1377689492":["hashtag1","hashtag2"]},{"1377689494":["hashtag1","hashtag2"]},{"1377689497":["hashtag1","hashtag2"]},{"1377689506":["hashtag1","hashtag2"]},{"1377689500":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689508, 1377689492, 1377689494, 1377689497, 1377689506, 1377689500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48364043235779 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:28:32.495469
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/28/image_17082025_20_28_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/20/27/image_17082025_20_27_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/13/34/image_17082025_13_34_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/13/34/image_17082025_13_34_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/13/34/image_17082025_13_34_24_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/13/34/image_17082025_13_34_14_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/28/image_17082025_20_28_34_9638.jpg', '/home/nano/Desktop/images/17082025/20/27/image_17082025_20_27_54_9641.jpg', '/home/nano/Desktop/images/17082025/13/34/image_17082025_13_34_44_9636.jpg', '/home/nano/Desktop/images/17082025/13/34/image_17082025_13_34_34_9639.jpg', '/home/nano/Desktop/images/17082025/13/34/image_17082025_13_34_24_10645.jpg', '/home/nano/Desktop/images/17082025/13/34/image_17082025_13_34_14_9653.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/28/image_17082025_20_28_34_9638.jpg
/home/nano/Desktop/images/17082025/20/27/image_17082025_20_27_54_9641.jpg
/home/nano/Desktop/images/17082025/13/34/image_17082025_13_34_44_9636.jpg
/home/nano/Desktop/images/17082025/13/34/image_17082025_13_34_34_9639.jpg
/home/nano/Desktop/images/17082025/13/34/image_17082025_13_34_24_10645.jpg
/home/nano/Desktop/images/17082025/13/34/image_17082025_13_34_14_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689513","1377689516","1377689519","1377689515","1377689518","1377689517"],"photo_ids_order":["1377689513","1377689515","1377689516","1377689517","1377689518","1377689519"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/134bc3dc83b54961db7f86b35b363e8e.jpg","text":"TemporaryFile(/tmp/multipartBody1343186494990044348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455374614,"filename":"image_17082025_20_28_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/aef58f40990385f966b0d43b0574cb9e.jpg","text":"TemporaryFile(/tmp/multipartBody649724503141426170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455374614,"filename":"image_17082025_13_34_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/6dbe6b0e756819ed527b25f6cca549c8.jpg","text":"TemporaryFile(/tmp/multipartBody664052743330303484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455374614,"filename":"image_17082025_13_34_14_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/941fa9e3c0d3904a15d1685d64c95622.jpg","text":"TemporaryFile(/tmp/multipartBody7914871966635288113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455374614,"filename":"image_17082025_20_27_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/302700c86e88c17758642d0f04bdf55b.jpg","text":"TemporaryFile(/tmp/multipartBody3630501875836071282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455374614,"filename":"image_17082025_13_34_24_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/80bed204e1197893f5483b8016ee4a66.jpg","text":"TemporaryFile(/tmp/multipartBody7049911176848953672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455374614,"filename":"image_17082025_13_34_34_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689516","file1":"1377689515","file0":"1377689513","file4":"1377689518","file5":"1377689519","file3":"1377689517"},"map_files_photo_id_array":[{"photo_id":"1377689519","filename":"file5"},{"photo_id":"1377689516","filename":"file2"},{"photo_id":"1377689518","filename":"file4"},{"photo_id":"1377689515","filename":"file1"},{"photo_id":"1377689513","filename":"file0"},{"photo_id":"1377689517","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689513":["hashtag1","hashtag2"]},{"1377689516":["hashtag1","hashtag2"]},{"1377689519":["hashtag1","hashtag2"]},{"1377689515":["hashtag1","hashtag2"]},{"1377689518":["hashtag1","hashtag2"]},{"1377689517":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689513, 1377689516, 1377689519, 1377689515, 1377689518, 1377689517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67163944244385 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:29:17.628491
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/29/image_17082025_20_29_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/20/29/image_17082025_20_29_14_10685.jpg', 2), ('/home/nano/Desktop/images/17082025/20/28/image_17082025_20_29_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/20/28/image_17082025_20_28_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/13/33/image_17082025_13_34_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_54_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/29/image_17082025_20_29_24_9637.jpg', '/home/nano/Desktop/images/17082025/20/29/image_17082025_20_29_14_10685.jpg', '/home/nano/Desktop/images/17082025/20/28/image_17082025_20_29_04_9653.jpg', '/home/nano/Desktop/images/17082025/20/28/image_17082025_20_28_54_9637.jpg', '/home/nano/Desktop/images/17082025/13/33/image_17082025_13_34_04_9651.jpg', '/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_54_10646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/29/image_17082025_20_29_24_9637.jpg
/home/nano/Desktop/images/17082025/20/29/image_17082025_20_29_14_10685.jpg
/home/nano/Desktop/images/17082025/20/28/image_17082025_20_29_04_9653.jpg
/home/nano/Desktop/images/17082025/20/28/image_17082025_20_28_54_9637.jpg
/home/nano/Desktop/images/17082025/13/33/image_17082025_13_34_04_9651.jpg
/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_54_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689528","1377689537","1377689525","1377689530","1377689535","1377689532"],"photo_ids_order":["1377689525","1377689528","1377689530","1377689532","1377689535","1377689537"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/ea7f39976407b740035b7f15ee475b55.jpg","text":"TemporaryFile(/tmp/multipartBody543589736828641240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455419426,"filename":"image_17082025_20_29_14_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/616f95b79f90687bf610dab2ed45277c.jpg","text":"TemporaryFile(/tmp/multipartBody6248151425841757141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455419426,"filename":"image_17082025_13_33_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/18fc34913cd0f15bfbb3fb396b3bb1c6.jpg","text":"TemporaryFile(/tmp/multipartBody7862968655855538687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455419426,"filename":"image_17082025_20_29_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/de09d7af47de8e77b05aa017e7537632.jpg","text":"TemporaryFile(/tmp/multipartBody5563704588056096887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455419426,"filename":"image_17082025_20_29_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/13f5407905501391a6ddc413835a743e.jpg","text":"TemporaryFile(/tmp/multipartBody4161992945096932605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455419426,"filename":"image_17082025_13_34_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/29789b40042388647286b95e020bff27.jpg","text":"TemporaryFile(/tmp/multipartBody6917931902284700104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455419426,"filename":"image_17082025_20_28_54_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689530","file1":"1377689528","file0":"1377689525","file4":"1377689535","file5":"1377689537","file3":"1377689532"},"map_files_photo_id_array":[{"photo_id":"1377689537","filename":"file5"},{"photo_id":"1377689530","filename":"file2"},{"photo_id":"1377689535","filename":"file4"},{"photo_id":"1377689528","filename":"file1"},{"photo_id":"1377689525","filename":"file0"},{"photo_id":"1377689532","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689528":["hashtag1","hashtag2"]},{"1377689537":["hashtag1","hashtag2"]},{"1377689525":["hashtag1","hashtag2"]},{"1377689530":["hashtag1","hashtag2"]},{"1377689535":["hashtag1","hashtag2"]},{"1377689532":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689528, 1377689537, 1377689525, 1377689530, 1377689535, 1377689532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.159175157547 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:30:03.238062
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/13/32/image_17082025_13_33_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/13/32/image_17082025_13_32_54_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_44_9638.jpg', '/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_34_9654.jpg', '/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_24_10646.jpg', '/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_14_9656.jpg', '/home/nano/Desktop/images/17082025/13/32/image_17082025_13_33_04_9642.jpg', '/home/nano/Desktop/images/17082025/13/32/image_17082025_13_32_54_10645.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_44_9638.jpg
/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_34_9654.jpg
/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_24_10646.jpg
/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_14_9656.jpg
/home/nano/Desktop/images/17082025/13/32/image_17082025_13_33_04_9642.jpg
/home/nano/Desktop/images/17082025/13/32/image_17082025_13_32_54_10645.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.541253089904785 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 : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:30:17.744306
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/30/image_17082025_20_30_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/20/30/image_17082025_20_30_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/20/30/image_17082025_20_30_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/20/30/image_17082025_20_30_14_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/20/29/image_17082025_20_29_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/30/image_17082025_20_30_44_10651.jpg', '/home/nano/Desktop/images/17082025/20/30/image_17082025_20_30_34_9640.jpg', '/home/nano/Desktop/images/17082025/20/30/image_17082025_20_30_24_9640.jpg', '/home/nano/Desktop/images/17082025/20/30/image_17082025_20_30_14_10673.jpg', '/home/nano/Desktop/images/17082025/20/29/image_17082025_20_29_34_9640.jpg', '/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/30/image_17082025_20_30_44_10651.jpg
/home/nano/Desktop/images/17082025/20/30/image_17082025_20_30_34_9640.jpg
/home/nano/Desktop/images/17082025/20/30/image_17082025_20_30_24_9640.jpg
/home/nano/Desktop/images/17082025/20/30/image_17082025_20_30_14_10673.jpg
/home/nano/Desktop/images/17082025/20/29/image_17082025_20_29_34_9640.jpg
/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_44_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1377689552","1377689561","1377689555","1377689563","1377689562","1377689559"],"photo_ids_order":["1377689552","1377689555","1377689559","1377689561","1377689562","1377689563"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/dcd3e1a294ee742cd785a17194c7c0af.jpg","text":"TemporaryFile(/tmp/multipartBody6603142350447681715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455480773,"filename":"image_17082025_20_30_44_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/1c56f6dce26d53cc913ff2df2ed8a8b8.jpg","text":"TemporaryFile(/tmp/multipartBody3253553224438702068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455480773,"filename":"image_17082025_20_30_14_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/a862ba60eb2972785752908993b56421.jpg","text":"TemporaryFile(/tmp/multipartBody8356888544400560851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455480773,"filename":"image_17082025_20_30_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/fe1d59020de539c9a31eb6e4d9b6ecb9.jpg","text":"TemporaryFile(/tmp/multipartBody2375165413201521764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455480773,"filename":"image_17082025_13_33_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/4b9aedcc9aaa197eeb06e45add4bf20d.jpg","text":"TemporaryFile(/tmp/multipartBody6282835637252879655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455480773,"filename":"image_17082025_20_29_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/17/482e153bf1765d13d3638caebc87ad9d.jpg","text":"TemporaryFile(/tmp/multipartBody4636433178581130440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755455480773,"filename":"image_17082025_20_30_24_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377689559","file1":"1377689555","file0":"1377689552","file4":"1377689562","file5":"1377689563","file3":"1377689561"},"map_files_photo_id_array":[{"photo_id":"1377689563","filename":"file5"},{"photo_id":"1377689559","filename":"file2"},{"photo_id":"1377689562","filename":"file4"},{"photo_id":"1377689555","filename":"file1"},{"photo_id":"1377689552","filename":"file0"},{"photo_id":"1377689561","filename":"file3"}],"portfolio_id":26044662,"hashtag_by_photo_ids":[{"1377689552":["hashtag1","hashtag2"]},{"1377689561":["hashtag1","hashtag2"]},{"1377689555":["hashtag1","hashtag2"]},{"1377689563":["hashtag1","hashtag2"]},{"1377689562":["hashtag1","hashtag2"]},{"1377689559":["hashtag1","hashtag2"]}],"comms":"Portfolio 26044662 used, photo_id : ArrayBuffer(1377689552, 1377689561, 1377689555, 1377689563, 1377689562, 1377689559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59607982635498 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:31:02.589993
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/13/32/image_17082025_13_33_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/13/32/image_17082025_13_32_54_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/13/32/image_17082025_13_32_44_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_34_9654.jpg', '/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_24_10646.jpg', '/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_14_9656.jpg', '/home/nano/Desktop/images/17082025/13/32/image_17082025_13_33_04_9642.jpg', '/home/nano/Desktop/images/17082025/13/32/image_17082025_13_32_54_10645.jpg', '/home/nano/Desktop/images/17082025/13/32/image_17082025_13_32_44_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_34_9654.jpg
/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_24_10646.jpg
/home/nano/Desktop/images/17082025/13/33/image_17082025_13_33_14_9656.jpg
/home/nano/Desktop/images/17082025/13/32/image_17082025_13_33_04_9642.jpg
/home/nano/Desktop/images/17082025/13/32/image_17082025_13_32_54_10645.jpg
/home/nano/Desktop/images/17082025/13/32/image_17082025_13_32_44_9636.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! 
after data_to_send, before sending request
'int' object is not iterable
time to upload: 931.62220454216 secondes ---
ERROR IN API l 184 ('Connection aborted.', OSError(113, 'No route to host'))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:46:47.569329
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_44_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/20/45/image_17082025_20_46_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/20/45/image_17082025_20_45_54_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_44_9658.jpg', '/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_34_9638.jpg', '/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_24_10647.jpg', '/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_14_9658.jpg', '/home/nano/Desktop/images/17082025/20/45/image_17082025_20_46_04_9646.jpg', '/home/nano/Desktop/images/17082025/20/45/image_17082025_20_45_54_10646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_44_9658.jpg
/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_34_9638.jpg
/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_24_10647.jpg
/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_14_9658.jpg
/home/nano/Desktop/images/17082025/20/45/image_17082025_20_46_04_9646.jpg
/home/nano/Desktop/images/17082025/20/45/image_17082025_20_45_54_10646.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.435258388519287 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84f64cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:47:03.454481
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_44_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/20/45/image_17082025_20_46_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/20/45/image_17082025_20_45_54_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_44_9658.jpg', '/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_34_9638.jpg', '/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_24_10647.jpg', '/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_14_9658.jpg', '/home/nano/Desktop/images/17082025/20/45/image_17082025_20_46_04_9646.jpg', '/home/nano/Desktop/images/17082025/20/45/image_17082025_20_45_54_10646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_44_9658.jpg
/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_34_9638.jpg
/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_24_10647.jpg
/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_14_9658.jpg
/home/nano/Desktop/images/17082025/20/45/image_17082025_20_46_04_9646.jpg
/home/nano/Desktop/images/17082025/20/45/image_17082025_20_45_54_10646.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2355763912200928 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b8fbcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:47:17.711016
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/20/46/image_17082025_20_47_04_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_54_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_44_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_34_9638.jpg', '/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_24_10647.jpg', '/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_14_9655.jpg', '/home/nano/Desktop/images/17082025/20/46/image_17082025_20_47_04_9636.jpg', '/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_54_10664.jpg', '/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_44_9658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_34_9638.jpg
/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_24_10647.jpg
/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_14_9655.jpg
/home/nano/Desktop/images/17082025/20/46/image_17082025_20_47_04_9636.jpg
/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_54_10664.jpg
/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_44_9658.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.3362512588500977 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f942d9cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:47:32.700497
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/20/46/image_17082025_20_47_04_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_54_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_44_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_34_9638.jpg', '/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_24_10647.jpg', '/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_14_9655.jpg', '/home/nano/Desktop/images/17082025/20/46/image_17082025_20_47_04_9636.jpg', '/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_54_10664.jpg', '/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_44_9658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_34_9638.jpg
/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_24_10647.jpg
/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_14_9655.jpg
/home/nano/Desktop/images/17082025/20/46/image_17082025_20_47_04_9636.jpg
/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_54_10664.jpg
/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_44_9658.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4328243732452393 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3c2fcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:47:47.709130
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/20/46/image_17082025_20_47_04_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_54_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_44_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_34_9638.jpg', '/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_24_10647.jpg', '/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_14_9655.jpg', '/home/nano/Desktop/images/17082025/20/46/image_17082025_20_47_04_9636.jpg', '/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_54_10664.jpg', '/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_44_9658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_34_9638.jpg
/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_24_10647.jpg
/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_14_9655.jpg
/home/nano/Desktop/images/17082025/20/46/image_17082025_20_47_04_9636.jpg
/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_54_10664.jpg
/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_44_9658.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8229429721832275 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90d0dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:48:02.331251
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/20/46/image_17082025_20_47_04_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_54_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_44_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_34_9638.jpg', '/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_24_10647.jpg', '/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_14_9655.jpg', '/home/nano/Desktop/images/17082025/20/46/image_17082025_20_47_04_9636.jpg', '/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_54_10664.jpg', '/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_44_9658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_34_9638.jpg
/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_24_10647.jpg
/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_14_9655.jpg
/home/nano/Desktop/images/17082025/20/46/image_17082025_20_47_04_9636.jpg
/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_54_10664.jpg
/home/nano/Desktop/images/17082025/20/46/image_17082025_20_46_44_9658.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.3257389068603516 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2bc2c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:48:16.832325
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_15_10675.jpg', 2), ('/home/nano/Desktop/images/17082025/20/47/image_17082025_20_48_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_44_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_24_9637.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_15_10675.jpg', '/home/nano/Desktop/images/17082025/20/47/image_17082025_20_48_04_9648.jpg', '/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_44_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_24_9637.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_15_10675.jpg
/home/nano/Desktop/images/17082025/20/47/image_17082025_20_48_04_9648.jpg
/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_44_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4668755531311035 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab3cccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:48:31.794987
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_15_10675.jpg', 2), ('/home/nano/Desktop/images/17082025/20/47/image_17082025_20_48_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_44_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_24_9637.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_15_10675.jpg', '/home/nano/Desktop/images/17082025/20/47/image_17082025_20_48_04_9648.jpg', '/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_44_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_24_9637.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_15_10675.jpg
/home/nano/Desktop/images/17082025/20/47/image_17082025_20_48_04_9648.jpg
/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_44_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.3727738857269287 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f930accc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:48:46.811058
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_15_10675.jpg', 2), ('/home/nano/Desktop/images/17082025/20/47/image_17082025_20_48_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_44_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_24_9637.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_15_10675.jpg', '/home/nano/Desktop/images/17082025/20/47/image_17082025_20_48_04_9648.jpg', '/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_44_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_24_9637.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_15_10675.jpg
/home/nano/Desktop/images/17082025/20/47/image_17082025_20_48_04_9648.jpg
/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_44_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4818928241729736 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f980adcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:49:02.911915
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_15_10675.jpg', 2), ('/home/nano/Desktop/images/17082025/20/47/image_17082025_20_48_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_44_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_24_9637.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_15_10675.jpg', '/home/nano/Desktop/images/17082025/20/47/image_17082025_20_48_04_9648.jpg', '/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_44_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_24_9637.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_15_10675.jpg
/home/nano/Desktop/images/17082025/20/47/image_17082025_20_48_04_9648.jpg
/home/nano/Desktop/images/17082025/20/47/image_17082025_20_47_44_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.1841752529144287 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa92a6cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:49:16.967555
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_49_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_54_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg', '/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_49_04_9651.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_54_9642.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_49_04_9651.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_54_9642.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.242011308670044 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8956cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:49:31.894774
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_49_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_54_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg', '/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_49_04_9651.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_54_9642.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_49_04_9651.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_54_9642.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.1935112476348877 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7befacc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:49:46.951182
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_49_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_54_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg', '/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_49_04_9651.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_54_9642.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_49_04_9651.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_54_9642.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1814229488372803 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86c69c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:50:02.629382
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_49_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_54_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg', '/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_49_04_9651.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_54_9642.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg', '/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_49_04_9651.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_54_9642.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_44_10648.jpg
/home/nano/Desktop/images/17082025/20/48/image_17082025_20_48_34_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.3596014976501465 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d0c1cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:50:17.004419
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_50_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg', '/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg', '/home/nano/Desktop/images/17082025/20/49/image_17082025_20_50_04_9647.jpg', '/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_34_9654.jpg', '/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg', '/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg
/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_50_04_9647.jpg
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_34_9654.jpg
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.544656991958618 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4977cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:50:32.033023
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_50_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg', '/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg', '/home/nano/Desktop/images/17082025/20/49/image_17082025_20_50_04_9647.jpg', '/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_34_9654.jpg', '/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg', '/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg
/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_50_04_9647.jpg
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_34_9654.jpg
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4831652641296387 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91854cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:50:47.020535
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_50_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg', '/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg', '/home/nano/Desktop/images/17082025/20/49/image_17082025_20_50_04_9647.jpg', '/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_34_9654.jpg', '/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg', '/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg
/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_50_04_9647.jpg
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_34_9654.jpg
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.0833585262298584 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85b21cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:51:02.901914
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_50_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg', '/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg', '/home/nano/Desktop/images/17082025/20/49/image_17082025_20_50_04_9647.jpg', '/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_34_9654.jpg', '/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg', '/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg
/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_50_04_9647.jpg
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_34_9654.jpg
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_24_9639.jpg
/home/nano/Desktop/images/17082025/20/49/image_17082025_20_49_14_10667.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.7143049240112305 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a14dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:51:17.137440
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg', '/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_24_9656.jpg', '/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_14_10664.jpg', '/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_44_10650.jpg', '/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg', '/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_24_9656.jpg
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_14_10664.jpg
/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_44_10650.jpg
/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg
/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.83626651763916 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9c68cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:51:32.154645
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg', '/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_24_9656.jpg', '/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_14_10664.jpg', '/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_44_10650.jpg', '/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg', '/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_24_9656.jpg
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_14_10664.jpg
/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_44_10650.jpg
/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg
/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.13837790489196777 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7816dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:51:47.159680
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg', '/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_24_9656.jpg', '/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_14_10664.jpg', '/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_44_10650.jpg', '/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg', '/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_24_9656.jpg
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_14_10664.jpg
/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_44_10650.jpg
/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg
/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2938594818115234 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f823ebcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:52:02.911556
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg', '/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_24_9656.jpg', '/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_14_10664.jpg', '/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_44_10650.jpg', '/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg', '/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_24_9656.jpg
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_14_10664.jpg
/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_44_10650.jpg
/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_34_9637.jpg
/home/nano/Desktop/images/17082025/20/50/image_17082025_20_50_24_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.226186990737915 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa54b0cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:52:17.290570
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_34_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_14_9681.jpg', 2), ('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_52_04_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg', '/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_34_10665.jpg', '/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_14_9681.jpg', '/home/nano/Desktop/images/17082025/20/51/image_17082025_20_52_04_10674.jpg', '/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_54_9640.jpg', '/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_34_10665.jpg
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_14_9681.jpg
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_52_04_10674.jpg
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_54_9640.jpg
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.431494951248169 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e520cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:52:32.273755
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_34_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_14_9681.jpg', 2), ('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_52_04_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg', '/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_34_10665.jpg', '/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_14_9681.jpg', '/home/nano/Desktop/images/17082025/20/51/image_17082025_20_52_04_10674.jpg', '/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_54_9640.jpg', '/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_34_10665.jpg
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_14_9681.jpg
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_52_04_10674.jpg
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_54_9640.jpg
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4748599529266357 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e905cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:52:47.296757
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_34_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_14_9681.jpg', 2), ('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_52_04_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg', '/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_34_10665.jpg', '/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_14_9681.jpg', '/home/nano/Desktop/images/17082025/20/51/image_17082025_20_52_04_10674.jpg', '/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_54_9640.jpg', '/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_34_10665.jpg
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_14_9681.jpg
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_52_04_10674.jpg
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_54_9640.jpg
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.40775990486145 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9404cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:53:02.984742
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_34_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_14_9681.jpg', 2), ('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_52_04_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg', '/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_34_10665.jpg', '/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_14_9681.jpg', '/home/nano/Desktop/images/17082025/20/51/image_17082025_20_52_04_10674.jpg', '/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_54_9640.jpg', '/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_34_10665.jpg
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_14_9681.jpg
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_52_04_10674.jpg
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_54_9640.jpg
/home/nano/Desktop/images/17082025/20/51/image_17082025_20_51_35_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.0382461547851562 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9fda5cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:53:17.422656
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_44_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_53_04_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_44_9643.jpg', '/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_34_10649.jpg', '/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_24_9639.jpg', '/home/nano/Desktop/images/17082025/20/52/image_17082025_20_53_04_10653.jpg', '/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_54_9640.jpg', '/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_44_9643.jpg
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_34_10649.jpg
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_24_9639.jpg
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_53_04_10653.jpg
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_54_9640.jpg
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.800833225250244 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84187cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:53:32.405352
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_44_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_53_04_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_44_9643.jpg', '/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_34_10649.jpg', '/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_24_9639.jpg', '/home/nano/Desktop/images/17082025/20/52/image_17082025_20_53_04_10653.jpg', '/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_54_9640.jpg', '/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_44_9643.jpg
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_34_10649.jpg
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_24_9639.jpg
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_53_04_10653.jpg
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_54_9640.jpg
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4126594066619873 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94b94cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:53:47.406122
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_44_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_53_04_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_44_9643.jpg', '/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_34_10649.jpg', '/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_24_9639.jpg', '/home/nano/Desktop/images/17082025/20/52/image_17082025_20_53_04_10653.jpg', '/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_54_9640.jpg', '/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_44_9643.jpg
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_34_10649.jpg
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_24_9639.jpg
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_53_04_10653.jpg
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_54_9640.jpg
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.0519728660583496 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb385ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:54:03.472226
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_44_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_53_04_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_44_9643.jpg', '/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_34_10649.jpg', '/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_24_9639.jpg', '/home/nano/Desktop/images/17082025/20/52/image_17082025_20_53_04_10653.jpg', '/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_54_9640.jpg', '/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_44_9643.jpg
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_34_10649.jpg
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_24_9639.jpg
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_53_04_10653.jpg
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_54_9640.jpg
/home/nano/Desktop/images/17082025/20/52/image_17082025_20_52_44_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.153013229370117 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6f8ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:54:17.511222
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_54_04_10659.jpg', 2), ('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_44_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg', '/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_24_9639.jpg', '/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_14_9662.jpg', '/home/nano/Desktop/images/17082025/20/53/image_17082025_20_54_04_10659.jpg', '/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_54_9640.jpg', '/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_44_9643.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_24_9639.jpg
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_14_9662.jpg
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_54_04_10659.jpg
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_54_9640.jpg
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_44_9643.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.9581708908081055 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf062c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:54:32.511348
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_54_04_10659.jpg', 2), ('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_44_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg', '/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_24_9639.jpg', '/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_14_9662.jpg', '/home/nano/Desktop/images/17082025/20/53/image_17082025_20_54_04_10659.jpg', '/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_54_9640.jpg', '/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_44_9643.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_24_9639.jpg
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_14_9662.jpg
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_54_04_10659.jpg
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_54_9640.jpg
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_44_9643.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4877543449401855 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5d70cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:54:47.615801
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_54_04_10659.jpg', 2), ('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_44_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg', '/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_24_9639.jpg', '/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_14_9662.jpg', '/home/nano/Desktop/images/17082025/20/53/image_17082025_20_54_04_10659.jpg', '/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_54_9640.jpg', '/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_44_9643.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_24_9639.jpg
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_14_9662.jpg
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_54_04_10659.jpg
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_54_9640.jpg
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_44_9643.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2520391941070557 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadbccc18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:55:03.402149
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_55_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_54_04_10659.jpg', 2), ('/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/54/image_17082025_20_55_04_9661.jpg', '/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg', '/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_24_9639.jpg', '/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_14_9662.jpg', '/home/nano/Desktop/images/17082025/20/53/image_17082025_20_54_04_10659.jpg', '/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_55_04_9661.jpg
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_24_9639.jpg
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_14_9662.jpg
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_54_04_10659.jpg
/home/nano/Desktop/images/17082025/20/53/image_17082025_20_53_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.057443380355835 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7fde2cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:55:17.784269
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_55_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_55_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg', '/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_34_9639.jpg', '/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_14_9657.jpg', '/home/nano/Desktop/images/17082025/20/54/image_17082025_20_55_04_9661.jpg', '/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_55_10647.jpg', '/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_34_9639.jpg
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_14_9657.jpg
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_55_04_9661.jpg
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_55_10647.jpg
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.033992052078247 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f717cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:55:32.699471
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_55_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_55_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg', '/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_34_9639.jpg', '/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_14_9657.jpg', '/home/nano/Desktop/images/17082025/20/54/image_17082025_20_55_04_9661.jpg', '/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_55_10647.jpg', '/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_34_9639.jpg
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_14_9657.jpg
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_55_04_9661.jpg
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_55_10647.jpg
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2171666622161865 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3f07cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:55:47.709216
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_55_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_55_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg', '/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_34_9639.jpg', '/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_14_9657.jpg', '/home/nano/Desktop/images/17082025/20/54/image_17082025_20_55_04_9661.jpg', '/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_55_10647.jpg', '/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_34_9639.jpg
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_14_9657.jpg
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_55_04_9661.jpg
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_55_10647.jpg
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3526649475097656 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92671cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:56:02.331244
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_55_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_55_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg', '/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_34_9639.jpg', '/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_14_9657.jpg', '/home/nano/Desktop/images/17082025/20/54/image_17082025_20_55_04_9661.jpg', '/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_55_10647.jpg', '/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_34_9639.jpg
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_14_9657.jpg
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_55_04_9661.jpg
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_55_10647.jpg
/home/nano/Desktop/images/17082025/20/54/image_17082025_20_54_34_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2600626945495605 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f913e2cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:56:16.824187
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_24_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_56_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_44_9636.jpg', '/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_24_10652.jpg', '/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_14_9654.jpg', '/home/nano/Desktop/images/17082025/20/55/image_17082025_20_56_04_9649.jpg', '/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_54_10649.jpg', '/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_44_9636.jpg
/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_24_10652.jpg
/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_14_9654.jpg
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_56_04_9649.jpg
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_54_10649.jpg
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.418182373046875 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b943cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:56:31.816456
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_24_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_56_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_44_9636.jpg', '/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_24_10652.jpg', '/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_14_9654.jpg', '/home/nano/Desktop/images/17082025/20/55/image_17082025_20_56_04_9649.jpg', '/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_54_10649.jpg', '/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_44_9636.jpg
/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_24_10652.jpg
/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_14_9654.jpg
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_56_04_9649.jpg
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_54_10649.jpg
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.44734787940979 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88edacc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:56:46.831859
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_24_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_56_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_44_9636.jpg', '/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_24_10652.jpg', '/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_14_9654.jpg', '/home/nano/Desktop/images/17082025/20/55/image_17082025_20_56_04_9649.jpg', '/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_54_10649.jpg', '/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_44_9636.jpg
/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_24_10652.jpg
/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_14_9654.jpg
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_56_04_9649.jpg
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_54_10649.jpg
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9161016941070557 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f788c4cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:57:02.667862
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_24_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_56_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_44_9636.jpg', '/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_24_10652.jpg', '/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_14_9654.jpg', '/home/nano/Desktop/images/17082025/20/55/image_17082025_20_56_04_9649.jpg', '/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_54_10649.jpg', '/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_44_9636.jpg
/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_24_10652.jpg
/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_14_9654.jpg
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_56_04_9649.jpg
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_54_10649.jpg
/home/nano/Desktop/images/17082025/20/55/image_17082025_20_55_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.2835676670074463 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c344cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:57:16.927312
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_14_9695.jpg', 2), ('/home/nano/Desktop/images/17082025/20/56/image_17082025_20_57_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_44_9638.jpg', '/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_34_9641.jpg', '/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_24_10650.jpg', '/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_14_9695.jpg', '/home/nano/Desktop/images/17082025/20/56/image_17082025_20_57_04_9652.jpg', '/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_44_9638.jpg
/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_34_9641.jpg
/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_24_10650.jpg
/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_14_9695.jpg
/home/nano/Desktop/images/17082025/20/56/image_17082025_20_57_04_9652.jpg
/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.933990240097046 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e25dc18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:57:31.925500
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_14_9695.jpg', 2), ('/home/nano/Desktop/images/17082025/20/56/image_17082025_20_57_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_44_9638.jpg', '/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_34_9641.jpg', '/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_24_10650.jpg', '/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_14_9695.jpg', '/home/nano/Desktop/images/17082025/20/56/image_17082025_20_57_04_9652.jpg', '/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_44_9638.jpg
/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_34_9641.jpg
/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_24_10650.jpg
/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_14_9695.jpg
/home/nano/Desktop/images/17082025/20/56/image_17082025_20_57_04_9652.jpg
/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2645182609558105 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f901fac18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:57:46.943122
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_14_9695.jpg', 2), ('/home/nano/Desktop/images/17082025/20/56/image_17082025_20_57_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_44_9638.jpg', '/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_34_9641.jpg', '/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_24_10650.jpg', '/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_14_9695.jpg', '/home/nano/Desktop/images/17082025/20/56/image_17082025_20_57_04_9652.jpg', '/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_44_9638.jpg
/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_34_9641.jpg
/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_24_10650.jpg
/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_14_9695.jpg
/home/nano/Desktop/images/17082025/20/56/image_17082025_20_57_04_9652.jpg
/home/nano/Desktop/images/17082025/20/56/image_17082025_20_56_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.240699291229248 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9748ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:59:03.108911
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/58/image_17082025_20_58_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/58/image_17082025_20_58_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/20/58/image_17082025_20_58_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/20/57/image_17082025_20_58_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/58/image_17082025_20_58_44_10647.jpg', '/home/nano/Desktop/images/17082025/20/58/image_17082025_20_58_24_10648.jpg', '/home/nano/Desktop/images/17082025/20/58/image_17082025_20_58_14_9660.jpg', '/home/nano/Desktop/images/17082025/20/57/image_17082025_20_58_04_9647.jpg', '/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_54_10649.jpg', '/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/58/image_17082025_20_58_44_10647.jpg
/home/nano/Desktop/images/17082025/20/58/image_17082025_20_58_24_10648.jpg
/home/nano/Desktop/images/17082025/20/58/image_17082025_20_58_14_9660.jpg
/home/nano/Desktop/images/17082025/20/57/image_17082025_20_58_04_9647.jpg
/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_54_10649.jpg
/home/nano/Desktop/images/17082025/20/57/image_17082025_20_57_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.203265905380249 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7944acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:59:17.364208
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_14_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/20/58/image_17082025_20_59_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/58/image_17082025_20_58_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_44_10647.jpg', '/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_34_9639.jpg', '/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_24_9655.jpg', '/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_14_10674.jpg', '/home/nano/Desktop/images/17082025/20/58/image_17082025_20_59_04_9647.jpg', '/home/nano/Desktop/images/17082025/20/58/image_17082025_20_58_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_44_10647.jpg
/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_34_9639.jpg
/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_24_9655.jpg
/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_14_10674.jpg
/home/nano/Desktop/images/17082025/20/58/image_17082025_20_59_04_9647.jpg
/home/nano/Desktop/images/17082025/20/58/image_17082025_20_58_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.303014039993286 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f802dfcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:59:32.275947
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_14_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/20/58/image_17082025_20_59_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/58/image_17082025_20_58_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_44_10647.jpg', '/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_34_9639.jpg', '/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_24_9655.jpg', '/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_14_10674.jpg', '/home/nano/Desktop/images/17082025/20/58/image_17082025_20_59_04_9647.jpg', '/home/nano/Desktop/images/17082025/20/58/image_17082025_20_58_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_44_10647.jpg
/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_34_9639.jpg
/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_24_9655.jpg
/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_14_10674.jpg
/home/nano/Desktop/images/17082025/20/58/image_17082025_20_59_04_9647.jpg
/home/nano/Desktop/images/17082025/20/58/image_17082025_20_58_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.6321592330932617 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa904ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 20:59:47.323766
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_14_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/20/58/image_17082025_20_59_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/58/image_17082025_20_58_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_44_10647.jpg', '/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_34_9639.jpg', '/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_24_9655.jpg', '/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_14_10674.jpg', '/home/nano/Desktop/images/17082025/20/58/image_17082025_20_59_04_9647.jpg', '/home/nano/Desktop/images/17082025/20/58/image_17082025_20_58_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_44_10647.jpg
/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_34_9639.jpg
/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_24_9655.jpg
/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_14_10674.jpg
/home/nano/Desktop/images/17082025/20/58/image_17082025_20_59_04_9647.jpg
/home/nano/Desktop/images/17082025/20/58/image_17082025_20_58_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.7702817916870117 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91c0ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:00:03.003634
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_14_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/20/58/image_17082025_20_59_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/20/58/image_17082025_20_58_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_44_10647.jpg', '/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_34_9639.jpg', '/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_24_9655.jpg', '/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_14_10674.jpg', '/home/nano/Desktop/images/17082025/20/58/image_17082025_20_59_04_9647.jpg', '/home/nano/Desktop/images/17082025/20/58/image_17082025_20_58_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_44_10647.jpg
/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_34_9639.jpg
/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_24_9655.jpg
/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_14_10674.jpg
/home/nano/Desktop/images/17082025/20/58/image_17082025_20_59_04_9647.jpg
/home/nano/Desktop/images/17082025/20/58/image_17082025_20_58_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.19621205329895 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84456cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:00:17.400277
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_14_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/20/59/image_17082025_21_00_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_44_10647.jpg', '/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_14_10673.jpg', '/home/nano/Desktop/images/17082025/20/59/image_17082025_21_00_04_9664.jpg', '/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_44_10647.jpg
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_34_9638.jpg
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_24_9638.jpg
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_14_10673.jpg
/home/nano/Desktop/images/17082025/20/59/image_17082025_21_00_04_9664.jpg
/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.133336305618286 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f864b1cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:00:32.414657
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_14_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/20/59/image_17082025_21_00_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_44_10647.jpg', '/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_14_10673.jpg', '/home/nano/Desktop/images/17082025/20/59/image_17082025_21_00_04_9664.jpg', '/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_44_10647.jpg
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_34_9638.jpg
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_24_9638.jpg
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_14_10673.jpg
/home/nano/Desktop/images/17082025/20/59/image_17082025_21_00_04_9664.jpg
/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.5092966556549072 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa76abcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:00:47.421439
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_14_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/20/59/image_17082025_21_00_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_44_10647.jpg', '/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_14_10673.jpg', '/home/nano/Desktop/images/17082025/20/59/image_17082025_21_00_04_9664.jpg', '/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_44_10647.jpg
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_34_9638.jpg
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_24_9638.jpg
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_14_10673.jpg
/home/nano/Desktop/images/17082025/20/59/image_17082025_21_00_04_9664.jpg
/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2724950313568115 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f868cecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:01:03.177040
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_14_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/20/59/image_17082025_21_00_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_44_10647.jpg', '/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_14_10673.jpg', '/home/nano/Desktop/images/17082025/20/59/image_17082025_21_00_04_9664.jpg', '/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_44_10647.jpg
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_34_9638.jpg
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_24_9638.jpg
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_14_10673.jpg
/home/nano/Desktop/images/17082025/20/59/image_17082025_21_00_04_9664.jpg
/home/nano/Desktop/images/17082025/20/59/image_17082025_20_59_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.5005314350128174 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80ed7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:01:17.538633
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_44_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_35_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_01_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_44_9658.jpg', '/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_35_10650.jpg', '/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_14_10665.jpg', '/home/nano/Desktop/images/17082025/21/00/image_17082025_21_01_04_9656.jpg', '/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_44_9658.jpg
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_35_10650.jpg
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_24_9637.jpg
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_14_10665.jpg
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_01_04_9656.jpg
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_54_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.421229124069214 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8cb47cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:01:32.558848
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_44_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_35_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_01_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_44_9658.jpg', '/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_35_10650.jpg', '/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_14_10665.jpg', '/home/nano/Desktop/images/17082025/21/00/image_17082025_21_01_04_9656.jpg', '/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_44_9658.jpg
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_35_10650.jpg
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_24_9637.jpg
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_14_10665.jpg
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_01_04_9656.jpg
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_54_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2398173809051514 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2b15cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:01:47.545458
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_44_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_35_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_01_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_44_9658.jpg', '/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_35_10650.jpg', '/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_14_10665.jpg', '/home/nano/Desktop/images/17082025/21/00/image_17082025_21_01_04_9656.jpg', '/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_44_9658.jpg
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_35_10650.jpg
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_24_9637.jpg
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_14_10665.jpg
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_01_04_9656.jpg
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_54_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8273270130157471 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e68fcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:02:03.157475
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_44_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_35_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_01_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_44_9658.jpg', '/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_35_10650.jpg', '/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_14_10665.jpg', '/home/nano/Desktop/images/17082025/21/00/image_17082025_21_01_04_9656.jpg', '/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_44_9658.jpg
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_35_10650.jpg
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_24_9637.jpg
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_14_10665.jpg
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_01_04_9656.jpg
/home/nano/Desktop/images/17082025/21/00/image_17082025_21_00_54_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.886496067047119 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3694cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:02:17.703935
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_34_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_02_05_10690.jpg', 2), ('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_34_10665.jpg', '/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_14_9659.jpg', '/home/nano/Desktop/images/17082025/21/01/image_17082025_21_02_05_10690.jpg', '/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_44_9639.jpg
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_34_10665.jpg
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_24_9637.jpg
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_14_9659.jpg
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_02_05_10690.jpg
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_54_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2257943153381348 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e4f3cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:02:32.621045
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_34_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_02_05_10690.jpg', 2), ('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_34_10665.jpg', '/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_14_9659.jpg', '/home/nano/Desktop/images/17082025/21/01/image_17082025_21_02_05_10690.jpg', '/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_44_9639.jpg
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_34_10665.jpg
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_24_9637.jpg
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_14_9659.jpg
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_02_05_10690.jpg
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_54_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4357564449310303 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d5b4cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:02:47.619757
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_34_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_02_05_10690.jpg', 2), ('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_34_10665.jpg', '/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_14_9659.jpg', '/home/nano/Desktop/images/17082025/21/01/image_17082025_21_02_05_10690.jpg', '/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_44_9639.jpg
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_34_10665.jpg
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_24_9637.jpg
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_14_9659.jpg
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_02_05_10690.jpg
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_54_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.231363296508789 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f531cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:03:03.319609
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_34_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_02_05_10690.jpg', 2), ('/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_34_10665.jpg', '/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_14_9659.jpg', '/home/nano/Desktop/images/17082025/21/01/image_17082025_21_02_05_10690.jpg', '/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_44_9639.jpg
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_34_10665.jpg
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_24_9637.jpg
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_14_9659.jpg
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_02_05_10690.jpg
/home/nano/Desktop/images/17082025/21/01/image_17082025_21_01_54_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8514759540557861 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c479cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:03:17.726237
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_34_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_03_04_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_34_10651.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_24_9643.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/02/image_17082025_21_03_04_10646.jpg', '/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_34_10651.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_24_9643.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_14_9658.jpg
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_03_04_10646.jpg
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1978161334991455 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3b12cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:03:32.746360
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_34_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_03_04_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_34_10651.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_24_9643.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/02/image_17082025_21_03_04_10646.jpg', '/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_34_10651.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_24_9643.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_14_9658.jpg
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_03_04_10646.jpg
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6643965244293213 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ec29c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:03:47.751169
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_34_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_03_04_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_34_10651.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_24_9643.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/02/image_17082025_21_03_04_10646.jpg', '/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_34_10651.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_24_9643.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_14_9658.jpg
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_03_04_10646.jpg
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_02_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4327783584594727 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4854cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:04:02.710817
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_34_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/02/image_17082025_21_03_04_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_34_10651.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_24_9643.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/02/image_17082025_21_03_04_10646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_14_9658.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_34_10651.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_24_9643.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_14_9658.jpg
/home/nano/Desktop/images/17082025/21/02/image_17082025_21_03_04_10646.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.02278470993042 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faae49cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:04:16.847115
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_04_04_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_04_04_10649.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_54_9640.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_14_9658.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_04_04_10649.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_54_9640.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4662554264068604 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bf38cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:04:31.871936
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_04_04_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_04_04_10649.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_54_9640.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_14_9658.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_04_04_10649.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_54_9640.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.22175931930542 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4bf7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:04:46.836812
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_04_04_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_04_04_10649.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_54_9640.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_14_9658.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_04_04_10649.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_54_9640.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.450108766555786 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79dadc18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:05:02.695200
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_04_04_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_04_04_10649.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_54_9640.jpg', '/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_14_9658.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_04_04_10649.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_54_9640.jpg
/home/nano/Desktop/images/17082025/21/03/image_17082025_21_03_44_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.775393009185791 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f803cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:05:16.943199
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_25_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_05_04_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_55_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg', '/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_25_10646.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_05_04_9660.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_55_10648.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg
/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_25_10646.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_05_04_9660.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_55_10648.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.710390090942383 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97183cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:05:31.925909
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_25_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_05_04_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_55_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg', '/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_25_10646.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_05_04_9660.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_55_10648.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg
/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_25_10646.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_05_04_9660.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_55_10648.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.244060754776001 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f877a7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:05:46.943742
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_25_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_05_04_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_55_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg', '/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_25_10646.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_05_04_9660.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_55_10648.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg
/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_25_10646.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_05_04_9660.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_55_10648.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4370548725128174 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d25acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:06:02.609512
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_25_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_05_04_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_55_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg', '/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_25_10646.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_05_04_9660.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_55_10648.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg', '/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg
/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_25_10646.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_05_04_9660.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_55_10648.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_34_10648.jpg
/home/nano/Desktop/images/17082025/21/04/image_17082025_21_04_24_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.284210443496704 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb052ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:06:17.060695
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/21/05/image_17082025_21_06_04_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_54_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_14_9660.jpg', '/home/nano/Desktop/images/17082025/21/05/image_17082025_21_06_04_9657.jpg', '/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_54_10651.jpg', '/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_14_9660.jpg
/home/nano/Desktop/images/17082025/21/05/image_17082025_21_06_04_9657.jpg
/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_54_10651.jpg
/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2278409004211426 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82894cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:06:32.064703
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/21/05/image_17082025_21_06_04_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_54_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_14_9660.jpg', '/home/nano/Desktop/images/17082025/21/05/image_17082025_21_06_04_9657.jpg', '/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_54_10651.jpg', '/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_14_9660.jpg
/home/nano/Desktop/images/17082025/21/05/image_17082025_21_06_04_9657.jpg
/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_54_10651.jpg
/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.5594401359558105 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9441cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:06:47.156269
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/21/05/image_17082025_21_06_04_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_54_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_14_9660.jpg', '/home/nano/Desktop/images/17082025/21/05/image_17082025_21_06_04_9657.jpg', '/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_54_10651.jpg', '/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_14_9660.jpg
/home/nano/Desktop/images/17082025/21/05/image_17082025_21_06_04_9657.jpg
/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_54_10651.jpg
/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.3824381828308105 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa61acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:07:02.831693
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/21/05/image_17082025_21_06_04_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_54_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_14_9660.jpg', '/home/nano/Desktop/images/17082025/21/05/image_17082025_21_06_04_9657.jpg', '/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_54_10651.jpg', '/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_14_9660.jpg
/home/nano/Desktop/images/17082025/21/05/image_17082025_21_06_04_9657.jpg
/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_54_10651.jpg
/home/nano/Desktop/images/17082025/21/05/image_17082025_21_05_34_9657.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.0991039276123047 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3941cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:07:17.228585
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_07_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_07_04_9666.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_07_04_9666.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_44_9640.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2222084999084473 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb264ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:07:32.309017
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_07_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_07_04_9666.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_07_04_9666.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_44_9640.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4317755699157715 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8398dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:07:47.247440
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_07_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_07_04_9666.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_07_04_9666.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_44_9640.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2196831703186035 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c89dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:08:02.953298
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_07_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_07_04_9666.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_07_04_9666.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_44_9640.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_34_9638.jpg
/home/nano/Desktop/images/17082025/21/06/image_17082025_21_06_24_10646.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.027632474899292 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94a6ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:08:17.389953
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_24_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_08_04_9665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_24_10665.jpg', '/home/nano/Desktop/images/17082025/21/07/image_17082025_21_08_04_9665.jpg', '/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_54_10648.jpg', '/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_34_9638.jpg
/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_24_10665.jpg
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_08_04_9665.jpg
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_54_10648.jpg
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4761524200439453 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97e48cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:08:32.361339
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_24_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_08_04_9665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_24_10665.jpg', '/home/nano/Desktop/images/17082025/21/07/image_17082025_21_08_04_9665.jpg', '/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_54_10648.jpg', '/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_34_9638.jpg
/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_24_10665.jpg
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_08_04_9665.jpg
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_54_10648.jpg
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.461069345474243 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2b16c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:08:47.339339
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_24_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_08_04_9665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_24_10665.jpg', '/home/nano/Desktop/images/17082025/21/07/image_17082025_21_08_04_9665.jpg', '/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_54_10648.jpg', '/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_34_9638.jpg
/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_24_10665.jpg
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_08_04_9665.jpg
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_54_10648.jpg
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4345836639404297 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91ba0c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:09:03.478096
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_24_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_08_04_9665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_24_10665.jpg', '/home/nano/Desktop/images/17082025/21/07/image_17082025_21_08_04_9665.jpg', '/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_54_10648.jpg', '/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_34_9638.jpg
/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_24_10665.jpg
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_08_04_9665.jpg
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_54_10648.jpg
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_44_9637.jpg
/home/nano/Desktop/images/17082025/21/07/image_17082025_21_07_34_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.1013200283050537 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c2c3c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:09:17.457858
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/08/image_17082025_21_09_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_45_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_44_10648.jpg', '/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_34_9639.jpg', '/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_14_10664.jpg', '/home/nano/Desktop/images/17082025/21/08/image_17082025_21_09_04_9649.jpg', '/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_45_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_44_10648.jpg
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_34_9639.jpg
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_24_9638.jpg
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_14_10664.jpg
/home/nano/Desktop/images/17082025/21/08/image_17082025_21_09_04_9649.jpg
/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_45_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.478534460067749 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a1c4c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:09:32.431083
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/08/image_17082025_21_09_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_45_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_44_10648.jpg', '/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_34_9639.jpg', '/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_14_10664.jpg', '/home/nano/Desktop/images/17082025/21/08/image_17082025_21_09_04_9649.jpg', '/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_45_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_44_10648.jpg
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_34_9639.jpg
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_24_9638.jpg
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_14_10664.jpg
/home/nano/Desktop/images/17082025/21/08/image_17082025_21_09_04_9649.jpg
/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_45_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9112138748168945 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79b30cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:09:47.430034
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/08/image_17082025_21_09_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_45_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_44_10648.jpg', '/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_34_9639.jpg', '/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_14_10664.jpg', '/home/nano/Desktop/images/17082025/21/08/image_17082025_21_09_04_9649.jpg', '/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_45_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_44_10648.jpg
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_34_9639.jpg
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_24_9638.jpg
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_14_10664.jpg
/home/nano/Desktop/images/17082025/21/08/image_17082025_21_09_04_9649.jpg
/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_45_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8699984550476074 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87b17cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:10:03.053824
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/08/image_17082025_21_09_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_45_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_44_10648.jpg', '/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_34_9639.jpg', '/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_14_10664.jpg', '/home/nano/Desktop/images/17082025/21/08/image_17082025_21_09_04_9649.jpg', '/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_45_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_44_10648.jpg
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_34_9639.jpg
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_24_9638.jpg
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_14_10664.jpg
/home/nano/Desktop/images/17082025/21/08/image_17082025_21_09_04_9649.jpg
/home/nano/Desktop/images/17082025/21/08/image_17082025_21_08_45_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.9276719093322754 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa98eacf8>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:10:17.525982
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_44_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_14_10687.jpg', 2), ('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_10_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_44_10653.jpg', '/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_34_9636.jpg', '/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_14_10687.jpg', '/home/nano/Desktop/images/17082025/21/09/image_17082025_21_10_04_9650.jpg', '/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_44_10653.jpg
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_34_9636.jpg
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_24_9638.jpg
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_14_10687.jpg
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_10_04_9650.jpg
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2556068897247314 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79d4ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:10:32.530828
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_44_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_14_10687.jpg', 2), ('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_10_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_44_10653.jpg', '/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_34_9636.jpg', '/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_14_10687.jpg', '/home/nano/Desktop/images/17082025/21/09/image_17082025_21_10_04_9650.jpg', '/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_44_10653.jpg
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_34_9636.jpg
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_24_9638.jpg
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_14_10687.jpg
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_10_04_9650.jpg
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.41228318214416504 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8ea0c88>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:10:47.542699
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_44_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_14_10687.jpg', 2), ('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_10_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_44_10653.jpg', '/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_34_9636.jpg', '/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_14_10687.jpg', '/home/nano/Desktop/images/17082025/21/09/image_17082025_21_10_04_9650.jpg', '/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_44_10653.jpg
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_34_9636.jpg
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_24_9638.jpg
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_14_10687.jpg
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_10_04_9650.jpg
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8508546352386475 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8374cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:11:03.450017
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_44_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_14_10687.jpg', 2), ('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_10_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_44_10653.jpg', '/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_34_9636.jpg', '/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_14_10687.jpg', '/home/nano/Desktop/images/17082025/21/09/image_17082025_21_10_04_9650.jpg', '/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_44_10653.jpg
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_34_9636.jpg
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_24_9638.jpg
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_14_10687.jpg
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_10_04_9650.jpg
/home/nano/Desktop/images/17082025/21/09/image_17082025_21_09_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4197261333465576 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f939d2cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:11:17.619794
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_11_04_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_24_9641.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_14_10664.jpg', '/home/nano/Desktop/images/17082025/21/10/image_17082025_21_11_04_9663.jpg', '/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_24_9641.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_14_10664.jpg
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_11_04_9663.jpg
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.681896924972534 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d9b1cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:11:32.627243
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_11_04_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_24_9641.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_14_10664.jpg', '/home/nano/Desktop/images/17082025/21/10/image_17082025_21_11_04_9663.jpg', '/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_24_9641.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_14_10664.jpg
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_11_04_9663.jpg
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.202108144760132 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a068cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:11:47.642812
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_11_04_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_24_9641.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_14_10664.jpg', '/home/nano/Desktop/images/17082025/21/10/image_17082025_21_11_04_9663.jpg', '/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_24_9641.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_14_10664.jpg
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_11_04_9663.jpg
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8327546119689941 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97246cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:12:03.311813
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_11_04_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_24_9641.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_14_10664.jpg', '/home/nano/Desktop/images/17082025/21/10/image_17082025_21_11_04_9663.jpg', '/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_24_9641.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_14_10664.jpg
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_11_04_9663.jpg
/home/nano/Desktop/images/17082025/21/10/image_17082025_21_10_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.6928153038024902 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8804bcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:12:17.769118
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_24_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_54_9639.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_24_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_54_9639.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_24_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9387333393096924 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab2d3cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:12:32.717386
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_24_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_54_9639.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_24_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_54_9639.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_24_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.206418752670288 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98ce7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:12:47.733590
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_24_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_54_9639.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_24_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_54_9639.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_24_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.7316188812255859 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c354cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:13:02.549785
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_24_9639.jpg', '/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_54_9639.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_24_9639.jpg
/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_54_9639.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_44_10648.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_11_34_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.9340765476226807 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96d48cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:13:16.852264
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_34_10647.jpg', '/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_24_9639.jpg', '/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_34_10649.jpg', '/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_34_10647.jpg
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_24_9639.jpg
/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_34_10649.jpg
/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.534663438796997 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f928d2cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:13:31.838416
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_34_10647.jpg', '/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_24_9639.jpg', '/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_34_10649.jpg', '/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_34_10647.jpg
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_24_9639.jpg
/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_34_10649.jpg
/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.950289487838745 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e751c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:13:46.849843
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_34_10647.jpg', '/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_24_9639.jpg', '/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_34_10649.jpg', '/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_34_10647.jpg
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_24_9639.jpg
/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_34_10649.jpg
/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9861366748809814 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f18bcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:14:02.646960
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_34_10647.jpg', '/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_24_9639.jpg', '/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_34_10649.jpg', '/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_34_10647.jpg
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_24_9639.jpg
/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_34_10649.jpg
/home/nano/Desktop/images/17082025/21/12/image_17082025_21_12_14_9658.jpg
/home/nano/Desktop/images/17082025/21/11/image_17082025_21_12_05_10665.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.422792434692383 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5eedcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:14:16.939815
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_14_04_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_54_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg', '/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_34_10647.jpg', '/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/13/image_17082025_21_14_04_10670.jpg', '/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_54_9644.jpg', '/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_34_10647.jpg
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_24_9637.jpg
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_14_04_10670.jpg
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_54_9644.jpg
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2097535133361816 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb29f7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:14:31.950699
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_14_04_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_54_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg', '/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_34_10647.jpg', '/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/13/image_17082025_21_14_04_10670.jpg', '/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_54_9644.jpg', '/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_34_10647.jpg
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_24_9637.jpg
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_14_04_10670.jpg
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_54_9644.jpg
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.405707836151123 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fade9fcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:14:47.006939
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_14_04_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_54_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg', '/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_34_10647.jpg', '/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/13/image_17082025_21_14_04_10670.jpg', '/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_54_9644.jpg', '/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_34_10647.jpg
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_24_9637.jpg
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_14_04_10670.jpg
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_54_9644.jpg
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.7144083976745605 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99af5cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:15:02.738858
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_14_04_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_54_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg', '/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_34_10647.jpg', '/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/13/image_17082025_21_14_04_10670.jpg', '/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_54_9644.jpg', '/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_34_10647.jpg
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_24_9637.jpg
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_14_04_10670.jpg
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_54_9644.jpg
/home/nano/Desktop/images/17082025/21/13/image_17082025_21_13_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.2107903957366943 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c700cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:15:17.113777
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_15_04_10675.jpg', 2), ('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg', '/home/nano/Desktop/images/17082025/21/14/image_17082025_21_15_04_10675.jpg', '/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_54_9638.jpg', '/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_15_04_10675.jpg
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_54_9638.jpg
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.59590482711792 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2c76cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:15:32.112696
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_15_04_10675.jpg', 2), ('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg', '/home/nano/Desktop/images/17082025/21/14/image_17082025_21_15_04_10675.jpg', '/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_54_9638.jpg', '/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_15_04_10675.jpg
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_54_9638.jpg
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9243655204772949 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82b62cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:15:47.130946
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_15_04_10675.jpg', 2), ('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg', '/home/nano/Desktop/images/17082025/21/14/image_17082025_21_15_04_10675.jpg', '/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_54_9638.jpg', '/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_15_04_10675.jpg
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_54_9638.jpg
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.118973731994629 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9443ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:16:02.572661
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_15_04_10675.jpg', 2), ('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg', '/home/nano/Desktop/images/17082025/21/14/image_17082025_21_15_04_10675.jpg', '/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_54_9638.jpg', '/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_15_04_10675.jpg
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_54_9638.jpg
/home/nano/Desktop/images/17082025/21/14/image_17082025_21_14_44_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2283918857574463 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8feccc18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:16:17.280582
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_16_04_9678.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_54_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_16_04_9678.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_54_10651.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_16_04_9678.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_54_10651.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.3994247913360596 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95abccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:16:32.299263
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_16_04_9678.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_54_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_16_04_9678.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_54_10651.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_16_04_9678.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_54_10651.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 4.474643707275391 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa00b9cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:16:47.282222
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_16_04_9678.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_54_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_16_04_9678.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_54_10651.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_16_04_9678.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_54_10651.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8356442451477051 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1345cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:17:02.878561
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_16_04_9678.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_54_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_16_04_9678.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_54_10651.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg', '/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_16_04_9678.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_54_10651.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_44_9640.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_25_10666.jpg
/home/nano/Desktop/images/17082025/21/15/image_17082025_21_15_14_9660.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4060304164886475 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7919c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:17:17.425939
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_24_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/16/image_17082025_21_17_04_9665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_34_9641.jpg', '/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_24_10664.jpg', '/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_14_9656.jpg', '/home/nano/Desktop/images/17082025/21/16/image_17082025_21_17_04_9665.jpg', '/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_34_9641.jpg
/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_24_10664.jpg
/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_14_9656.jpg
/home/nano/Desktop/images/17082025/21/16/image_17082025_21_17_04_9665.jpg
/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_44_9637.jpg
/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.363323450088501 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae785cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:17:32.377715
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_24_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/16/image_17082025_21_17_04_9665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_34_9641.jpg', '/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_24_10664.jpg', '/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_14_9656.jpg', '/home/nano/Desktop/images/17082025/21/16/image_17082025_21_17_04_9665.jpg', '/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_34_9641.jpg
/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_24_10664.jpg
/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_14_9656.jpg
/home/nano/Desktop/images/17082025/21/16/image_17082025_21_17_04_9665.jpg
/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_44_9637.jpg
/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4990408420562744 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a358cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:17:47.392231
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_24_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/16/image_17082025_21_17_04_9665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_34_9641.jpg', '/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_24_10664.jpg', '/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_14_9656.jpg', '/home/nano/Desktop/images/17082025/21/16/image_17082025_21_17_04_9665.jpg', '/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_34_9641.jpg
/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_24_10664.jpg
/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_14_9656.jpg
/home/nano/Desktop/images/17082025/21/16/image_17082025_21_17_04_9665.jpg
/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_44_9637.jpg
/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.447385787963867 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89c66cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:18:02.942912
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_24_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/16/image_17082025_21_17_04_9665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_34_9641.jpg', '/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_24_10664.jpg', '/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_14_9656.jpg', '/home/nano/Desktop/images/17082025/21/16/image_17082025_21_17_04_9665.jpg', '/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_34_9641.jpg
/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_24_10664.jpg
/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_14_9656.jpg
/home/nano/Desktop/images/17082025/21/16/image_17082025_21_17_04_9665.jpg
/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_44_9637.jpg
/home/nano/Desktop/images/17082025/21/16/image_17082025_21_16_14_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.254138231277466 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85b00cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:18:17.515067
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_34_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/21/17/image_17082025_21_18_04_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_34_9644.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_24_10666.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_14_9662.jpg', '/home/nano/Desktop/images/17082025/21/17/image_17082025_21_18_04_9639.jpg', '/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_34_9644.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_24_10666.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_14_9662.jpg
/home/nano/Desktop/images/17082025/21/17/image_17082025_21_18_04_9639.jpg
/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.6072258949279785 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb199fcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:18:32.504381
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_34_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/21/17/image_17082025_21_18_04_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_34_9644.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_24_10666.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_14_9662.jpg', '/home/nano/Desktop/images/17082025/21/17/image_17082025_21_18_04_9639.jpg', '/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_34_9644.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_24_10666.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_14_9662.jpg
/home/nano/Desktop/images/17082025/21/17/image_17082025_21_18_04_9639.jpg
/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4528636932373047 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e303cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:18:47.488762
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_34_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/21/17/image_17082025_21_18_04_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_34_9644.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_24_10666.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_14_9662.jpg', '/home/nano/Desktop/images/17082025/21/17/image_17082025_21_18_04_9639.jpg', '/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_34_9644.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_24_10666.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_14_9662.jpg
/home/nano/Desktop/images/17082025/21/17/image_17082025_21_18_04_9639.jpg
/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.433730125427246 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e895cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:19:03.639714
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_34_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/21/17/image_17082025_21_18_04_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_34_9644.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_24_10666.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_14_9662.jpg', '/home/nano/Desktop/images/17082025/21/17/image_17082025_21_18_04_9639.jpg', '/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_34_9644.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_24_10666.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_14_9662.jpg
/home/nano/Desktop/images/17082025/21/17/image_17082025_21_18_04_9639.jpg
/home/nano/Desktop/images/17082025/21/17/image_17082025_21_17_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1096093654632568 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac700cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:19:17.629034
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_34_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_24_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_19_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_54_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_34_9661.jpg', '/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_24_10651.jpg', '/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_19_04_9650.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_54_10651.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_34_9661.jpg
/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_24_10651.jpg
/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_14_9658.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_19_04_9650.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_54_10651.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.40114164352417 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1204cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:19:32.632209
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_34_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_24_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_19_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_54_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_34_9661.jpg', '/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_24_10651.jpg', '/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_19_04_9650.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_54_10651.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_34_9661.jpg
/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_24_10651.jpg
/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_14_9658.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_19_04_9650.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_54_10651.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.237825870513916 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8fdf2cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:19:47.617575
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_34_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_24_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_19_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_54_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_34_9661.jpg', '/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_24_10651.jpg', '/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_19_04_9650.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_54_10651.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_34_9661.jpg
/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_24_10651.jpg
/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_14_9658.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_19_04_9650.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_54_10651.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.461902379989624 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9544cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:20:03.253834
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_34_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_24_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_19_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_54_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_34_9661.jpg', '/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_24_10651.jpg', '/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_19_04_9650.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_54_10651.jpg', '/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_34_9661.jpg
/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_24_10651.jpg
/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_14_9658.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_19_04_9650.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_54_10651.jpg
/home/nano/Desktop/images/17082025/21/18/image_17082025_21_18_44_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.3793532848358154 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f893d7c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:20:17.718500
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_14_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/21/19/image_17082025_21_20_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_45_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_34_9641.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_24_9641.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_14_10673.jpg', '/home/nano/Desktop/images/17082025/21/19/image_17082025_21_20_04_9647.jpg', '/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_45_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_34_9641.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_24_9641.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_14_10673.jpg
/home/nano/Desktop/images/17082025/21/19/image_17082025_21_20_04_9647.jpg
/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_45_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.3612418174743652 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab2d3cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:20:32.726310
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_14_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/21/19/image_17082025_21_20_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_45_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_34_9641.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_24_9641.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_14_10673.jpg', '/home/nano/Desktop/images/17082025/21/19/image_17082025_21_20_04_9647.jpg', '/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_45_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_34_9641.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_24_9641.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_14_10673.jpg
/home/nano/Desktop/images/17082025/21/19/image_17082025_21_20_04_9647.jpg
/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_45_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.032292366027832 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a5f8cf8>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:20:47.684619
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_14_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/21/19/image_17082025_21_20_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_45_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_34_9641.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_24_9641.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_14_10673.jpg', '/home/nano/Desktop/images/17082025/21/19/image_17082025_21_20_04_9647.jpg', '/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_45_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_34_9641.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_24_9641.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_14_10673.jpg
/home/nano/Desktop/images/17082025/21/19/image_17082025_21_20_04_9647.jpg
/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_45_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2326581478118896 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb60fccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:21:02.703069
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_14_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/21/19/image_17082025_21_20_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_45_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_34_9641.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_24_9641.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_14_10673.jpg', '/home/nano/Desktop/images/17082025/21/19/image_17082025_21_20_04_9647.jpg', '/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_45_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_34_9641.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_24_9641.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_14_10673.jpg
/home/nano/Desktop/images/17082025/21/19/image_17082025_21_20_04_9647.jpg
/home/nano/Desktop/images/17082025/21/19/image_17082025_21_19_45_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.3713579177856445 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f7d7c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:21:16.806879
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_24_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_21_04_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_24_9658.jpg', '/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_14_10669.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_21_04_9659.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_54_9640.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_24_9658.jpg
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_14_10669.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_21_04_9659.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_54_9640.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.71500825881958 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad502cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:21:31.770334
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_24_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_21_04_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_24_9658.jpg', '/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_14_10669.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_21_04_9659.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_54_9640.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_24_9658.jpg
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_14_10669.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_21_04_9659.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_54_9640.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9900994300842285 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f832a5cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:21:46.817119
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_24_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_21_04_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_24_9658.jpg', '/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_14_10669.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_21_04_9659.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_54_9640.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_24_9658.jpg
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_14_10669.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_21_04_9659.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_54_9640.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4642980098724365 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad79dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:22:02.405541
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_24_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_21_04_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_24_9658.jpg', '/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_14_10669.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_21_04_9659.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_54_9640.jpg', '/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_24_9658.jpg
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_14_10669.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_21_04_9659.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_54_9640.jpg
/home/nano/Desktop/images/17082025/21/20/image_17082025_21_20_44_10657.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.3115456104278564 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa09bacc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:22:16.892818
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_22_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg', '/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_24_9655.jpg', '/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_14_10667.jpg', '/home/nano/Desktop/images/17082025/21/21/image_17082025_21_22_04_9664.jpg', '/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_44_10651.jpg', '/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_24_9655.jpg
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_14_10667.jpg
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_22_04_9664.jpg
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_44_10651.jpg
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2374987602233887 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa18dbc18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:22:31.906173
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_22_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg', '/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_24_9655.jpg', '/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_14_10667.jpg', '/home/nano/Desktop/images/17082025/21/21/image_17082025_21_22_04_9664.jpg', '/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_44_10651.jpg', '/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_24_9655.jpg
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_14_10667.jpg
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_22_04_9664.jpg
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_44_10651.jpg
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6942834854125977 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d80dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:22:46.889218
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_22_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg', '/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_24_9655.jpg', '/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_14_10667.jpg', '/home/nano/Desktop/images/17082025/21/21/image_17082025_21_22_04_9664.jpg', '/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_44_10651.jpg', '/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_24_9655.jpg
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_14_10667.jpg
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_22_04_9664.jpg
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_44_10651.jpg
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.170470952987671 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86dd7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:23:02.602353
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_22_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg', '/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_24_9655.jpg', '/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_14_10667.jpg', '/home/nano/Desktop/images/17082025/21/21/image_17082025_21_22_04_9664.jpg', '/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_44_10651.jpg', '/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_24_9655.jpg
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_14_10667.jpg
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_22_04_9664.jpg
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_44_10651.jpg
/home/nano/Desktop/images/17082025/21/21/image_17082025_21_21_34_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.011106014251709 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad349cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:23:16.994004
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_44_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_24_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_23_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_44_9654.jpg', '/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_24_9645.jpg', '/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_14_10667.jpg', '/home/nano/Desktop/images/17082025/21/22/image_17082025_21_23_04_9644.jpg', '/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_44_10648.jpg', '/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_44_9654.jpg
/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_24_9645.jpg
/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_14_10667.jpg
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_23_04_9644.jpg
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_44_10648.jpg
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.972133159637451 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf2d3c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:23:32.000776
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_44_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_24_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_23_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_44_9654.jpg', '/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_24_9645.jpg', '/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_14_10667.jpg', '/home/nano/Desktop/images/17082025/21/22/image_17082025_21_23_04_9644.jpg', '/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_44_10648.jpg', '/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_44_9654.jpg
/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_24_9645.jpg
/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_14_10667.jpg
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_23_04_9644.jpg
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_44_10648.jpg
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4100024700164795 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8753dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:23:47.003408
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_44_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_24_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_23_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_44_9654.jpg', '/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_24_9645.jpg', '/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_14_10667.jpg', '/home/nano/Desktop/images/17082025/21/22/image_17082025_21_23_04_9644.jpg', '/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_44_10648.jpg', '/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_44_9654.jpg
/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_24_9645.jpg
/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_14_10667.jpg
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_23_04_9644.jpg
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_44_10648.jpg
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4437460899353027 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92d8bcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:24:02.892939
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_44_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_24_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_23_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_44_9654.jpg', '/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_24_9645.jpg', '/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_14_10667.jpg', '/home/nano/Desktop/images/17082025/21/22/image_17082025_21_23_04_9644.jpg', '/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_44_10648.jpg', '/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_44_9654.jpg
/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_24_9645.jpg
/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_14_10667.jpg
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_23_04_9644.jpg
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_44_10648.jpg
/home/nano/Desktop/images/17082025/21/22/image_17082025_21_22_34_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.397836923599243 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7dc4acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:24:17.117397
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_44_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/21/23/image_17082025_21_24_04_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_44_9644.jpg', '/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_34_10649.jpg', '/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_14_9661.jpg', '/home/nano/Desktop/images/17082025/21/23/image_17082025_21_24_04_10667.jpg', '/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_44_9644.jpg
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_34_10649.jpg
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_24_9637.jpg
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_14_9661.jpg
/home/nano/Desktop/images/17082025/21/23/image_17082025_21_24_04_10667.jpg
/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_54_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.726926326751709 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79fb6cf8>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:24:32.166290
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_44_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/21/23/image_17082025_21_24_04_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_44_9644.jpg', '/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_34_10649.jpg', '/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_14_9661.jpg', '/home/nano/Desktop/images/17082025/21/23/image_17082025_21_24_04_10667.jpg', '/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_44_9644.jpg
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_34_10649.jpg
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_24_9637.jpg
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_14_9661.jpg
/home/nano/Desktop/images/17082025/21/23/image_17082025_21_24_04_10667.jpg
/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_54_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.005927324295044 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5b35cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:24:47.118444
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_44_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/21/23/image_17082025_21_24_04_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_44_9644.jpg', '/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_34_10649.jpg', '/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_14_9661.jpg', '/home/nano/Desktop/images/17082025/21/23/image_17082025_21_24_04_10667.jpg', '/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_44_9644.jpg
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_34_10649.jpg
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_24_9637.jpg
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_14_9661.jpg
/home/nano/Desktop/images/17082025/21/23/image_17082025_21_24_04_10667.jpg
/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_54_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2465312480926514 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5c9ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:25:02.838590
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_44_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/21/23/image_17082025_21_24_04_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_44_9644.jpg', '/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_34_10649.jpg', '/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_14_9661.jpg', '/home/nano/Desktop/images/17082025/21/23/image_17082025_21_24_04_10667.jpg', '/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_44_9644.jpg
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_34_10649.jpg
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_24_9637.jpg
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_14_9661.jpg
/home/nano/Desktop/images/17082025/21/23/image_17082025_21_24_04_10667.jpg
/home/nano/Desktop/images/17082025/21/23/image_17082025_21_23_54_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.1674609184265137 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80e8dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:25:17.205886
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_25_04_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_54_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_34_10648.jpg', '/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_14_9661.jpg', '/home/nano/Desktop/images/17082025/21/24/image_17082025_21_25_04_10669.jpg', '/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_54_9635.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_44_9639.jpg
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_34_10648.jpg
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_24_9638.jpg
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_14_9661.jpg
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_25_04_10669.jpg
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_54_9635.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2923750877380371 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a962cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:25:32.215653
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_25_04_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_54_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_34_10648.jpg', '/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_14_9661.jpg', '/home/nano/Desktop/images/17082025/21/24/image_17082025_21_25_04_10669.jpg', '/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_54_9635.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_44_9639.jpg
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_34_10648.jpg
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_24_9638.jpg
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_14_9661.jpg
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_25_04_10669.jpg
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_54_9635.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.273581027984619 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2259cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:25:47.215569
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_25_04_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_54_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_34_10648.jpg', '/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_14_9661.jpg', '/home/nano/Desktop/images/17082025/21/24/image_17082025_21_25_04_10669.jpg', '/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_54_9635.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_44_9639.jpg
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_34_10648.jpg
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_24_9638.jpg
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_14_9661.jpg
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_25_04_10669.jpg
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_54_9635.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.3890302181243896 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac12dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:26:02.857383
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_25_04_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_54_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_34_10648.jpg', '/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_14_9661.jpg', '/home/nano/Desktop/images/17082025/21/24/image_17082025_21_25_04_10669.jpg', '/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_54_9635.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_44_9639.jpg
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_34_10648.jpg
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_24_9638.jpg
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_14_9661.jpg
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_25_04_10669.jpg
/home/nano/Desktop/images/17082025/21/24/image_17082025_21_24_54_9635.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.616745948791504 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f916bdcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:26:17.315958
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_26_04_10691.jpg', 2), ('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_44_9642.jpg', '/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_34_10649.jpg', '/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/25/image_17082025_21_26_04_10691.jpg', '/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_44_9642.jpg
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_34_10649.jpg
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_24_9637.jpg
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_14_9658.jpg
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_26_04_10691.jpg
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.433018684387207 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9197ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:26:32.330227
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_26_04_10691.jpg', 2), ('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_44_9642.jpg', '/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_34_10649.jpg', '/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/25/image_17082025_21_26_04_10691.jpg', '/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_44_9642.jpg
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_34_10649.jpg
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_24_9637.jpg
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_14_9658.jpg
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_26_04_10691.jpg
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.451601028442383 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf960cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:26:47.305456
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_26_04_10691.jpg', 2), ('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_44_9642.jpg', '/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_34_10649.jpg', '/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/25/image_17082025_21_26_04_10691.jpg', '/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_44_9642.jpg
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_34_10649.jpg
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_24_9637.jpg
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_14_9658.jpg
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_26_04_10691.jpg
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.187556505203247 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83205cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:27:03.013081
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_26_04_10691.jpg', 2), ('/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_44_9642.jpg', '/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_34_10649.jpg', '/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/25/image_17082025_21_26_04_10691.jpg', '/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_44_9642.jpg
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_34_10649.jpg
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_24_9637.jpg
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_14_9658.jpg
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_26_04_10691.jpg
/home/nano/Desktop/images/17082025/21/25/image_17082025_21_25_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.3891334533691406 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e9b5cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:27:17.417185
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_25_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_14_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_27_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_55_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_34_9639.jpg', '/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_25_10649.jpg', '/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_14_9664.jpg', '/home/nano/Desktop/images/17082025/21/26/image_17082025_21_27_04_9653.jpg', '/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_55_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_44_9639.jpg
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_34_9639.jpg
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_25_10649.jpg
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_14_9664.jpg
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_27_04_9653.jpg
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_55_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9773807525634766 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d0f4c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:27:32.401553
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_25_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_14_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_27_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_55_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_34_9639.jpg', '/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_25_10649.jpg', '/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_14_9664.jpg', '/home/nano/Desktop/images/17082025/21/26/image_17082025_21_27_04_9653.jpg', '/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_55_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_44_9639.jpg
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_34_9639.jpg
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_25_10649.jpg
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_14_9664.jpg
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_27_04_9653.jpg
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_55_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.511470079421997 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a6e6cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:27:47.421031
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_25_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_14_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_27_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_55_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_34_9639.jpg', '/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_25_10649.jpg', '/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_14_9664.jpg', '/home/nano/Desktop/images/17082025/21/26/image_17082025_21_27_04_9653.jpg', '/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_55_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_44_9639.jpg
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_34_9639.jpg
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_25_10649.jpg
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_14_9664.jpg
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_27_04_9653.jpg
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_55_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.127321481704712 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb353acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:28:02.949424
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_25_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_14_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_27_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_55_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_34_9639.jpg', '/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_25_10649.jpg', '/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_14_9664.jpg', '/home/nano/Desktop/images/17082025/21/26/image_17082025_21_27_04_9653.jpg', '/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_55_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_44_9639.jpg
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_34_9639.jpg
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_25_10649.jpg
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_14_9664.jpg
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_27_04_9653.jpg
/home/nano/Desktop/images/17082025/21/26/image_17082025_21_26_55_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.942775249481201 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d8facc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:28:17.529812
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_28_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_34_9654.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_24_10666.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_14_9659.jpg', '/home/nano/Desktop/images/17082025/21/27/image_17082025_21_28_04_9641.jpg', '/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_34_9654.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_24_10666.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_14_9659.jpg
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_28_04_9641.jpg
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.255181312561035 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c539cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:28:32.529421
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_28_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_34_9654.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_24_10666.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_14_9659.jpg', '/home/nano/Desktop/images/17082025/21/27/image_17082025_21_28_04_9641.jpg', '/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_34_9654.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_24_10666.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_14_9659.jpg
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_28_04_9641.jpg
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.4930715560913086 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9dbf3cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:28:47.533047
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_28_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_34_9654.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_24_10666.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_14_9659.jpg', '/home/nano/Desktop/images/17082025/21/27/image_17082025_21_28_04_9641.jpg', '/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_34_9654.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_24_10666.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_14_9659.jpg
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_28_04_9641.jpg
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.7157034873962402 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9089acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:29:03.538594
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_28_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_34_9654.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_24_10666.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_14_9659.jpg', '/home/nano/Desktop/images/17082025/21/27/image_17082025_21_28_04_9641.jpg', '/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_34_9654.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_24_10666.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_14_9659.jpg
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_28_04_9641.jpg
/home/nano/Desktop/images/17082025/21/27/image_17082025_21_27_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.322253704071045 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faafa4cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:29:17.638659
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_29_04_9673.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_29_04_9673.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_54_10649.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_29_04_9673.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_54_10649.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.741941213607788 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88189cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:29:32.639634
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_29_04_9673.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_29_04_9673.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_54_10649.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_29_04_9673.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_54_10649.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4229819774627686 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91670cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:29:47.610463
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_29_04_9673.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_29_04_9673.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_54_10649.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_29_04_9673.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_54_10649.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.410067081451416 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadc7fcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:30:03.314720
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_29_04_9673.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_29_04_9673.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_54_10649.jpg', '/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_29_04_9673.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_54_10649.jpg
/home/nano/Desktop/images/17082025/21/28/image_17082025_21_28_44_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.7444026470184326 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a3e8cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:30:17.746822
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_14_9668.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_30_04_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_14_9668.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_30_04_9658.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_54_10648.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_14_9668.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_30_04_9658.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_54_10648.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1908481121063232 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c648c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:30:32.757486
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_14_9668.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_30_04_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_14_9668.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_30_04_9658.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_54_10648.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_14_9668.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_30_04_9658.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_54_10648.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.655386209487915 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa94b4cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:30:47.700452
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_14_9668.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_30_04_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_14_9668.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_30_04_9658.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_54_10648.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_14_9668.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_30_04_9658.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_54_10648.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.0086700916290283 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d246c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:31:02.474365
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_14_9668.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_30_04_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_14_9668.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_30_04_9658.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_54_10648.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_14_9668.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_30_04_9658.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_54_10648.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_44_9640.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_34_9640.jpg
/home/nano/Desktop/images/17082025/21/29/image_17082025_21_29_14_9660.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8186273574829102 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89257cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:31:16.805933
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_15_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/21/30/image_17082025_21_31_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_24_10660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_24_9639.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_15_10668.jpg', '/home/nano/Desktop/images/17082025/21/30/image_17082025_21_31_04_9656.jpg', '/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_24_10660.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_24_9639.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_15_10668.jpg
/home/nano/Desktop/images/17082025/21/30/image_17082025_21_31_04_9656.jpg
/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_24_10660.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.8584682941436768 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb51e3cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:31:31.886330
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_15_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/21/30/image_17082025_21_31_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_24_10660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_24_9639.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_15_10668.jpg', '/home/nano/Desktop/images/17082025/21/30/image_17082025_21_31_04_9656.jpg', '/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_24_10660.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_24_9639.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_15_10668.jpg
/home/nano/Desktop/images/17082025/21/30/image_17082025_21_31_04_9656.jpg
/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_24_10660.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.206834077835083 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c0f6cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:31:46.877571
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_15_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/21/30/image_17082025_21_31_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_24_10660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_24_9639.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_15_10668.jpg', '/home/nano/Desktop/images/17082025/21/30/image_17082025_21_31_04_9656.jpg', '/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_24_10660.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_24_9639.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_15_10668.jpg
/home/nano/Desktop/images/17082025/21/30/image_17082025_21_31_04_9656.jpg
/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_24_10660.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2554659843444824 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87920cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:32:02.421813
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_15_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/21/30/image_17082025_21_31_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_24_10660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_24_9639.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_15_10668.jpg', '/home/nano/Desktop/images/17082025/21/30/image_17082025_21_31_04_9656.jpg', '/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_24_10660.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_24_9639.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_15_10668.jpg
/home/nano/Desktop/images/17082025/21/30/image_17082025_21_31_04_9656.jpg
/home/nano/Desktop/images/17082025/21/30/image_17082025_21_30_24_10660.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.1605372428894043 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9882ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:32:16.969668
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg', '/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg', '/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_24_9641.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_54_9639.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_24_9641.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_54_9639.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4948625564575195 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91910cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:32:31.952913
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg', '/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg', '/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_24_9641.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_54_9639.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_24_9641.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_54_9639.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2269551753997803 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80c7ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:32:46.947642
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg', '/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg', '/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_24_9641.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_54_9639.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_24_9641.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_54_9639.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.358487606048584 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4f56cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:33:02.830715
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg', '/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg', '/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_24_9641.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_54_9639.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg', '/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_24_9641.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_54_9639.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_44_10649.jpg
/home/nano/Desktop/images/17082025/21/31/image_17082025_21_31_34_9636.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8005685806274414 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d8a0cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:33:17.031637
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_44_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_44_10667.jpg', '/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_34_9636.jpg', '/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_24_9639.jpg', '/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_54_9638.jpg', '/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg', '/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_44_10667.jpg
/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_34_9636.jpg
/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_24_9639.jpg
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_54_9638.jpg
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4296963214874268 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e770cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:33:32.050242
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_44_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_44_10667.jpg', '/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_34_9636.jpg', '/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_24_9639.jpg', '/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_54_9638.jpg', '/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg', '/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_44_10667.jpg
/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_34_9636.jpg
/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_24_9639.jpg
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_54_9638.jpg
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.813298225402832 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3708cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:33:47.061472
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_44_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_44_10667.jpg', '/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_34_9636.jpg', '/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_24_9639.jpg', '/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_54_9638.jpg', '/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg', '/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_44_10667.jpg
/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_34_9636.jpg
/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_24_9639.jpg
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_54_9638.jpg
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.414961338043213 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6533cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:34:02.933951
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_44_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_34_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_44_10667.jpg', '/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_34_9636.jpg', '/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_24_9639.jpg', '/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_54_9638.jpg', '/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg', '/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_44_10667.jpg
/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_34_9636.jpg
/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_24_9639.jpg
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_54_9638.jpg
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_44_10647.jpg
/home/nano/Desktop/images/17082025/21/32/image_17082025_21_32_34_9636.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4434237480163574 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa63afcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:34:17.231730
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_35_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/21/33/image_17082025_21_34_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_35_10647.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_24_9640.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_14_10668.jpg', '/home/nano/Desktop/images/17082025/21/33/image_17082025_21_34_04_9655.jpg', '/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_35_10647.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_24_9640.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_14_10668.jpg
/home/nano/Desktop/images/17082025/21/33/image_17082025_21_34_04_9655.jpg
/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4713988304138184 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa35d0cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:34:32.172637
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_35_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/21/33/image_17082025_21_34_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_35_10647.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_24_9640.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_14_10668.jpg', '/home/nano/Desktop/images/17082025/21/33/image_17082025_21_34_04_9655.jpg', '/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_35_10647.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_24_9640.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_14_10668.jpg
/home/nano/Desktop/images/17082025/21/33/image_17082025_21_34_04_9655.jpg
/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4936165809631348 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f975aecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:34:47.161358
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_35_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/21/33/image_17082025_21_34_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_35_10647.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_24_9640.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_14_10668.jpg', '/home/nano/Desktop/images/17082025/21/33/image_17082025_21_34_04_9655.jpg', '/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_35_10647.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_24_9640.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_14_10668.jpg
/home/nano/Desktop/images/17082025/21/33/image_17082025_21_34_04_9655.jpg
/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.235043525695801 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f982becc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:35:02.847102
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_35_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/21/33/image_17082025_21_34_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_35_10647.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_24_9640.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_14_10668.jpg', '/home/nano/Desktop/images/17082025/21/33/image_17082025_21_34_04_9655.jpg', '/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_35_10647.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_24_9640.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_14_10668.jpg
/home/nano/Desktop/images/17082025/21/33/image_17082025_21_34_04_9655.jpg
/home/nano/Desktop/images/17082025/21/33/image_17082025_21_33_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.306851625442505 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1beecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:35:17.289126
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_35_04_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_24_9641.jpg', '/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_35_04_10670.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_54_9637.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_24_9641.jpg
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_14_9658.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_35_04_10670.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_54_9637.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2516655921936035 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae9f9cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:35:32.254429
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_35_04_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_24_9641.jpg', '/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_35_04_10670.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_54_9637.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_24_9641.jpg
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_14_9658.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_35_04_10670.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_54_9637.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.597712755203247 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb62d8c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:35:47.278560
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_35_04_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_24_9641.jpg', '/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_35_04_10670.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_54_9637.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_24_9641.jpg
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_14_9658.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_35_04_10670.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_54_9637.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.5569548606872559 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2d3ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:36:02.801870
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_35_04_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_24_9641.jpg', '/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_35_04_10670.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_54_9637.jpg', '/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_24_9641.jpg
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_14_9658.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_35_04_10670.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_54_9637.jpg
/home/nano/Desktop/images/17082025/21/34/image_17082025_21_34_44_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.942464828491211 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93b75cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:36:17.364847
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_36_04_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_24_9656.jpg', '/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_14_9659.jpg', '/home/nano/Desktop/images/17082025/21/35/image_17082025_21_36_04_10662.jpg', '/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_54_9641.jpg', '/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_24_9656.jpg
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_14_9659.jpg
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_36_04_10662.jpg
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_54_9641.jpg
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.437419891357422 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb32c3cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:36:32.378536
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_36_04_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_24_9656.jpg', '/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_14_9659.jpg', '/home/nano/Desktop/images/17082025/21/35/image_17082025_21_36_04_10662.jpg', '/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_54_9641.jpg', '/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_24_9656.jpg
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_14_9659.jpg
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_36_04_10662.jpg
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_54_9641.jpg
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.058481216430664 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ff5fcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:36:47.357071
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_36_04_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_24_9656.jpg', '/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_14_9659.jpg', '/home/nano/Desktop/images/17082025/21/35/image_17082025_21_36_04_10662.jpg', '/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_54_9641.jpg', '/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_24_9656.jpg
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_14_9659.jpg
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_36_04_10662.jpg
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_54_9641.jpg
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4272537231445312 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa42fc18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:37:03.176875
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_36_04_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_24_9656.jpg', '/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_14_9659.jpg', '/home/nano/Desktop/images/17082025/21/35/image_17082025_21_36_04_10662.jpg', '/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_54_9641.jpg', '/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_24_9656.jpg
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_14_9659.jpg
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_36_04_10662.jpg
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_54_9641.jpg
/home/nano/Desktop/images/17082025/21/35/image_17082025_21_35_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.3752496242523193 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f805c3cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:37:17.462575
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_37_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_44_9638.jpg', '/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_24_9640.jpg', '/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_14_9657.jpg', '/home/nano/Desktop/images/17082025/21/36/image_17082025_21_37_04_10665.jpg', '/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_54_9640.jpg', '/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_44_9638.jpg
/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_24_9640.jpg
/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_14_9657.jpg
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_37_04_10665.jpg
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_54_9640.jpg
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.4546611309051514 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9873dc18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:37:32.465080
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_37_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_44_9638.jpg', '/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_24_9640.jpg', '/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_14_9657.jpg', '/home/nano/Desktop/images/17082025/21/36/image_17082025_21_37_04_10665.jpg', '/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_54_9640.jpg', '/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_44_9638.jpg
/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_24_9640.jpg
/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_14_9657.jpg
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_37_04_10665.jpg
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_54_9640.jpg
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.4795410633087158 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b033cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:37:47.447294
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_37_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_44_9638.jpg', '/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_24_9640.jpg', '/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_14_9657.jpg', '/home/nano/Desktop/images/17082025/21/36/image_17082025_21_37_04_10665.jpg', '/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_54_9640.jpg', '/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_44_9638.jpg
/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_24_9640.jpg
/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_14_9657.jpg
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_37_04_10665.jpg
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_54_9640.jpg
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.4586753845214844 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8154bcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:38:03.149278
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_37_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_44_9638.jpg', '/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_24_9640.jpg', '/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_14_9657.jpg', '/home/nano/Desktop/images/17082025/21/36/image_17082025_21_37_04_10665.jpg', '/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_54_9640.jpg', '/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_44_9638.jpg
/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_24_9640.jpg
/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_14_9657.jpg
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_37_04_10665.jpg
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_54_9640.jpg
/home/nano/Desktop/images/17082025/21/36/image_17082025_21_36_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.0876893997192383 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7bc28cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:38:17.565260
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_14_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/37/image_17082025_21_38_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_55_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_14_9664.jpg', '/home/nano/Desktop/images/17082025/21/37/image_17082025_21_38_04_9645.jpg', '/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_55_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_14_9664.jpg
/home/nano/Desktop/images/17082025/21/37/image_17082025_21_38_04_9645.jpg
/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_55_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.259213447570801 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e9efcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:38:32.560626
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_14_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/37/image_17082025_21_38_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_55_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_14_9664.jpg', '/home/nano/Desktop/images/17082025/21/37/image_17082025_21_38_04_9645.jpg', '/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_55_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_14_9664.jpg
/home/nano/Desktop/images/17082025/21/37/image_17082025_21_38_04_9645.jpg
/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_55_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2668745517730713 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb249cc18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:38:47.561081
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_14_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/37/image_17082025_21_38_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_55_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_14_9664.jpg', '/home/nano/Desktop/images/17082025/21/37/image_17082025_21_38_04_9645.jpg', '/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_55_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_14_9664.jpg
/home/nano/Desktop/images/17082025/21/37/image_17082025_21_38_04_9645.jpg
/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_55_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2339749336242676 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95596cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:39:03.546639
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_14_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/37/image_17082025_21_38_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_55_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_14_9664.jpg', '/home/nano/Desktop/images/17082025/21/37/image_17082025_21_38_04_9645.jpg', '/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_55_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_14_9664.jpg
/home/nano/Desktop/images/17082025/21/37/image_17082025_21_38_04_9645.jpg
/home/nano/Desktop/images/17082025/21/37/image_17082025_21_37_55_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4859707355499268 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f914aecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:39:17.661457
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_54_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_54_10650.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_54_10650.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.8161866664886475 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae193cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:39:32.670644
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_54_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_54_10650.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_54_10650.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3668544292449951 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad205cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:39:47.656070
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_54_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_54_10650.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_54_10650.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.628695011138916 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f304cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:40:03.187986
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_54_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_54_10650.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_54_10650.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_44_9637.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_34_9638.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_38_24_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.9672164916992188 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e269cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:40:17.760005
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/39/image_17082025_21_40_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_54_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg', '/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_24_10649.jpg', '/home/nano/Desktop/images/17082025/21/39/image_17082025_21_40_04_9664.jpg', '/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_54_10645.jpg', '/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg
/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_24_10649.jpg
/home/nano/Desktop/images/17082025/21/39/image_17082025_21_40_04_9664.jpg
/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_54_10645.jpg
/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4440324306488037 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94258cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:40:32.750482
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/39/image_17082025_21_40_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_54_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg', '/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_24_10649.jpg', '/home/nano/Desktop/images/17082025/21/39/image_17082025_21_40_04_9664.jpg', '/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_54_10645.jpg', '/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg
/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_24_10649.jpg
/home/nano/Desktop/images/17082025/21/39/image_17082025_21_40_04_9664.jpg
/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_54_10645.jpg
/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.493579864501953 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78d84cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:40:47.766220
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/39/image_17082025_21_40_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_54_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg', '/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_24_10649.jpg', '/home/nano/Desktop/images/17082025/21/39/image_17082025_21_40_04_9664.jpg', '/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_54_10645.jpg', '/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg
/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_24_10649.jpg
/home/nano/Desktop/images/17082025/21/39/image_17082025_21_40_04_9664.jpg
/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_54_10645.jpg
/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6290664672851562 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76d88cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:41:02.622687
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/39/image_17082025_21_40_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_54_10645.jpg', 2), ('/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg', '/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_24_10649.jpg', '/home/nano/Desktop/images/17082025/21/39/image_17082025_21_40_04_9664.jpg', '/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_54_10645.jpg', '/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg', '/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg
/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_24_10649.jpg
/home/nano/Desktop/images/17082025/21/39/image_17082025_21_40_04_9664.jpg
/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_54_10645.jpg
/home/nano/Desktop/images/17082025/21/39/image_17082025_21_39_24_10649.jpg
/home/nano/Desktop/images/17082025/21/38/image_17082025_21_39_04_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.7728335857391357 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85f64cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:41:16.889554
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/40/image_17082025_21_41_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_34_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg', '/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_14_10666.jpg', '/home/nano/Desktop/images/17082025/21/40/image_17082025_21_41_04_9661.jpg', '/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg', '/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_34_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_14_10666.jpg
/home/nano/Desktop/images/17082025/21/40/image_17082025_21_41_04_9661.jpg
/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg
/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_34_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8757681846618652 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3b58cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:41:31.853370
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/40/image_17082025_21_41_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_34_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg', '/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_14_10666.jpg', '/home/nano/Desktop/images/17082025/21/40/image_17082025_21_41_04_9661.jpg', '/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg', '/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_34_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_14_10666.jpg
/home/nano/Desktop/images/17082025/21/40/image_17082025_21_41_04_9661.jpg
/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg
/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_34_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.432164192199707 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f815c9c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:41:46.841339
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/40/image_17082025_21_41_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_34_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg', '/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_14_10666.jpg', '/home/nano/Desktop/images/17082025/21/40/image_17082025_21_41_04_9661.jpg', '/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg', '/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_34_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_14_10666.jpg
/home/nano/Desktop/images/17082025/21/40/image_17082025_21_41_04_9661.jpg
/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg
/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_34_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.3941404819488525 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb07d9c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:42:02.430291
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/40/image_17082025_21_41_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_34_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg', '/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg', '/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_14_10666.jpg', '/home/nano/Desktop/images/17082025/21/40/image_17082025_21_41_04_9661.jpg', '/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg', '/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_34_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_14_10666.jpg
/home/nano/Desktop/images/17082025/21/40/image_17082025_21_41_04_9661.jpg
/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_54_9641.jpg
/home/nano/Desktop/images/17082025/21/40/image_17082025_21_40_34_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.259536027908325 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7d80cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:42:16.960641
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_54_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg', '/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_34_9643.jpg', '/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_14_10667.jpg', '/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_54_9654.jpg', '/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg', '/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_34_9643.jpg
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_14_10667.jpg
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_54_9654.jpg
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2048332691192627 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb6004cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:42:31.938980
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_54_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg', '/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_34_9643.jpg', '/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_14_10667.jpg', '/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_54_9654.jpg', '/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg', '/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_34_9643.jpg
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_14_10667.jpg
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_54_9654.jpg
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.5754344463348389 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98d6dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:42:46.927311
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_54_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg', '/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_34_9643.jpg', '/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_14_10667.jpg', '/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_54_9654.jpg', '/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg', '/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_34_9643.jpg
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_14_10667.jpg
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_54_9654.jpg
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.963212013244629 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ce6ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:43:02.745114
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_54_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg', '/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_34_9643.jpg', '/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_14_10667.jpg', '/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_54_9654.jpg', '/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg', '/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_34_9643.jpg
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_14_10667.jpg
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_54_9654.jpg
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_44_10665.jpg
/home/nano/Desktop/images/17082025/21/41/image_17082025_21_41_24_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.1514203548431396 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2ec4cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:43:17.039505
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_14_10679.jpg', 2), ('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_43_04_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_44_10651.jpg', '/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_14_10679.jpg', '/home/nano/Desktop/images/17082025/21/42/image_17082025_21_43_04_9662.jpg', '/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_54_9641.jpg', '/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_44_10651.jpg
/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_34_9638.jpg
/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_14_10679.jpg
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_43_04_9662.jpg
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_54_9641.jpg
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.200669527053833 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f979fecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:43:32.038011
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_14_10679.jpg', 2), ('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_43_04_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_44_10651.jpg', '/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_14_10679.jpg', '/home/nano/Desktop/images/17082025/21/42/image_17082025_21_43_04_9662.jpg', '/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_54_9641.jpg', '/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_44_10651.jpg
/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_34_9638.jpg
/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_14_10679.jpg
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_43_04_9662.jpg
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_54_9641.jpg
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.409501075744629 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8887fcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:43:47.050747
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_14_10679.jpg', 2), ('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_43_04_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_44_10651.jpg', '/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_14_10679.jpg', '/home/nano/Desktop/images/17082025/21/42/image_17082025_21_43_04_9662.jpg', '/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_54_9641.jpg', '/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_44_10651.jpg
/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_34_9638.jpg
/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_14_10679.jpg
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_43_04_9662.jpg
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_54_9641.jpg
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.2424874305725098 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4773cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:44:03.095728
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_14_10679.jpg', 2), ('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_43_04_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_44_10651.jpg', '/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_14_10679.jpg', '/home/nano/Desktop/images/17082025/21/42/image_17082025_21_43_04_9662.jpg', '/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_54_9641.jpg', '/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_44_10651.jpg
/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_34_9638.jpg
/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_14_10679.jpg
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_43_04_9662.jpg
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_54_9641.jpg
/home/nano/Desktop/images/17082025/21/42/image_17082025_21_42_44_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.852588176727295 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5d84cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:44:17.111703
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/43/image_17082025_21_44_04_9671.jpg', 2), ('/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_24_9636.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_14_10664.jpg', '/home/nano/Desktop/images/17082025/21/43/image_17082025_21_44_04_9671.jpg', '/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_34_9638.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_24_9636.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_14_10664.jpg
/home/nano/Desktop/images/17082025/21/43/image_17082025_21_44_04_9671.jpg
/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2970020771026611 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c20bcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:44:32.186384
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/43/image_17082025_21_44_04_9671.jpg', 2), ('/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_24_9636.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_14_10664.jpg', '/home/nano/Desktop/images/17082025/21/43/image_17082025_21_44_04_9671.jpg', '/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_34_9638.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_24_9636.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_14_10664.jpg
/home/nano/Desktop/images/17082025/21/43/image_17082025_21_44_04_9671.jpg
/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.439760684967041 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90762cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:44:47.143463
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/43/image_17082025_21_44_04_9671.jpg', 2), ('/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_24_9636.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_14_10664.jpg', '/home/nano/Desktop/images/17082025/21/43/image_17082025_21_44_04_9671.jpg', '/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_34_9638.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_24_9636.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_14_10664.jpg
/home/nano/Desktop/images/17082025/21/43/image_17082025_21_44_04_9671.jpg
/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.602259874343872 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8cdecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:45:02.992267
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/43/image_17082025_21_44_04_9671.jpg', 2), ('/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_24_9636.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_14_10664.jpg', '/home/nano/Desktop/images/17082025/21/43/image_17082025_21_44_04_9671.jpg', '/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_34_9638.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_24_9636.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_14_10664.jpg
/home/nano/Desktop/images/17082025/21/43/image_17082025_21_44_04_9671.jpg
/home/nano/Desktop/images/17082025/21/43/image_17082025_21_43_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.3324391841888428 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f897a2cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:45:17.250281
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_45_05_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_54_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_45_05_10673.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_54_9655.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_45_05_10673.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_54_9655.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.392524242401123 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8fbb3cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:45:32.285972
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_45_05_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_54_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_45_05_10673.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_54_9655.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_45_05_10673.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_54_9655.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6802256107330322 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91cb7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:45:47.247624
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_45_05_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_54_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_45_05_10673.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_54_9655.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_45_05_10673.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_54_9655.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4085068702697754 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a4a0cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:46:02.938099
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_45_05_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_54_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_45_05_10673.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_54_9655.jpg', '/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_45_05_10673.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_54_9655.jpg
/home/nano/Desktop/images/17082025/21/44/image_17082025_21_44_44_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2327170372009277 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89016c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:46:17.367020
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_24_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg', '/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_24_9646.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_44_9642.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg
/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_24_9646.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_44_9642.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.449004888534546 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa1a1cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:46:32.438845
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_24_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg', '/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_24_9646.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_44_9642.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg
/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_24_9646.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_44_9642.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4198379516601562 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9e26cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:46:47.423788
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_24_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg', '/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_24_9646.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_44_9642.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg
/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_24_9646.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_44_9642.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9025731086730957 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0f70c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:47:03.341215
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_24_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg', '/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_24_9646.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_44_9642.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg', '/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg
/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_24_9646.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_44_9642.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_34_10667.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_24_9638.jpg
/home/nano/Desktop/images/17082025/21/45/image_17082025_21_45_14_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.3076930046081543 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae440cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:47:17.574191
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/46/image_17082025_21_47_04_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_34_10650.jpg', '/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/46/image_17082025_21_47_04_10651.jpg', '/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_34_10650.jpg
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_14_9658.jpg
/home/nano/Desktop/images/17082025/21/46/image_17082025_21_47_04_10651.jpg
/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_44_9639.jpg
/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.3596768379211426 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83347cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:47:32.530411
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/46/image_17082025_21_47_04_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_34_10650.jpg', '/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/46/image_17082025_21_47_04_10651.jpg', '/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_34_10650.jpg
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_14_9658.jpg
/home/nano/Desktop/images/17082025/21/46/image_17082025_21_47_04_10651.jpg
/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_44_9639.jpg
/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.406841278076172 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e761cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:47:47.530220
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/46/image_17082025_21_47_04_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_34_10650.jpg', '/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/46/image_17082025_21_47_04_10651.jpg', '/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_34_10650.jpg
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_14_9658.jpg
/home/nano/Desktop/images/17082025/21/46/image_17082025_21_47_04_10651.jpg
/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_44_9639.jpg
/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6499090194702148 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f840e8cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:48:03.312093
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/46/image_17082025_21_47_04_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_34_10650.jpg', '/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/46/image_17082025_21_47_04_10651.jpg', '/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_34_10650.jpg
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_14_9658.jpg
/home/nano/Desktop/images/17082025/21/46/image_17082025_21_47_04_10651.jpg
/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_44_9639.jpg
/home/nano/Desktop/images/17082025/21/46/image_17082025_21_46_34_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.018033981323242 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f831b1c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:48:17.624977
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_48_04_10655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg', '/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_14_9659.jpg', '/home/nano/Desktop/images/17082025/21/47/image_17082025_21_48_04_10655.jpg', '/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_54_9641.jpg', '/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_34_9638.jpg
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_14_9659.jpg
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_48_04_10655.jpg
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_54_9641.jpg
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.563067674636841 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3990cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:48:32.624721
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_48_04_10655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg', '/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_14_9659.jpg', '/home/nano/Desktop/images/17082025/21/47/image_17082025_21_48_04_10655.jpg', '/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_54_9641.jpg', '/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_34_9638.jpg
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_14_9659.jpg
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_48_04_10655.jpg
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_54_9641.jpg
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.0750787258148193 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90bd7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:48:47.609504
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_48_04_10655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg', '/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_14_9659.jpg', '/home/nano/Desktop/images/17082025/21/47/image_17082025_21_48_04_10655.jpg', '/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_54_9641.jpg', '/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_34_9638.jpg
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_14_9659.jpg
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_48_04_10655.jpg
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_54_9641.jpg
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2196643352508545 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb02cdcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:49:03.869538
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_48_04_10655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg', '/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_14_9659.jpg', '/home/nano/Desktop/images/17082025/21/47/image_17082025_21_48_04_10655.jpg', '/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_54_9641.jpg', '/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_34_9638.jpg
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_14_9659.jpg
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_48_04_10655.jpg
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_54_9641.jpg
/home/nano/Desktop/images/17082025/21/47/image_17082025_21_47_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.3458826541900635 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99226c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:49:17.722248
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_49_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_34_9639.jpg', '/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_14_9657.jpg', '/home/nano/Desktop/images/17082025/21/48/image_17082025_21_49_04_9652.jpg', '/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_54_10648.jpg', '/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_44_9640.jpg
/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_34_9639.jpg
/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_14_9657.jpg
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_49_04_9652.jpg
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_54_10648.jpg
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.783992290496826 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c4f9cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:49:32.721232
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_49_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_34_9639.jpg', '/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_14_9657.jpg', '/home/nano/Desktop/images/17082025/21/48/image_17082025_21_49_04_9652.jpg', '/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_54_10648.jpg', '/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_44_9640.jpg
/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_34_9639.jpg
/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_14_9657.jpg
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_49_04_9652.jpg
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_54_10648.jpg
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.452193021774292 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f980b4cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:49:47.739982
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_49_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_34_9639.jpg', '/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_14_9657.jpg', '/home/nano/Desktop/images/17082025/21/48/image_17082025_21_49_04_9652.jpg', '/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_54_10648.jpg', '/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_44_9640.jpg
/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_34_9639.jpg
/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_14_9657.jpg
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_49_04_9652.jpg
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_54_10648.jpg
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.236858606338501 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4a46cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:50:02.442732
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_49_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_44_9640.jpg', '/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_34_9639.jpg', '/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_14_9657.jpg', '/home/nano/Desktop/images/17082025/21/48/image_17082025_21_49_04_9652.jpg', '/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_54_10648.jpg', '/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_44_9640.jpg
/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_34_9639.jpg
/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_14_9657.jpg
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_49_04_9652.jpg
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_54_10648.jpg
/home/nano/Desktop/images/17082025/21/48/image_17082025_21_48_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.332885503768921 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9af75cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:50:16.825809
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_24_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_14_9678.jpg', 2), ('/home/nano/Desktop/images/17082025/21/49/image_17082025_21_50_04_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_24_10656.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_14_9678.jpg', '/home/nano/Desktop/images/17082025/21/49/image_17082025_21_50_04_9659.jpg', '/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_54_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_34_9638.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_24_10656.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_14_9678.jpg
/home/nano/Desktop/images/17082025/21/49/image_17082025_21_50_04_9659.jpg
/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_54_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.5274035930633545 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f14ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:50:31.832571
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_24_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_14_9678.jpg', 2), ('/home/nano/Desktop/images/17082025/21/49/image_17082025_21_50_04_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_24_10656.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_14_9678.jpg', '/home/nano/Desktop/images/17082025/21/49/image_17082025_21_50_04_9659.jpg', '/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_54_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_34_9638.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_24_10656.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_14_9678.jpg
/home/nano/Desktop/images/17082025/21/49/image_17082025_21_50_04_9659.jpg
/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_54_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.472649574279785 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7744acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:50:46.857989
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_24_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_14_9678.jpg', 2), ('/home/nano/Desktop/images/17082025/21/49/image_17082025_21_50_04_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_24_10656.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_14_9678.jpg', '/home/nano/Desktop/images/17082025/21/49/image_17082025_21_50_04_9659.jpg', '/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_54_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_34_9638.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_24_10656.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_14_9678.jpg
/home/nano/Desktop/images/17082025/21/49/image_17082025_21_50_04_9659.jpg
/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_54_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8090741634368896 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6beecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:51:02.624378
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_24_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_14_9678.jpg', 2), ('/home/nano/Desktop/images/17082025/21/49/image_17082025_21_50_04_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_24_10656.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_14_9678.jpg', '/home/nano/Desktop/images/17082025/21/49/image_17082025_21_50_04_9659.jpg', '/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_54_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_34_9638.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_24_10656.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_14_9678.jpg
/home/nano/Desktop/images/17082025/21/49/image_17082025_21_50_04_9659.jpg
/home/nano/Desktop/images/17082025/21/49/image_17082025_21_49_54_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8792445659637451 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa50ddcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:51:16.947821
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_51_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_44_10649.jpg', '/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_51_04_9646.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_54_10648.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_44_10649.jpg
/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_34_9638.jpg
/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_14_9658.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_51_04_9646.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_54_10648.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8073124885559082 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac97bcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:51:31.954257
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_51_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_44_10649.jpg', '/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_51_04_9646.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_54_10648.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_44_10649.jpg
/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_34_9638.jpg
/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_14_9658.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_51_04_9646.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_54_10648.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1929216384887695 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c115cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:51:46.994266
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_51_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_44_10649.jpg', '/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_51_04_9646.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_54_10648.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_44_10649.jpg
/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_34_9638.jpg
/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_14_9658.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_51_04_9646.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_54_10648.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.241844654083252 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faef07c88>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:52:02.554128
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_51_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_54_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_44_10649.jpg', '/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_34_9638.jpg', '/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_51_04_9646.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_54_10648.jpg', '/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_44_10649.jpg
/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_34_9638.jpg
/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_14_9658.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_51_04_9646.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_54_10648.jpg
/home/nano/Desktop/images/17082025/21/50/image_17082025_21_50_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4696450233459473 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0f9cc18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:52:17.083568
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/51/image_17082025_21_52_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_34_9641.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_24_9640.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_14_10666.jpg', '/home/nano/Desktop/images/17082025/21/51/image_17082025_21_52_04_9666.jpg', '/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_34_9641.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_24_9640.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_14_10666.jpg
/home/nano/Desktop/images/17082025/21/51/image_17082025_21_52_04_9666.jpg
/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_54_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.256622791290283 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa41e7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:52:32.092633
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/51/image_17082025_21_52_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_34_9641.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_24_9640.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_14_10666.jpg', '/home/nano/Desktop/images/17082025/21/51/image_17082025_21_52_04_9666.jpg', '/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_34_9641.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_24_9640.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_14_10666.jpg
/home/nano/Desktop/images/17082025/21/51/image_17082025_21_52_04_9666.jpg
/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_54_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.44730281829834 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e2fbcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:52:47.063796
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/51/image_17082025_21_52_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_34_9641.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_24_9640.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_14_10666.jpg', '/home/nano/Desktop/images/17082025/21/51/image_17082025_21_52_04_9666.jpg', '/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_34_9641.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_24_9640.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_14_10666.jpg
/home/nano/Desktop/images/17082025/21/51/image_17082025_21_52_04_9666.jpg
/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_54_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2098829746246338 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80011cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:53:02.793341
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/51/image_17082025_21_52_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_34_9641.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_24_9640.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_14_10666.jpg', '/home/nano/Desktop/images/17082025/21/51/image_17082025_21_52_04_9666.jpg', '/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_34_9641.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_24_9640.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_14_10666.jpg
/home/nano/Desktop/images/17082025/21/51/image_17082025_21_52_04_9666.jpg
/home/nano/Desktop/images/17082025/21/51/image_17082025_21_51_54_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.193404197692871 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76726cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:53:17.206938
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_53_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg', '/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_24_9641.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_53_04_9664.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_54_9640.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_34_9640.jpg
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_24_9641.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_53_04_9664.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_54_9640.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2205698490142822 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89b6fcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:53:32.200714
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_53_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg', '/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_24_9641.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_53_04_9664.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_54_9640.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_34_9640.jpg
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_24_9641.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_53_04_9664.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_54_9640.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2668843269348145 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9fbccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:53:47.191729
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_53_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg', '/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_24_9641.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_53_04_9664.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_54_9640.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_34_9640.jpg
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_24_9641.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_53_04_9664.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_54_9640.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.415837526321411 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb08e9cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:54:03.030967
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_53_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg', '/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_24_9641.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_53_04_9664.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_54_9640.jpg', '/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_34_9640.jpg
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_24_9641.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_53_04_9664.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_54_9640.jpg
/home/nano/Desktop/images/17082025/21/52/image_17082025_21_52_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.3924612998962402 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80f29c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:54:17.288676
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_24_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_54_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg', '/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_24_9658.jpg', '/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_14_10668.jpg', '/home/nano/Desktop/images/17082025/21/53/image_17082025_21_54_04_9654.jpg', '/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_54_9638.jpg', '/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg
/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_24_9658.jpg
/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_14_10668.jpg
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_54_04_9654.jpg
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_54_9638.jpg
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.066742181777954 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fafd75cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:54:32.306993
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_24_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_54_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg', '/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_24_9658.jpg', '/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_14_10668.jpg', '/home/nano/Desktop/images/17082025/21/53/image_17082025_21_54_04_9654.jpg', '/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_54_9638.jpg', '/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg
/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_24_9658.jpg
/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_14_10668.jpg
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_54_04_9654.jpg
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_54_9638.jpg
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.400867223739624 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6acccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:54:47.330574
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_24_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_54_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg', '/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_24_9658.jpg', '/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_14_10668.jpg', '/home/nano/Desktop/images/17082025/21/53/image_17082025_21_54_04_9654.jpg', '/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_54_9638.jpg', '/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg
/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_24_9658.jpg
/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_14_10668.jpg
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_54_04_9654.jpg
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_54_9638.jpg
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.89589524269104 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80698cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:55:03.167873
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_24_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_54_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg', '/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_24_9658.jpg', '/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_14_10668.jpg', '/home/nano/Desktop/images/17082025/21/53/image_17082025_21_54_04_9654.jpg', '/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_54_9638.jpg', '/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg
/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_24_9658.jpg
/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_14_10668.jpg
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_54_04_9654.jpg
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_54_9638.jpg
/home/nano/Desktop/images/17082025/21/53/image_17082025_21_53_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1202080249786377 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb136fcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:55:17.426474
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_34_10647.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_24_9639.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_44_10647.jpg', '/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_34_10647.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_24_9639.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_14_9658.jpg
/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_44_10647.jpg
/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.2815606594085693 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c39ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:55:32.419689
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_34_10647.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_24_9639.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_44_10647.jpg', '/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_34_10647.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_24_9639.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_14_9658.jpg
/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_44_10647.jpg
/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.375922441482544 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8dad1cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:55:47.421786
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_34_10647.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_24_9639.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_44_10647.jpg', '/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_34_10647.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_24_9639.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_14_9658.jpg
/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_44_10647.jpg
/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.5262162685394287 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d702cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:56:02.967169
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_34_10647.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_24_9639.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_14_9658.jpg', '/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_44_10647.jpg', '/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_34_10647.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_24_9639.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_14_9658.jpg
/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_44_10647.jpg
/home/nano/Desktop/images/17082025/21/54/image_17082025_21_54_34_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.060873031616211 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa22aecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:56:17.559418
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_56_04_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_44_9641.jpg', '/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_34_10648.jpg', '/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_24_9656.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_56_04_10674.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_54_9639.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_44_9641.jpg
/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_34_10648.jpg
/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_24_9656.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_56_04_10674.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_54_9639.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2786431312561035 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b09fcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:56:32.595457
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_56_04_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_44_9641.jpg', '/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_34_10648.jpg', '/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_24_9656.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_56_04_10674.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_54_9639.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_44_9641.jpg
/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_34_10648.jpg
/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_24_9656.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_56_04_10674.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_54_9639.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.452570676803589 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d6c9cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:56:47.538009
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_56_04_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_44_9641.jpg', '/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_34_10648.jpg', '/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_24_9656.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_56_04_10674.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_54_9639.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_44_9641.jpg
/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_34_10648.jpg
/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_24_9656.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_56_04_10674.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_54_9639.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4645767211914062 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4a6ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:57:03.399536
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_56_04_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_44_9641.jpg', '/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_34_10648.jpg', '/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_24_9656.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_56_04_10674.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_54_9639.jpg', '/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_44_9641.jpg
/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_34_10648.jpg
/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_24_9656.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_56_04_10674.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_54_9639.jpg
/home/nano/Desktop/images/17082025/21/55/image_17082025_21_55_44_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.3585622310638428 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faaaa1cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:57:17.657916
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_44_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/56/image_17082025_21_57_04_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_44_9651.jpg', '/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_34_10646.jpg', '/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_24_9640.jpg', '/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_14_9655.jpg', '/home/nano/Desktop/images/17082025/21/56/image_17082025_21_57_04_10647.jpg', '/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_44_9651.jpg
/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_34_10646.jpg
/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_24_9640.jpg
/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_14_9655.jpg
/home/nano/Desktop/images/17082025/21/56/image_17082025_21_57_04_10647.jpg
/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2487256526947021 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d19bcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:57:32.658611
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_44_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/56/image_17082025_21_57_04_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_44_9651.jpg', '/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_34_10646.jpg', '/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_24_9640.jpg', '/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_14_9655.jpg', '/home/nano/Desktop/images/17082025/21/56/image_17082025_21_57_04_10647.jpg', '/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_44_9651.jpg
/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_34_10646.jpg
/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_24_9640.jpg
/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_14_9655.jpg
/home/nano/Desktop/images/17082025/21/56/image_17082025_21_57_04_10647.jpg
/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.7308759689331055 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7958bcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:57:47.668070
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_44_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/56/image_17082025_21_57_04_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_44_9651.jpg', '/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_34_10646.jpg', '/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_24_9640.jpg', '/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_14_9655.jpg', '/home/nano/Desktop/images/17082025/21/56/image_17082025_21_57_04_10647.jpg', '/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_44_9651.jpg
/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_34_10646.jpg
/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_24_9640.jpg
/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_14_9655.jpg
/home/nano/Desktop/images/17082025/21/56/image_17082025_21_57_04_10647.jpg
/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.3102185726165771 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9ea9cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:58:02.287989
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_44_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_34_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/56/image_17082025_21_57_04_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_44_9651.jpg', '/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_34_10646.jpg', '/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_24_9640.jpg', '/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_14_9655.jpg', '/home/nano/Desktop/images/17082025/21/56/image_17082025_21_57_04_10647.jpg', '/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_44_9651.jpg
/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_34_10646.jpg
/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_24_9640.jpg
/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_14_9655.jpg
/home/nano/Desktop/images/17082025/21/56/image_17082025_21_57_04_10647.jpg
/home/nano/Desktop/images/17082025/21/56/image_17082025_21_56_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.6860580444335938 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84c4ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:58:46.807012
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_44_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_34_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_25_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/21/57/image_17082025_21_58_04_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_44_9653.jpg', '/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_34_9655.jpg', '/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_25_10649.jpg', '/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_14_9663.jpg', '/home/nano/Desktop/images/17082025/21/57/image_17082025_21_58_04_10672.jpg', '/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_44_9653.jpg
/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_34_9655.jpg
/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_25_10649.jpg
/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_14_9663.jpg
/home/nano/Desktop/images/17082025/21/57/image_17082025_21_58_04_10672.jpg
/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.44437575340271 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f819cfcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:59:02.929881
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_44_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_34_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_25_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/21/57/image_17082025_21_58_04_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_44_9653.jpg', '/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_34_9655.jpg', '/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_25_10649.jpg', '/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_14_9663.jpg', '/home/nano/Desktop/images/17082025/21/57/image_17082025_21_58_04_10672.jpg', '/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_44_9653.jpg
/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_34_9655.jpg
/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_25_10649.jpg
/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_14_9663.jpg
/home/nano/Desktop/images/17082025/21/57/image_17082025_21_58_04_10672.jpg
/home/nano/Desktop/images/17082025/21/57/image_17082025_21_57_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.4514126777648926 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7e59cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:59:16.915692
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_14_9665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/58/image_17082025_21_59_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_24_10648.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_14_9665.jpg', '/home/nano/Desktop/images/17082025/21/58/image_17082025_21_59_04_9653.jpg', '/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_34_9640.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_24_10648.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_14_9665.jpg
/home/nano/Desktop/images/17082025/21/58/image_17082025_21_59_04_9653.jpg
/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.34562611579895 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa91ffcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:59:31.907588
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_14_9665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/58/image_17082025_21_59_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_24_10648.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_14_9665.jpg', '/home/nano/Desktop/images/17082025/21/58/image_17082025_21_59_04_9653.jpg', '/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_34_9640.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_24_10648.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_14_9665.jpg
/home/nano/Desktop/images/17082025/21/58/image_17082025_21_59_04_9653.jpg
/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.227675437927246 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8413dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 21:59:46.924081
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_14_9665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/58/image_17082025_21_59_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_24_10648.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_14_9665.jpg', '/home/nano/Desktop/images/17082025/21/58/image_17082025_21_59_04_9653.jpg', '/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_34_9640.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_24_10648.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_14_9665.jpg
/home/nano/Desktop/images/17082025/21/58/image_17082025_21_59_04_9653.jpg
/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.174494981765747 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa5d7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:00:02.500672
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_14_9665.jpg', 2), ('/home/nano/Desktop/images/17082025/21/58/image_17082025_21_59_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_34_9640.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_24_10648.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_14_9665.jpg', '/home/nano/Desktop/images/17082025/21/58/image_17082025_21_59_04_9653.jpg', '/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_34_9640.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_24_10648.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_14_9665.jpg
/home/nano/Desktop/images/17082025/21/58/image_17082025_21_59_04_9653.jpg
/home/nano/Desktop/images/17082025/21/58/image_17082025_21_58_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2816250324249268 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa20fecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:00:17.055058
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_22_00_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg', '/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_14_9660.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_22_00_04_9649.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_54_10649.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_24_10648.jpg
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_14_9660.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_22_00_04_9649.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_54_10649.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.5222938060760498 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6466cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:00:32.012904
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_22_00_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg', '/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_14_9660.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_22_00_04_9649.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_54_10649.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_24_10648.jpg
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_14_9660.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_22_00_04_9649.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_54_10649.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8168189525604248 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1f93c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:00:47.009458
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_22_00_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg', '/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_14_9660.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_22_00_04_9649.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_54_10649.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_24_10648.jpg
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_14_9660.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_22_00_04_9649.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_54_10649.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.7356667518615723 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9717ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:01:02.882700
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_22_00_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg', '/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_14_9660.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_22_00_04_9649.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_54_10649.jpg', '/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_24_10648.jpg
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_14_9660.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_22_00_04_9649.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_54_10649.jpg
/home/nano/Desktop/images/17082025/21/59/image_17082025_21_59_44_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.6940996646881104 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a9d6cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:01:17.107788
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_01_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_34_9639.jpg', '/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/00/image_17082025_22_01_04_9666.jpg', '/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_54_10649.jpg', '/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_44_9640.jpg
/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_34_9639.jpg
/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_24_10648.jpg
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_01_04_9666.jpg
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_54_10649.jpg
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.769190549850464 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e6b8cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:01:32.149531
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_01_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_34_9639.jpg', '/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/00/image_17082025_22_01_04_9666.jpg', '/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_54_10649.jpg', '/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_44_9640.jpg
/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_34_9639.jpg
/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_24_10648.jpg
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_01_04_9666.jpg
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_54_10649.jpg
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4215807914733887 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c507cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:01:47.129069
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_01_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_34_9639.jpg', '/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/00/image_17082025_22_01_04_9666.jpg', '/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_54_10649.jpg', '/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_44_9640.jpg
/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_34_9639.jpg
/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_24_10648.jpg
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_01_04_9666.jpg
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_54_10649.jpg
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.965348482131958 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9fa81cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:02:02.764294
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_01_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_54_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_34_9639.jpg', '/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/00/image_17082025_22_01_04_9666.jpg', '/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_54_10649.jpg', '/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_44_9640.jpg
/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_34_9639.jpg
/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_24_10648.jpg
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_01_04_9666.jpg
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_54_10649.jpg
/home/nano/Desktop/images/17082025/22/00/image_17082025_22_00_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4521064758300781 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2066cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:02:17.255840
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_15_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/22/01/image_17082025_22_02_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_54_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_34_9639.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_24_9641.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_15_10667.jpg', '/home/nano/Desktop/images/17082025/22/01/image_17082025_22_02_04_9646.jpg', '/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_54_10667.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_34_9639.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_24_9641.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_15_10667.jpg
/home/nano/Desktop/images/17082025/22/01/image_17082025_22_02_04_9646.jpg
/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_54_10667.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8875732421875 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82e6ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:02:32.245811
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_15_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/22/01/image_17082025_22_02_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_54_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_34_9639.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_24_9641.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_15_10667.jpg', '/home/nano/Desktop/images/17082025/22/01/image_17082025_22_02_04_9646.jpg', '/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_54_10667.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_34_9639.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_24_9641.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_15_10667.jpg
/home/nano/Desktop/images/17082025/22/01/image_17082025_22_02_04_9646.jpg
/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_54_10667.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2139787673950195 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e0efcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:02:47.214011
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_15_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/22/01/image_17082025_22_02_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_54_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_34_9639.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_24_9641.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_15_10667.jpg', '/home/nano/Desktop/images/17082025/22/01/image_17082025_22_02_04_9646.jpg', '/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_54_10667.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_34_9639.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_24_9641.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_15_10667.jpg
/home/nano/Desktop/images/17082025/22/01/image_17082025_22_02_04_9646.jpg
/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_54_10667.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8823699951171875 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb24f8cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:03:03.031179
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_15_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/22/01/image_17082025_22_02_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_54_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_34_9639.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_24_9641.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_15_10667.jpg', '/home/nano/Desktop/images/17082025/22/01/image_17082025_22_02_04_9646.jpg', '/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_54_10667.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_34_9639.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_24_9641.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_15_10667.jpg
/home/nano/Desktop/images/17082025/22/01/image_17082025_22_02_04_9646.jpg
/home/nano/Desktop/images/17082025/22/01/image_17082025_22_01_54_10667.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.0226192474365234 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78a49cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:03:17.350910
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_14_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_03_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_14_10672.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_03_04_9649.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_54_9637.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_24_9639.jpg
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_14_10672.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_03_04_9649.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_54_9637.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.7445969581604004 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9fd45cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:03:32.321139
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_14_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_03_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_14_10672.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_03_04_9649.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_54_9637.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_24_9639.jpg
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_14_10672.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_03_04_9649.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_54_9637.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.1901233196258545 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab189cf8>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:03:47.337908
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_14_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_03_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_14_10672.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_03_04_9649.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_54_9637.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_24_9639.jpg
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_14_10672.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_03_04_9649.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_54_9637.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8287534713745117 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa910ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:04:03.144417
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_14_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_03_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_14_10672.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_03_04_9649.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_54_9637.jpg', '/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_24_9639.jpg
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_14_10672.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_03_04_9649.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_54_9637.jpg
/home/nano/Desktop/images/17082025/22/02/image_17082025_22_02_44_10665.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.438096523284912 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ce64c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:04:17.480582
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_24_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_14_10688.jpg', 2), ('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_04_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_54_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_34_9641.jpg', '/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_24_9654.jpg', '/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_14_10688.jpg', '/home/nano/Desktop/images/17082025/22/03/image_17082025_22_04_04_9647.jpg', '/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_54_9663.jpg', '/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_34_9641.jpg
/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_24_9654.jpg
/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_14_10688.jpg
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_04_04_9647.jpg
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_54_9663.jpg
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.419463872909546 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91f4fcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:04:32.471781
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_24_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_14_10688.jpg', 2), ('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_04_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_54_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_34_9641.jpg', '/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_24_9654.jpg', '/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_14_10688.jpg', '/home/nano/Desktop/images/17082025/22/03/image_17082025_22_04_04_9647.jpg', '/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_54_9663.jpg', '/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_34_9641.jpg
/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_24_9654.jpg
/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_14_10688.jpg
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_04_04_9647.jpg
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_54_9663.jpg
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4765889644622803 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e550cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:04:47.455278
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_24_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_14_10688.jpg', 2), ('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_04_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_54_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_34_9641.jpg', '/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_24_9654.jpg', '/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_14_10688.jpg', '/home/nano/Desktop/images/17082025/22/03/image_17082025_22_04_04_9647.jpg', '/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_54_9663.jpg', '/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_34_9641.jpg
/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_24_9654.jpg
/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_14_10688.jpg
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_04_04_9647.jpg
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_54_9663.jpg
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.4039747714996338 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9029cc18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:05:03.167661
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_24_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_14_10688.jpg', 2), ('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_04_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_54_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_34_9641.jpg', '/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_24_9654.jpg', '/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_14_10688.jpg', '/home/nano/Desktop/images/17082025/22/03/image_17082025_22_04_04_9647.jpg', '/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_54_9663.jpg', '/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_34_9641.jpg
/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_24_9654.jpg
/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_14_10688.jpg
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_04_04_9647.jpg
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_54_9663.jpg
/home/nano/Desktop/images/17082025/22/03/image_17082025_22_03_44_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4110891819000244 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa88cacc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:05:17.569402
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_34_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_14_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/22/04/image_17082025_22_05_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_44_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_44_10649.jpg', '/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_34_9655.jpg', '/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_14_10673.jpg', '/home/nano/Desktop/images/17082025/22/04/image_17082025_22_05_04_9643.jpg', '/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_44_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_44_10649.jpg
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_34_9655.jpg
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_24_9638.jpg
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_14_10673.jpg
/home/nano/Desktop/images/17082025/22/04/image_17082025_22_05_04_9643.jpg
/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_44_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.4595589637756348 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2982cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:05:32.558538
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_34_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_14_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/22/04/image_17082025_22_05_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_44_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_44_10649.jpg', '/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_34_9655.jpg', '/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_14_10673.jpg', '/home/nano/Desktop/images/17082025/22/04/image_17082025_22_05_04_9643.jpg', '/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_44_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_44_10649.jpg
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_34_9655.jpg
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_24_9638.jpg
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_14_10673.jpg
/home/nano/Desktop/images/17082025/22/04/image_17082025_22_05_04_9643.jpg
/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_44_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.22210431098938 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f879fbcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:05:47.590518
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_34_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_14_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/22/04/image_17082025_22_05_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_44_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_44_10649.jpg', '/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_34_9655.jpg', '/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_14_10673.jpg', '/home/nano/Desktop/images/17082025/22/04/image_17082025_22_05_04_9643.jpg', '/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_44_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_44_10649.jpg
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_34_9655.jpg
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_24_9638.jpg
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_14_10673.jpg
/home/nano/Desktop/images/17082025/22/04/image_17082025_22_05_04_9643.jpg
/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_44_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.14750075340271 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0e9acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:06:03.241177
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_34_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_14_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/22/04/image_17082025_22_05_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_44_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_44_10649.jpg', '/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_34_9655.jpg', '/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_14_10673.jpg', '/home/nano/Desktop/images/17082025/22/04/image_17082025_22_05_04_9643.jpg', '/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_44_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_44_10649.jpg
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_34_9655.jpg
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_24_9638.jpg
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_14_10673.jpg
/home/nano/Desktop/images/17082025/22/04/image_17082025_22_05_04_9643.jpg
/home/nano/Desktop/images/17082025/22/04/image_17082025_22_04_44_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.6949288845062256 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9588dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:06:17.677585
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_06_05_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_34_10648.jpg', '/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_14_9653.jpg', '/home/nano/Desktop/images/17082025/22/05/image_17082025_22_06_05_10666.jpg', '/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_44_9639.jpg
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_34_10648.jpg
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_24_9639.jpg
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_14_9653.jpg
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_06_05_10666.jpg
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.0598537921905518 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d8dacc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:06:32.674770
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_06_05_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_34_10648.jpg', '/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_14_9653.jpg', '/home/nano/Desktop/images/17082025/22/05/image_17082025_22_06_05_10666.jpg', '/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_44_9639.jpg
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_34_10648.jpg
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_24_9639.jpg
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_14_9653.jpg
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_06_05_10666.jpg
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3028252124786377 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4665cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:06:47.669752
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_06_05_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_34_10648.jpg', '/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_14_9653.jpg', '/home/nano/Desktop/images/17082025/22/05/image_17082025_22_06_05_10666.jpg', '/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_44_9639.jpg
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_34_10648.jpg
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_24_9639.jpg
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_14_9653.jpg
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_06_05_10666.jpg
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6698110103607178 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b938c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:07:02.462845
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_06_05_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_34_10648.jpg', '/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_14_9653.jpg', '/home/nano/Desktop/images/17082025/22/05/image_17082025_22_06_05_10666.jpg', '/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_44_9639.jpg
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_34_10648.jpg
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_24_9639.jpg
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_14_9653.jpg
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_06_05_10666.jpg
/home/nano/Desktop/images/17082025/22/05/image_17082025_22_05_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.434551239013672 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91c9dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:07:16.783579
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_07_04_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_44_9637.jpg', '/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_34_10649.jpg', '/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_14_9657.jpg', '/home/nano/Desktop/images/17082025/22/06/image_17082025_22_07_04_10648.jpg', '/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_44_9637.jpg
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_34_10649.jpg
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_24_9638.jpg
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_14_9657.jpg
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_07_04_10648.jpg
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.242457628250122 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76fd2cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:07:31.876357
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_07_04_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_44_9637.jpg', '/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_34_10649.jpg', '/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_14_9657.jpg', '/home/nano/Desktop/images/17082025/22/06/image_17082025_22_07_04_10648.jpg', '/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_44_9637.jpg
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_34_10649.jpg
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_24_9638.jpg
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_14_9657.jpg
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_07_04_10648.jpg
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4199306964874268 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95a5ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:07:46.822046
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_07_04_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_44_9637.jpg', '/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_34_10649.jpg', '/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_14_9657.jpg', '/home/nano/Desktop/images/17082025/22/06/image_17082025_22_07_04_10648.jpg', '/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_44_9637.jpg
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_34_10649.jpg
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_24_9638.jpg
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_14_9657.jpg
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_07_04_10648.jpg
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.5236382484436035 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa758acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:08:02.471491
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_07_04_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_44_9637.jpg', '/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_34_10649.jpg', '/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_14_9657.jpg', '/home/nano/Desktop/images/17082025/22/06/image_17082025_22_07_04_10648.jpg', '/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_44_9637.jpg
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_34_10649.jpg
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_24_9638.jpg
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_14_9657.jpg
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_07_04_10648.jpg
/home/nano/Desktop/images/17082025/22/06/image_17082025_22_06_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.985640287399292 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac751cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:08:16.928051
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_44_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_14_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_08_04_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_54_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_44_9644.jpg', '/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_24_9641.jpg', '/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_14_9664.jpg', '/home/nano/Desktop/images/17082025/22/07/image_17082025_22_08_04_10652.jpg', '/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_54_9659.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_44_9644.jpg
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_34_10650.jpg
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_24_9641.jpg
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_14_9664.jpg
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_08_04_10652.jpg
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_54_9659.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2500782012939453 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb507ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:08:31.933114
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_44_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_14_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_08_04_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_54_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_44_9644.jpg', '/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_24_9641.jpg', '/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_14_9664.jpg', '/home/nano/Desktop/images/17082025/22/07/image_17082025_22_08_04_10652.jpg', '/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_54_9659.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_44_9644.jpg
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_34_10650.jpg
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_24_9641.jpg
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_14_9664.jpg
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_08_04_10652.jpg
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_54_9659.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4716274738311768 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8cfdbcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:08:46.929531
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_44_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_14_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_08_04_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_54_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_44_9644.jpg', '/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_24_9641.jpg', '/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_14_9664.jpg', '/home/nano/Desktop/images/17082025/22/07/image_17082025_22_08_04_10652.jpg', '/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_54_9659.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_44_9644.jpg
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_34_10650.jpg
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_24_9641.jpg
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_14_9664.jpg
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_08_04_10652.jpg
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_54_9659.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2559938430786133 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95653cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:09:03.219313
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_44_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_14_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_08_04_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_54_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_44_9644.jpg', '/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_24_9641.jpg', '/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_14_9664.jpg', '/home/nano/Desktop/images/17082025/22/07/image_17082025_22_08_04_10652.jpg', '/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_54_9659.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_44_9644.jpg
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_34_10650.jpg
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_24_9641.jpg
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_14_9664.jpg
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_08_04_10652.jpg
/home/nano/Desktop/images/17082025/22/07/image_17082025_22_07_54_9659.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.211374282836914 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89e32cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:09:17.027969
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_25_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_09_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_55_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_34_9643.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_25_10648.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_14_9663.jpg', '/home/nano/Desktop/images/17082025/22/08/image_17082025_22_09_04_9647.jpg', '/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_55_10665.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_34_9643.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_25_10648.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_14_9663.jpg
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_09_04_9647.jpg
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_55_10665.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2317490577697754 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d62dc18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:09:32.085500
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_25_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_09_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_55_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_34_9643.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_25_10648.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_14_9663.jpg', '/home/nano/Desktop/images/17082025/22/08/image_17082025_22_09_04_9647.jpg', '/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_55_10665.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_34_9643.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_25_10648.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_14_9663.jpg
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_09_04_9647.jpg
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_55_10665.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6764259338378906 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2ba3cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:09:47.037293
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_25_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_09_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_55_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_34_9643.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_25_10648.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_14_9663.jpg', '/home/nano/Desktop/images/17082025/22/08/image_17082025_22_09_04_9647.jpg', '/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_55_10665.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_34_9643.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_25_10648.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_14_9663.jpg
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_09_04_9647.jpg
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_55_10665.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2354092597961426 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ec5ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:10:02.775214
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_25_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_09_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_55_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_34_9643.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_25_10648.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_14_9663.jpg', '/home/nano/Desktop/images/17082025/22/08/image_17082025_22_09_04_9647.jpg', '/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_55_10665.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_34_9643.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_25_10648.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_14_9663.jpg
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_09_04_9647.jpg
/home/nano/Desktop/images/17082025/22/08/image_17082025_22_08_55_10665.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2508585453033447 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c8fecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:10:17.140840
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_10_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_54_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_44_9638.jpg', '/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_24_10666.jpg', '/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_14_9655.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_10_04_9661.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_54_10650.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_44_9638.jpg
/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_24_10666.jpg
/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_14_9655.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_10_04_9661.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_54_10650.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2006633281707764 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98a7ec18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:10:32.143145
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_10_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_54_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_44_9638.jpg', '/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_24_10666.jpg', '/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_14_9655.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_10_04_9661.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_54_10650.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_44_9638.jpg
/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_24_10666.jpg
/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_14_9655.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_10_04_9661.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_54_10650.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4799046516418457 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb484dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:10:47.136357
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_10_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_54_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_44_9638.jpg', '/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_24_10666.jpg', '/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_14_9655.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_10_04_9661.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_54_10650.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_44_9638.jpg
/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_24_10666.jpg
/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_14_9655.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_10_04_9661.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_54_10650.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.891303300857544 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98b00cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:11:02.969686
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_10_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_54_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_44_9638.jpg', '/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_24_10666.jpg', '/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_14_9655.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_10_04_9661.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_54_10650.jpg', '/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_44_9638.jpg
/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_24_10666.jpg
/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_14_9655.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_10_04_9661.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_54_10650.jpg
/home/nano/Desktop/images/17082025/22/09/image_17082025_22_09_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.6958472728729248 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9103ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:11:17.222977
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_14_9670.jpg', 2), ('/home/nano/Desktop/images/17082025/22/10/image_17082025_22_11_04_9689.jpg', 2), ('/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_34_9637.jpg', '/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_14_9670.jpg', '/home/nano/Desktop/images/17082025/22/10/image_17082025_22_11_04_9689.jpg', '/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_44_9639.jpg
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_34_9637.jpg
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_24_10648.jpg
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_14_9670.jpg
/home/nano/Desktop/images/17082025/22/10/image_17082025_22_11_04_9689.jpg
/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.71964430809021 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0911cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:11:32.250288
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_14_9670.jpg', 2), ('/home/nano/Desktop/images/17082025/22/10/image_17082025_22_11_04_9689.jpg', 2), ('/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_34_9637.jpg', '/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_14_9670.jpg', '/home/nano/Desktop/images/17082025/22/10/image_17082025_22_11_04_9689.jpg', '/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_44_9639.jpg
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_34_9637.jpg
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_24_10648.jpg
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_14_9670.jpg
/home/nano/Desktop/images/17082025/22/10/image_17082025_22_11_04_9689.jpg
/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.384521484375 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa302dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:11:47.260571
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_14_9670.jpg', 2), ('/home/nano/Desktop/images/17082025/22/10/image_17082025_22_11_04_9689.jpg', 2), ('/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_34_9637.jpg', '/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_14_9670.jpg', '/home/nano/Desktop/images/17082025/22/10/image_17082025_22_11_04_9689.jpg', '/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_44_9639.jpg
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_34_9637.jpg
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_24_10648.jpg
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_14_9670.jpg
/home/nano/Desktop/images/17082025/22/10/image_17082025_22_11_04_9689.jpg
/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.419260263442993 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80545c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:12:02.863994
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_14_9670.jpg', 2), ('/home/nano/Desktop/images/17082025/22/10/image_17082025_22_11_04_9689.jpg', 2), ('/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_34_9637.jpg', '/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_14_9670.jpg', '/home/nano/Desktop/images/17082025/22/10/image_17082025_22_11_04_9689.jpg', '/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_44_9639.jpg
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_34_9637.jpg
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_24_10648.jpg
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_14_9670.jpg
/home/nano/Desktop/images/17082025/22/10/image_17082025_22_11_04_9689.jpg
/home/nano/Desktop/images/17082025/22/10/image_17082025_22_10_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.1765804290771484 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91c50cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:12:17.358145
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_24_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_12_04_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_24_10667.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_14_9657.jpg', '/home/nano/Desktop/images/17082025/22/11/image_17082025_22_12_04_9639.jpg', '/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_54_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_24_10667.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_14_9657.jpg
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_12_04_9639.jpg
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_54_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.5679199695587158 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e682cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:12:32.370184
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_24_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_12_04_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_24_10667.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_14_9657.jpg', '/home/nano/Desktop/images/17082025/22/11/image_17082025_22_12_04_9639.jpg', '/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_54_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_24_10667.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_14_9657.jpg
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_12_04_9639.jpg
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_54_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8545491695404053 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4439cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:12:47.346474
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_24_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_12_04_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_24_10667.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_14_9657.jpg', '/home/nano/Desktop/images/17082025/22/11/image_17082025_22_12_04_9639.jpg', '/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_54_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_24_10667.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_14_9657.jpg
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_12_04_9639.jpg
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_54_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.245129108428955 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb48ddcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:13:03.208063
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_24_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_12_04_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_24_10667.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_14_9657.jpg', '/home/nano/Desktop/images/17082025/22/11/image_17082025_22_12_04_9639.jpg', '/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_54_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_24_10667.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_14_9657.jpg
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_12_04_9639.jpg
/home/nano/Desktop/images/17082025/22/11/image_17082025_22_11_54_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.9431867599487305 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7dcffcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:13:17.462543
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_15_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_13_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_54_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_44_10649.jpg', '/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_15_10666.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_13_04_9652.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_54_9650.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_44_10649.jpg
/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_15_10666.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_13_04_9652.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_54_9650.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.0457448959350586 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96928cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:13:32.443443
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_15_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_13_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_54_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_44_10649.jpg', '/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_15_10666.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_13_04_9652.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_54_9650.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_44_10649.jpg
/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_15_10666.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_13_04_9652.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_54_9650.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.3361170291900635 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fafbb1cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:13:47.456344
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_15_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_13_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_54_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_44_10649.jpg', '/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_15_10666.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_13_04_9652.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_54_9650.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_44_10649.jpg
/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_15_10666.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_13_04_9652.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_54_9650.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2174553871154785 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95e4acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:14:03.352940
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_15_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_13_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_54_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_44_10649.jpg', '/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_15_10666.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_13_04_9652.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_54_9650.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg', '/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_44_10649.jpg
/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_15_10666.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_13_04_9652.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_54_9650.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_45_10649.jpg
/home/nano/Desktop/images/17082025/22/12/image_17082025_22_12_34_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.2830824851989746 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa68f8cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:14:17.620735
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_24_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_14_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/22/13/image_17082025_22_14_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_34_9654.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_24_9645.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_14_10672.jpg', '/home/nano/Desktop/images/17082025/22/13/image_17082025_22_14_04_9649.jpg', '/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_54_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_34_9654.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_24_9645.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_14_10672.jpg
/home/nano/Desktop/images/17082025/22/13/image_17082025_22_14_04_9649.jpg
/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_54_9656.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.7704517841339111 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89017cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:14:32.578635
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_24_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_14_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/22/13/image_17082025_22_14_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_34_9654.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_24_9645.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_14_10672.jpg', '/home/nano/Desktop/images/17082025/22/13/image_17082025_22_14_04_9649.jpg', '/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_54_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_34_9654.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_24_9645.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_14_10672.jpg
/home/nano/Desktop/images/17082025/22/13/image_17082025_22_14_04_9649.jpg
/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_54_9656.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1287157535552979 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9acffcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:14:47.591929
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_24_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_14_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/22/13/image_17082025_22_14_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_34_9654.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_24_9645.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_14_10672.jpg', '/home/nano/Desktop/images/17082025/22/13/image_17082025_22_14_04_9649.jpg', '/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_54_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_34_9654.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_24_9645.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_14_10672.jpg
/home/nano/Desktop/images/17082025/22/13/image_17082025_22_14_04_9649.jpg
/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_54_9656.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.7193896770477295 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f5bccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:15:03.262054
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_34_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_24_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_14_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/22/13/image_17082025_22_14_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_34_9654.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_24_9645.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_14_10672.jpg', '/home/nano/Desktop/images/17082025/22/13/image_17082025_22_14_04_9649.jpg', '/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_54_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_34_9654.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_24_9645.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_14_10672.jpg
/home/nano/Desktop/images/17082025/22/13/image_17082025_22_14_04_9649.jpg
/home/nano/Desktop/images/17082025/22/13/image_17082025_22_13_54_9656.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.644515037536621 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b079cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:15:17.696088
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_15_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_54_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_24_9642.jpg', '/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_14_10669.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_15_04_9649.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_54_9645.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_34_9640.jpg
/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_24_9642.jpg
/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_14_10669.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_15_04_9649.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_54_9645.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.8137521743774414 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faaf8bcf8>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:15:32.694418
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_15_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_54_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_24_9642.jpg', '/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_14_10669.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_15_04_9649.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_54_9645.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_34_9640.jpg
/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_24_9642.jpg
/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_14_10669.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_15_04_9649.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_54_9645.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.34665679931640625 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97ae7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:15:47.712496
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_15_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_54_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_24_9642.jpg', '/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_14_10669.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_15_04_9649.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_54_9645.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_34_9640.jpg
/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_24_9642.jpg
/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_14_10669.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_15_04_9649.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_54_9645.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8823204040527344 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81398c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:16:02.161805
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_15_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_54_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_24_9642.jpg', '/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_14_10669.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_15_04_9649.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_54_9645.jpg', '/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_34_9640.jpg
/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_24_9642.jpg
/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_14_10669.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_15_04_9649.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_54_9645.jpg
/home/nano/Desktop/images/17082025/22/14/image_17082025_22_14_44_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2262589931488037 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f779d4cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:16:16.845942
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_35_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/22/15/image_17082025_22_16_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_44_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_44_9638.jpg', '/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_35_10647.jpg', '/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_14_10671.jpg', '/home/nano/Desktop/images/17082025/22/15/image_17082025_22_16_04_9666.jpg', '/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_44_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_44_9638.jpg
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_35_10647.jpg
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_24_9638.jpg
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_14_10671.jpg
/home/nano/Desktop/images/17082025/22/15/image_17082025_22_16_04_9666.jpg
/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_44_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.268817901611328 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f907b1cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:16:31.821529
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_35_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/22/15/image_17082025_22_16_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_44_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_44_9638.jpg', '/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_35_10647.jpg', '/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_14_10671.jpg', '/home/nano/Desktop/images/17082025/22/15/image_17082025_22_16_04_9666.jpg', '/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_44_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_44_9638.jpg
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_35_10647.jpg
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_24_9638.jpg
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_14_10671.jpg
/home/nano/Desktop/images/17082025/22/15/image_17082025_22_16_04_9666.jpg
/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_44_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.495227098464966 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77f59cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:16:46.819760
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_35_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/22/15/image_17082025_22_16_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_44_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_44_9638.jpg', '/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_35_10647.jpg', '/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_14_10671.jpg', '/home/nano/Desktop/images/17082025/22/15/image_17082025_22_16_04_9666.jpg', '/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_44_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_44_9638.jpg
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_35_10647.jpg
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_24_9638.jpg
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_14_10671.jpg
/home/nano/Desktop/images/17082025/22/15/image_17082025_22_16_04_9666.jpg
/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_44_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.3802297115325928 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89086cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:17:02.583086
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_35_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/22/15/image_17082025_22_16_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_44_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_44_9638.jpg', '/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_35_10647.jpg', '/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_14_10671.jpg', '/home/nano/Desktop/images/17082025/22/15/image_17082025_22_16_04_9666.jpg', '/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_44_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_44_9638.jpg
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_35_10647.jpg
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_24_9638.jpg
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_14_10671.jpg
/home/nano/Desktop/images/17082025/22/15/image_17082025_22_16_04_9666.jpg
/home/nano/Desktop/images/17082025/22/15/image_17082025_22_15_44_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.3354668617248535 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0566cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:17:16.920798
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_24_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_17_04_10654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_34_10647.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_24_9657.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_14_9663.jpg', '/home/nano/Desktop/images/17082025/22/16/image_17082025_22_17_04_10654.jpg', '/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_34_10647.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_24_9657.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_14_9663.jpg
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_17_04_10654.jpg
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.275998592376709 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2b0ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:17:31.932369
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_24_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_17_04_10654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_34_10647.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_24_9657.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_14_9663.jpg', '/home/nano/Desktop/images/17082025/22/16/image_17082025_22_17_04_10654.jpg', '/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_34_10647.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_24_9657.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_14_9663.jpg
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_17_04_10654.jpg
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4627649784088135 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7deaacc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:17:46.996525
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_24_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_17_04_10654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_34_10647.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_24_9657.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_14_9663.jpg', '/home/nano/Desktop/images/17082025/22/16/image_17082025_22_17_04_10654.jpg', '/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_34_10647.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_24_9657.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_14_9663.jpg
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_17_04_10654.jpg
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.0798490047454834 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88491cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:18:02.650778
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_24_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_17_04_10654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_34_10647.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_24_9657.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_14_9663.jpg', '/home/nano/Desktop/images/17082025/22/16/image_17082025_22_17_04_10654.jpg', '/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_34_10647.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_24_9657.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_14_9663.jpg
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_17_04_10654.jpg
/home/nano/Desktop/images/17082025/22/16/image_17082025_22_16_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2453386783599854 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ed47c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:18:17.118182
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_14_9681.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_18_04_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg', '/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_14_9681.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_18_04_10672.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_54_9639.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_24_9638.jpg
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_14_9681.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_18_04_10672.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_54_9639.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.000041961669922 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0069cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:18:32.100093
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_14_9681.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_18_04_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg', '/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_14_9681.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_18_04_10672.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_54_9639.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_24_9638.jpg
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_14_9681.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_18_04_10672.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_54_9639.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2611358165740967 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f785b9cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:18:47.093044
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_14_9681.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_18_04_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg', '/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_14_9681.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_18_04_10672.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_54_9639.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_24_9638.jpg
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_14_9681.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_18_04_10672.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_54_9639.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8213756084442139 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa0d7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:19:03.148225
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_14_9681.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_18_04_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg', '/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_14_9681.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_18_04_10672.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_54_9639.jpg', '/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_24_9638.jpg
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_14_9681.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_18_04_10672.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_54_9639.jpg
/home/nano/Desktop/images/17082025/22/17/image_17082025_22_17_44_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2043688297271729 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f860cccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:19:17.186443
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_19_04_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_44_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_34_10648.jpg', '/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_24_9640.jpg', '/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_14_9658.jpg', '/home/nano/Desktop/images/17082025/22/18/image_17082025_22_19_04_10668.jpg', '/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_44_9661.jpg', '/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_34_10648.jpg
/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_24_9640.jpg
/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_14_9658.jpg
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_19_04_10668.jpg
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_44_9661.jpg
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.4744725227355957 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f792bacc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:19:32.198658
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_19_04_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_44_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_34_10648.jpg', '/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_24_9640.jpg', '/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_14_9658.jpg', '/home/nano/Desktop/images/17082025/22/18/image_17082025_22_19_04_10668.jpg', '/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_44_9661.jpg', '/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_34_10648.jpg
/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_24_9640.jpg
/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_14_9658.jpg
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_19_04_10668.jpg
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_44_9661.jpg
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.1991348266601562 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa600ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:19:47.197319
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_19_04_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_44_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_34_10648.jpg', '/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_24_9640.jpg', '/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_14_9658.jpg', '/home/nano/Desktop/images/17082025/22/18/image_17082025_22_19_04_10668.jpg', '/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_44_9661.jpg', '/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_34_10648.jpg
/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_24_9640.jpg
/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_14_9658.jpg
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_19_04_10668.jpg
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_44_9661.jpg
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.723111629486084 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d47dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:20:02.892658
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_19_04_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_44_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_34_10648.jpg', '/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_24_9640.jpg', '/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_14_9658.jpg', '/home/nano/Desktop/images/17082025/22/18/image_17082025_22_19_04_10668.jpg', '/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_44_9661.jpg', '/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_34_10648.jpg
/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_24_9640.jpg
/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_14_9658.jpg
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_19_04_10668.jpg
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_44_9661.jpg
/home/nano/Desktop/images/17082025/22/18/image_17082025_22_18_34_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.5951743125915527 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8c00cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:20:17.272183
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_34_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/19/image_17082025_22_20_04_10683.jpg', 2), ('/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_44_9637.jpg', '/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_34_10664.jpg', '/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_24_9642.jpg', '/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_14_9654.jpg', '/home/nano/Desktop/images/17082025/22/19/image_17082025_22_20_04_10683.jpg', '/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_54_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_44_9637.jpg
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_34_10664.jpg
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_24_9642.jpg
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_14_9654.jpg
/home/nano/Desktop/images/17082025/22/19/image_17082025_22_20_04_10683.jpg
/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_54_9656.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2552497386932373 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d245cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:20:32.291617
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_34_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/19/image_17082025_22_20_04_10683.jpg', 2), ('/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_44_9637.jpg', '/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_34_10664.jpg', '/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_24_9642.jpg', '/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_14_9654.jpg', '/home/nano/Desktop/images/17082025/22/19/image_17082025_22_20_04_10683.jpg', '/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_54_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_44_9637.jpg
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_34_10664.jpg
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_24_9642.jpg
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_14_9654.jpg
/home/nano/Desktop/images/17082025/22/19/image_17082025_22_20_04_10683.jpg
/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_54_9656.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.188555955886841 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c2bac18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:20:47.262054
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_34_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/19/image_17082025_22_20_04_10683.jpg', 2), ('/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_44_9637.jpg', '/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_34_10664.jpg', '/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_24_9642.jpg', '/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_14_9654.jpg', '/home/nano/Desktop/images/17082025/22/19/image_17082025_22_20_04_10683.jpg', '/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_54_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_44_9637.jpg
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_34_10664.jpg
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_24_9642.jpg
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_14_9654.jpg
/home/nano/Desktop/images/17082025/22/19/image_17082025_22_20_04_10683.jpg
/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_54_9656.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.298844575881958 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90dc4cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:21:02.968227
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_34_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/19/image_17082025_22_20_04_10683.jpg', 2), ('/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_44_9637.jpg', '/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_34_10664.jpg', '/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_24_9642.jpg', '/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_14_9654.jpg', '/home/nano/Desktop/images/17082025/22/19/image_17082025_22_20_04_10683.jpg', '/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_54_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_44_9637.jpg
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_34_10664.jpg
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_24_9642.jpg
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_14_9654.jpg
/home/nano/Desktop/images/17082025/22/19/image_17082025_22_20_04_10683.jpg
/home/nano/Desktop/images/17082025/22/19/image_17082025_22_19_54_9656.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8677139282226562 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6201cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:21:17.355555
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_21_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_55_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_44_9638.jpg', '/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_34_9637.jpg', '/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_24_10649.jpg', '/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_14_9660.jpg', '/home/nano/Desktop/images/17082025/22/20/image_17082025_22_21_04_9645.jpg', '/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_55_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_44_9638.jpg
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_34_9637.jpg
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_24_10649.jpg
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_14_9660.jpg
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_21_04_9645.jpg
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_55_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.321446418762207 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f910f8cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:21:32.353278
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_21_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_55_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_44_9638.jpg', '/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_34_9637.jpg', '/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_24_10649.jpg', '/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_14_9660.jpg', '/home/nano/Desktop/images/17082025/22/20/image_17082025_22_21_04_9645.jpg', '/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_55_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_44_9638.jpg
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_34_9637.jpg
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_24_10649.jpg
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_14_9660.jpg
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_21_04_9645.jpg
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_55_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.7238950729370117 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4d37cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:21:47.354324
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_21_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_55_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_44_9638.jpg', '/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_34_9637.jpg', '/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_24_10649.jpg', '/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_14_9660.jpg', '/home/nano/Desktop/images/17082025/22/20/image_17082025_22_21_04_9645.jpg', '/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_55_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_44_9638.jpg
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_34_9637.jpg
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_24_10649.jpg
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_14_9660.jpg
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_21_04_9645.jpg
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_55_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.0153086185455322 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95811c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:22:02.940537
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_21_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_55_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_44_9638.jpg', '/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_34_9637.jpg', '/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_24_10649.jpg', '/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_14_9660.jpg', '/home/nano/Desktop/images/17082025/22/20/image_17082025_22_21_04_9645.jpg', '/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_55_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_44_9638.jpg
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_34_9637.jpg
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_24_10649.jpg
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_14_9660.jpg
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_21_04_9645.jpg
/home/nano/Desktop/images/17082025/22/20/image_17082025_22_20_55_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.8050992488861084 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9942dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:22:17.486797
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_22_04_9670.jpg', 2), ('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_44_9641.jpg', '/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_14_9658.jpg', '/home/nano/Desktop/images/17082025/22/21/image_17082025_22_22_04_9670.jpg', '/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_44_9641.jpg
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_34_9640.jpg
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_24_10648.jpg
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_14_9658.jpg
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_22_04_9670.jpg
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.466550588607788 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a625cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:22:32.462905
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_22_04_9670.jpg', 2), ('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_44_9641.jpg', '/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_14_9658.jpg', '/home/nano/Desktop/images/17082025/22/21/image_17082025_22_22_04_9670.jpg', '/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_44_9641.jpg
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_34_9640.jpg
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_24_10648.jpg
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_14_9658.jpg
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_22_04_9670.jpg
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.42665958404541 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bb79cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:22:47.472600
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_22_04_9670.jpg', 2), ('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_44_9641.jpg', '/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_14_9658.jpg', '/home/nano/Desktop/images/17082025/22/21/image_17082025_22_22_04_9670.jpg', '/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_44_9641.jpg
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_34_9640.jpg
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_24_10648.jpg
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_14_9658.jpg
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_22_04_9670.jpg
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9768903255462646 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77540cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:23:03.043345
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_22_04_9670.jpg', 2), ('/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_44_9641.jpg', '/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_14_9658.jpg', '/home/nano/Desktop/images/17082025/22/21/image_17082025_22_22_04_9670.jpg', '/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_44_9641.jpg
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_34_9640.jpg
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_24_10648.jpg
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_14_9658.jpg
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_22_04_9670.jpg
/home/nano/Desktop/images/17082025/22/21/image_17082025_22_21_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1631958484649658 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5934cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:23:17.560979
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_34_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_23_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_34_9644.jpg', '/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_24_10650.jpg', '/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_14_9660.jpg', '/home/nano/Desktop/images/17082025/22/22/image_17082025_22_23_04_9642.jpg', '/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_44_9640.jpg
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_34_9644.jpg
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_24_10650.jpg
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_14_9660.jpg
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_23_04_9642.jpg
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_54_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.0079569816589355 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb56d3cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:23:32.585002
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_34_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_23_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_34_9644.jpg', '/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_24_10650.jpg', '/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_14_9660.jpg', '/home/nano/Desktop/images/17082025/22/22/image_17082025_22_23_04_9642.jpg', '/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_44_9640.jpg
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_34_9644.jpg
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_24_10650.jpg
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_14_9660.jpg
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_23_04_9642.jpg
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_54_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.058069944381714 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81fbccf8>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:23:47.578223
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_34_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_23_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_34_9644.jpg', '/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_24_10650.jpg', '/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_14_9660.jpg', '/home/nano/Desktop/images/17082025/22/22/image_17082025_22_23_04_9642.jpg', '/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_44_9640.jpg
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_34_9644.jpg
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_24_10650.jpg
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_14_9660.jpg
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_23_04_9642.jpg
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_54_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1148526668548584 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b13fcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:24:03.483046
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_34_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_23_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_34_9644.jpg', '/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_24_10650.jpg', '/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_14_9660.jpg', '/home/nano/Desktop/images/17082025/22/22/image_17082025_22_23_04_9642.jpg', '/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_44_9640.jpg
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_34_9644.jpg
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_24_10650.jpg
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_14_9660.jpg
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_23_04_9642.jpg
/home/nano/Desktop/images/17082025/22/22/image_17082025_22_22_54_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.721860885620117 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77c0ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:24:17.685106
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_44_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_24_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_15_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_24_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_44_10652.jpg', '/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_34_9642.jpg', '/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_24_9661.jpg', '/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_15_10671.jpg', '/home/nano/Desktop/images/17082025/22/23/image_17082025_22_24_04_9644.jpg', '/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_44_10652.jpg
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_34_9642.jpg
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_24_9661.jpg
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_15_10671.jpg
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_24_04_9644.jpg
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.6021969318389893 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f906e9cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:24:32.680066
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_44_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_24_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_15_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_24_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_44_10652.jpg', '/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_34_9642.jpg', '/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_24_9661.jpg', '/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_15_10671.jpg', '/home/nano/Desktop/images/17082025/22/23/image_17082025_22_24_04_9644.jpg', '/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_44_10652.jpg
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_34_9642.jpg
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_24_9661.jpg
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_15_10671.jpg
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_24_04_9644.jpg
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2169597148895264 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4acbcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:24:47.715504
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_44_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_24_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_15_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_24_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_44_10652.jpg', '/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_34_9642.jpg', '/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_24_9661.jpg', '/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_15_10671.jpg', '/home/nano/Desktop/images/17082025/22/23/image_17082025_22_24_04_9644.jpg', '/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_44_10652.jpg
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_34_9642.jpg
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_24_9661.jpg
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_15_10671.jpg
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_24_04_9644.jpg
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9808063507080078 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4de7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:25:02.306030
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_44_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_24_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_15_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_24_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_44_10652.jpg', '/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_34_9642.jpg', '/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_24_9661.jpg', '/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_15_10671.jpg', '/home/nano/Desktop/images/17082025/22/23/image_17082025_22_24_04_9644.jpg', '/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_44_10652.jpg
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_34_9642.jpg
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_24_9661.jpg
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_15_10671.jpg
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_24_04_9644.jpg
/home/nano/Desktop/images/17082025/22/23/image_17082025_22_23_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.544565439224243 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81383cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:25:16.844115
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_25_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_54_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_14_10669.jpg', '/home/nano/Desktop/images/17082025/22/24/image_17082025_22_25_04_9645.jpg', '/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_54_9643.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_34_9640.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_24_9639.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_14_10669.jpg
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_25_04_9645.jpg
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_54_9643.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2116384506225586 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84677cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:25:31.837278
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_25_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_54_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_14_10669.jpg', '/home/nano/Desktop/images/17082025/22/24/image_17082025_22_25_04_9645.jpg', '/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_54_9643.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_34_9640.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_24_9639.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_14_10669.jpg
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_25_04_9645.jpg
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_54_9643.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.419440507888794 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac222c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:25:46.839270
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_25_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_54_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_14_10669.jpg', '/home/nano/Desktop/images/17082025/22/24/image_17082025_22_25_04_9645.jpg', '/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_54_9643.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_34_9640.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_24_9639.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_14_10669.jpg
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_25_04_9645.jpg
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_54_9643.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.0585215091705322 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9290acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:26:02.518736
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_25_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_54_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_14_10669.jpg', '/home/nano/Desktop/images/17082025/22/24/image_17082025_22_25_04_9645.jpg', '/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_54_9643.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_34_9640.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_24_9639.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_14_10669.jpg
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_25_04_9645.jpg
/home/nano/Desktop/images/17082025/22/24/image_17082025_22_24_54_9643.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.306851387023926 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f829c3cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:26:16.924894
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_26_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg', '/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_14_10665.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_26_04_9666.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_54_9637.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_34_9640.jpg
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_14_10665.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_26_04_9666.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_54_9637.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.220611095428467 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f269c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:26:31.915288
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_26_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg', '/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_14_10665.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_26_04_9666.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_54_9637.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_34_9640.jpg
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_14_10665.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_26_04_9666.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_54_9637.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2701597213745117 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80d1ec18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:26:46.916337
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_26_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg', '/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_14_10665.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_26_04_9666.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_54_9637.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_34_9640.jpg
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_14_10665.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_26_04_9666.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_54_9637.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8622384071350098 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c071cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:27:02.732701
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_26_04_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg', '/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_14_10665.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_26_04_9666.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_54_9637.jpg', '/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_34_9640.jpg
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_14_10665.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_26_04_9666.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_54_9637.jpg
/home/nano/Desktop/images/17082025/22/25/image_17082025_22_25_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.4337291717529297 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad6d1cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:27:17.035146
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_35_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_27_05_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_35_10666.jpg', '/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_14_9661.jpg', '/home/nano/Desktop/images/17082025/22/26/image_17082025_22_27_05_10657.jpg', '/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_54_9639.jpg', '/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_35_10666.jpg
/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_24_9638.jpg
/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_14_9661.jpg
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_27_05_10657.jpg
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_54_9639.jpg
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2526700496673584 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8070ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:27:32.013661
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_35_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_27_05_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_35_10666.jpg', '/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_14_9661.jpg', '/home/nano/Desktop/images/17082025/22/26/image_17082025_22_27_05_10657.jpg', '/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_54_9639.jpg', '/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_35_10666.jpg
/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_24_9638.jpg
/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_14_9661.jpg
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_27_05_10657.jpg
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_54_9639.jpg
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2417829036712646 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f796a8cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:27:47.037862
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_35_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_27_05_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_35_10666.jpg', '/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_14_9661.jpg', '/home/nano/Desktop/images/17082025/22/26/image_17082025_22_27_05_10657.jpg', '/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_54_9639.jpg', '/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_35_10666.jpg
/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_24_9638.jpg
/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_14_9661.jpg
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_27_05_10657.jpg
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_54_9639.jpg
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2533090114593506 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6f92c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:28:02.714925
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_35_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_27_05_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_35_10666.jpg', '/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_14_9661.jpg', '/home/nano/Desktop/images/17082025/22/26/image_17082025_22_27_05_10657.jpg', '/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_54_9639.jpg', '/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_35_10666.jpg
/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_24_9638.jpg
/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_14_9661.jpg
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_27_05_10657.jpg
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_54_9639.jpg
/home/nano/Desktop/images/17082025/22/26/image_17082025_22_26_44_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.7803397178649902 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f924cecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:28:17.132195
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_14_9669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/27/image_17082025_22_28_04_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_44_9641.jpg', '/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_24_9640.jpg', '/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_14_9669.jpg', '/home/nano/Desktop/images/17082025/22/27/image_17082025_22_28_04_10671.jpg', '/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_44_9641.jpg
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_34_10650.jpg
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_24_9640.jpg
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_14_9669.jpg
/home/nano/Desktop/images/17082025/22/27/image_17082025_22_28_04_10671.jpg
/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.235907793045044 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a42bcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:28:32.151509
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_14_9669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/27/image_17082025_22_28_04_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_44_9641.jpg', '/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_24_9640.jpg', '/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_14_9669.jpg', '/home/nano/Desktop/images/17082025/22/27/image_17082025_22_28_04_10671.jpg', '/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_44_9641.jpg
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_34_10650.jpg
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_24_9640.jpg
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_14_9669.jpg
/home/nano/Desktop/images/17082025/22/27/image_17082025_22_28_04_10671.jpg
/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4409756660461426 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98577cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:28:47.146423
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_14_9669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/27/image_17082025_22_28_04_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_44_9641.jpg', '/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_24_9640.jpg', '/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_14_9669.jpg', '/home/nano/Desktop/images/17082025/22/27/image_17082025_22_28_04_10671.jpg', '/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_44_9641.jpg
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_34_10650.jpg
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_24_9640.jpg
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_14_9669.jpg
/home/nano/Desktop/images/17082025/22/27/image_17082025_22_28_04_10671.jpg
/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.3203270435333252 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81d07cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:29:03.135217
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_14_9669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/27/image_17082025_22_28_04_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_44_9641.jpg', '/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_24_9640.jpg', '/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_14_9669.jpg', '/home/nano/Desktop/images/17082025/22/27/image_17082025_22_28_04_10671.jpg', '/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_44_9641.jpg
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_34_10650.jpg
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_24_9640.jpg
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_14_9669.jpg
/home/nano/Desktop/images/17082025/22/27/image_17082025_22_28_04_10671.jpg
/home/nano/Desktop/images/17082025/22/27/image_17082025_22_27_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.5622167587280273 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8cd2fcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:29:17.244588
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_14_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_29_04_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_14_9664.jpg', '/home/nano/Desktop/images/17082025/22/28/image_17082025_22_29_04_10666.jpg', '/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_14_9664.jpg
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_29_04_10666.jpg
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.300250768661499 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa4e7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:29:32.293162
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_14_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_29_04_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_14_9664.jpg', '/home/nano/Desktop/images/17082025/22/28/image_17082025_22_29_04_10666.jpg', '/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_14_9664.jpg
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_29_04_10666.jpg
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.450094223022461 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e4b7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:29:47.242567
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_14_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_29_04_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_14_9664.jpg', '/home/nano/Desktop/images/17082025/22/28/image_17082025_22_29_04_10666.jpg', '/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_14_9664.jpg
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_29_04_10666.jpg
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.2551405429840088 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8dddbcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:30:02.798840
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_14_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_29_04_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_14_9664.jpg', '/home/nano/Desktop/images/17082025/22/28/image_17082025_22_29_04_10666.jpg', '/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_14_9664.jpg
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_29_04_10666.jpg
/home/nano/Desktop/images/17082025/22/28/image_17082025_22_28_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8658690452575684 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94a3dc18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:30:17.376008
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_30_04_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_34_10649.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_30_04_10670.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_54_9656.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_34_10649.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_30_04_10670.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_54_9656.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1686391830444336 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8916acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:30:32.397627
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_30_04_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_34_10649.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_30_04_10670.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_54_9656.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_34_10649.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_30_04_10670.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_54_9656.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6168515682220459 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83f6bcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:30:47.329329
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_30_04_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_34_10649.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_30_04_10670.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_54_9656.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_34_10649.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_30_04_10670.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_54_9656.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4462623596191406 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f847d4cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:31:02.983715
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_30_04_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_34_10649.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_30_04_10670.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_54_9656.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_34_10649.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_30_04_10670.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_54_9656.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_44_9640.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_34_10650.jpg
/home/nano/Desktop/images/17082025/22/29/image_17082025_22_29_24_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.0303895473480225 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92884cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:31:17.451097
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/22/30/image_17082025_22_31_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_24_10650.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_14_9660.jpg', '/home/nano/Desktop/images/17082025/22/30/image_17082025_22_31_04_9654.jpg', '/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_34_9640.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_24_10650.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_14_9660.jpg
/home/nano/Desktop/images/17082025/22/30/image_17082025_22_31_04_9654.jpg
/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.8449437618255615 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d01bc18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:31:32.450250
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/22/30/image_17082025_22_31_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_24_10650.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_14_9660.jpg', '/home/nano/Desktop/images/17082025/22/30/image_17082025_22_31_04_9654.jpg', '/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_34_9640.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_24_10650.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_14_9660.jpg
/home/nano/Desktop/images/17082025/22/30/image_17082025_22_31_04_9654.jpg
/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.456787109375 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89dbfcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:31:47.426216
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/22/30/image_17082025_22_31_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_24_10650.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_14_9660.jpg', '/home/nano/Desktop/images/17082025/22/30/image_17082025_22_31_04_9654.jpg', '/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_34_9640.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_24_10650.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_14_9660.jpg
/home/nano/Desktop/images/17082025/22/30/image_17082025_22_31_04_9654.jpg
/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8794345855712891 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa37fcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:32:03.132491
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/22/30/image_17082025_22_31_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_24_10650.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_14_9660.jpg', '/home/nano/Desktop/images/17082025/22/30/image_17082025_22_31_04_9654.jpg', '/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_34_9640.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_24_10650.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_14_9660.jpg
/home/nano/Desktop/images/17082025/22/30/image_17082025_22_31_04_9654.jpg
/home/nano/Desktop/images/17082025/22/30/image_17082025_22_30_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.2823736667633057 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad49cc18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:32:17.595489
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_32_04_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_54_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_14_9662.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_32_04_9657.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_54_10650.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_34_9640.jpg
/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_24_10648.jpg
/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_14_9662.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_32_04_9657.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_54_10650.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.1840038299560547 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e982cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:32:32.570877
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_32_04_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_54_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_14_9662.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_32_04_9657.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_54_10650.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_34_9640.jpg
/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_24_10648.jpg
/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_14_9662.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_32_04_9657.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_54_10650.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.413186550140381 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f974a6cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:32:47.524074
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_32_04_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_54_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_14_9662.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_32_04_9657.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_54_10650.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_34_9640.jpg
/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_24_10648.jpg
/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_14_9662.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_32_04_9657.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_54_10650.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6236627101898193 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4b38cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:33:03.354764
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_14_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_32_04_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_54_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_14_9662.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_32_04_9657.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_54_10650.jpg', '/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_34_9640.jpg
/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_24_10648.jpg
/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_14_9662.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_32_04_9657.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_54_10650.jpg
/home/nano/Desktop/images/17082025/22/31/image_17082025_22_31_44_9635.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1117820739746094 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb068acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:33:17.652970
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_44_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_14_9679.jpg', 2), ('/home/nano/Desktop/images/17082025/22/32/image_17082025_22_33_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_44_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_44_9657.jpg', '/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_34_9641.jpg', '/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_14_9679.jpg', '/home/nano/Desktop/images/17082025/22/32/image_17082025_22_33_04_9650.jpg', '/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_44_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_44_9657.jpg
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_34_9641.jpg
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_24_10648.jpg
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_14_9679.jpg
/home/nano/Desktop/images/17082025/22/32/image_17082025_22_33_04_9650.jpg
/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_44_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.48790836334228516 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94119cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:33:32.620789
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_44_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_14_9679.jpg', 2), ('/home/nano/Desktop/images/17082025/22/32/image_17082025_22_33_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_44_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_44_9657.jpg', '/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_34_9641.jpg', '/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_14_9679.jpg', '/home/nano/Desktop/images/17082025/22/32/image_17082025_22_33_04_9650.jpg', '/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_44_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_44_9657.jpg
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_34_9641.jpg
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_24_10648.jpg
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_14_9679.jpg
/home/nano/Desktop/images/17082025/22/32/image_17082025_22_33_04_9650.jpg
/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_44_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.3731372356414795 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf13ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:33:47.652229
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_44_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_14_9679.jpg', 2), ('/home/nano/Desktop/images/17082025/22/32/image_17082025_22_33_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_44_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_44_9657.jpg', '/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_34_9641.jpg', '/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_14_9679.jpg', '/home/nano/Desktop/images/17082025/22/32/image_17082025_22_33_04_9650.jpg', '/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_44_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_44_9657.jpg
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_34_9641.jpg
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_24_10648.jpg
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_14_9679.jpg
/home/nano/Desktop/images/17082025/22/32/image_17082025_22_33_04_9650.jpg
/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_44_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6447100639343262 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3645cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:34:03.632441
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_44_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_14_9679.jpg', 2), ('/home/nano/Desktop/images/17082025/22/32/image_17082025_22_33_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_44_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_44_9657.jpg', '/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_34_9641.jpg', '/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_14_9679.jpg', '/home/nano/Desktop/images/17082025/22/32/image_17082025_22_33_04_9650.jpg', '/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_44_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_44_9657.jpg
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_34_9641.jpg
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_24_10648.jpg
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_14_9679.jpg
/home/nano/Desktop/images/17082025/22/32/image_17082025_22_33_04_9650.jpg
/home/nano/Desktop/images/17082025/22/32/image_17082025_22_32_44_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.011314630508423 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ac3ebe0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:34:17.763876
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_44_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_14_9679.jpg', 2), ('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_34_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_44_9657.jpg', '/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_34_9643.jpg', '/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_24_10649.jpg', '/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_14_9679.jpg', '/home/nano/Desktop/images/17082025/22/33/image_17082025_22_34_04_9643.jpg', '/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_44_9657.jpg
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_34_9643.jpg
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_24_10649.jpg
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_14_9679.jpg
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_34_04_9643.jpg
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_54_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.228410482406616 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88446cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:34:32.754749
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_44_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_14_9679.jpg', 2), ('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_34_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_44_9657.jpg', '/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_34_9643.jpg', '/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_24_10649.jpg', '/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_14_9679.jpg', '/home/nano/Desktop/images/17082025/22/33/image_17082025_22_34_04_9643.jpg', '/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_44_9657.jpg
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_34_9643.jpg
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_24_10649.jpg
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_14_9679.jpg
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_34_04_9643.jpg
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_54_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4416346549987793 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97a3fcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:34:47.764741
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_44_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_14_9679.jpg', 2), ('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_34_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_44_9657.jpg', '/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_34_9643.jpg', '/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_24_10649.jpg', '/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_14_9679.jpg', '/home/nano/Desktop/images/17082025/22/33/image_17082025_22_34_04_9643.jpg', '/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_44_9657.jpg
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_34_9643.jpg
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_24_10649.jpg
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_14_9679.jpg
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_34_04_9643.jpg
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_33_54_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.491738796234131 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadc81cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:35:02.650232
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_35_04_9669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_44_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_14_9679.jpg', 2), ('/home/nano/Desktop/images/17082025/22/33/image_17082025_22_34_04_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/34/image_17082025_22_35_04_9669.jpg', '/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_44_9657.jpg', '/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_34_9643.jpg', '/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_24_10649.jpg', '/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_14_9679.jpg', '/home/nano/Desktop/images/17082025/22/33/image_17082025_22_34_04_9643.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_35_04_9669.jpg
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_44_9657.jpg
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_34_9643.jpg
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_24_10649.jpg
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_14_9679.jpg
/home/nano/Desktop/images/17082025/22/33/image_17082025_22_34_04_9643.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.241182565689087 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7babbcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:35:16.862173
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_15_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_35_04_9669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_24_9640.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_15_10666.jpg', '/home/nano/Desktop/images/17082025/22/34/image_17082025_22_35_04_9669.jpg', '/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_24_9640.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_15_10666.jpg
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_35_04_9669.jpg
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.30094838142395 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f270cf8>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:35:31.868814
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_15_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_35_04_9669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_24_9640.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_15_10666.jpg', '/home/nano/Desktop/images/17082025/22/34/image_17082025_22_35_04_9669.jpg', '/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_24_9640.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_15_10666.jpg
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_35_04_9669.jpg
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.424398422241211 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f6e8cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:35:46.861083
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_15_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_35_04_9669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_24_9640.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_15_10666.jpg', '/home/nano/Desktop/images/17082025/22/34/image_17082025_22_35_04_9669.jpg', '/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_24_9640.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_15_10666.jpg
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_35_04_9669.jpg
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9005684852600098 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89c80cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:36:02.536214
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_15_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_35_04_9669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_24_9640.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_15_10666.jpg', '/home/nano/Desktop/images/17082025/22/34/image_17082025_22_35_04_9669.jpg', '/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_24_9640.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_15_10666.jpg
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_35_04_9669.jpg
/home/nano/Desktop/images/17082025/22/34/image_17082025_22_34_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.206631898880005 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa01c6cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:36:17.033203
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_36_04_9672.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_54_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_34_9643.jpg', '/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_24_9642.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_36_04_9672.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_54_9659.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_34_9643.jpg
/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_24_9642.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_36_04_9672.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_54_9659.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.6724863052368164 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99170cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:36:31.957591
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_36_04_9672.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_54_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_34_9643.jpg', '/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_24_9642.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_36_04_9672.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_54_9659.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_34_9643.jpg
/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_24_9642.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_36_04_9672.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_54_9659.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2235844135284424 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3702c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:36:46.971421
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_36_04_9672.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_54_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_34_9643.jpg', '/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_24_9642.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_36_04_9672.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_54_9659.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_34_9643.jpg
/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_24_9642.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_36_04_9672.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_54_9659.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.7428042888641357 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7bfa7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:37:02.746126
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_36_04_9672.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_54_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_34_9643.jpg', '/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_24_9642.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_36_04_9672.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_54_9659.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_34_9643.jpg
/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_24_9642.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_36_04_9672.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_54_9659.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_44_10650.jpg
/home/nano/Desktop/images/17082025/22/35/image_17082025_22_35_34_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.5762176513671875 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2affc18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:37:17.084922
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_14_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/22/36/image_17082025_22_37_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg', '/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_34_9638.jpg', '/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_24_9641.jpg', '/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_14_10674.jpg', '/home/nano/Desktop/images/17082025/22/36/image_17082025_22_37_04_9649.jpg', '/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_34_9638.jpg
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_24_9641.jpg
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_14_10674.jpg
/home/nano/Desktop/images/17082025/22/36/image_17082025_22_37_04_9649.jpg
/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4661946296691895 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7bc96cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:37:32.157284
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_14_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/22/36/image_17082025_22_37_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg', '/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_34_9638.jpg', '/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_24_9641.jpg', '/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_14_10674.jpg', '/home/nano/Desktop/images/17082025/22/36/image_17082025_22_37_04_9649.jpg', '/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_34_9638.jpg
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_24_9641.jpg
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_14_10674.jpg
/home/nano/Desktop/images/17082025/22/36/image_17082025_22_37_04_9649.jpg
/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4255828857421875 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80646cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:37:47.083560
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_14_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/22/36/image_17082025_22_37_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg', '/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_34_9638.jpg', '/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_24_9641.jpg', '/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_14_10674.jpg', '/home/nano/Desktop/images/17082025/22/36/image_17082025_22_37_04_9649.jpg', '/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_34_9638.jpg
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_24_9641.jpg
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_14_10674.jpg
/home/nano/Desktop/images/17082025/22/36/image_17082025_22_37_04_9649.jpg
/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.457871437072754 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5c40cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:38:02.753846
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_14_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/22/36/image_17082025_22_37_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg', '/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_34_9638.jpg', '/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_24_9641.jpg', '/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_14_10674.jpg', '/home/nano/Desktop/images/17082025/22/36/image_17082025_22_37_04_9649.jpg', '/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_34_9638.jpg
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_24_9641.jpg
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_14_10674.jpg
/home/nano/Desktop/images/17082025/22/36/image_17082025_22_37_04_9649.jpg
/home/nano/Desktop/images/17082025/22/36/image_17082025_22_36_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2289278507232666 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa094dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:38:17.172146
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_54_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_14_10666.jpg', '/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_54_9642.jpg', '/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_24_9639.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_14_10666.jpg
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_54_9642.jpg
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4492151737213135 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b041cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:38:32.255232
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_54_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_14_10666.jpg', '/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_54_9642.jpg', '/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_24_9639.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_14_10666.jpg
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_54_9642.jpg
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2699344158172607 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7facb9ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:38:47.206803
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_54_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_14_10666.jpg', '/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_54_9642.jpg', '/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_24_9639.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_14_10666.jpg
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_54_9642.jpg
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.45838046073913574 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94407cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:39:03.290044
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_14_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_54_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_14_10666.jpg', '/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_54_9642.jpg', '/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_24_9639.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_14_10666.jpg
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_54_9642.jpg
/home/nano/Desktop/images/17082025/22/37/image_17082025_22_37_44_10652.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.578843116760254 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c363cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:39:17.331496
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_24_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_34_10648.jpg', '/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_24_9657.jpg', '/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_14_9657.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_54_9639.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_34_10648.jpg
/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_24_9657.jpg
/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_14_9657.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_54_9639.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2941060066223145 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c2b1cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:39:32.321593
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_24_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_34_10648.jpg', '/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_24_9657.jpg', '/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_14_9657.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_54_9639.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_34_10648.jpg
/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_24_9657.jpg
/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_14_9657.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_54_9639.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.5609493255615234 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96832cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:39:47.338121
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_24_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_34_10648.jpg', '/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_24_9657.jpg', '/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_14_9657.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_54_9639.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_34_10648.jpg
/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_24_9657.jpg
/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_14_9657.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_54_9639.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8076605796813965 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa90ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:40:03.017341
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_24_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_34_10648.jpg', '/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_24_9657.jpg', '/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_14_9657.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_54_9639.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_34_10648.jpg
/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_24_9657.jpg
/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_14_9657.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_54_9639.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_44_10650.jpg
/home/nano/Desktop/images/17082025/22/38/image_17082025_22_38_34_9656.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.41256046295166 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85462cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:40:17.457171
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_44_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/22/39/image_17082025_22_40_04_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_44_9654.jpg', '/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_24_9641.jpg', '/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_14_9659.jpg', '/home/nano/Desktop/images/17082025/22/39/image_17082025_22_40_04_10664.jpg', '/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_44_9654.jpg
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_34_10650.jpg
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_24_9641.jpg
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_14_9659.jpg
/home/nano/Desktop/images/17082025/22/39/image_17082025_22_40_04_10664.jpg
/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2515809535980225 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2574cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:40:32.434402
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_44_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/22/39/image_17082025_22_40_04_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_44_9654.jpg', '/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_24_9641.jpg', '/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_14_9659.jpg', '/home/nano/Desktop/images/17082025/22/39/image_17082025_22_40_04_10664.jpg', '/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_44_9654.jpg
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_34_10650.jpg
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_24_9641.jpg
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_14_9659.jpg
/home/nano/Desktop/images/17082025/22/39/image_17082025_22_40_04_10664.jpg
/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.9979074001312256 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8e4fcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:40:47.460891
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_44_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/22/39/image_17082025_22_40_04_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_44_9654.jpg', '/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_24_9641.jpg', '/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_14_9659.jpg', '/home/nano/Desktop/images/17082025/22/39/image_17082025_22_40_04_10664.jpg', '/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_44_9654.jpg
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_34_10650.jpg
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_24_9641.jpg
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_14_9659.jpg
/home/nano/Desktop/images/17082025/22/39/image_17082025_22_40_04_10664.jpg
/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8144760131835938 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ce81cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:41:03.194496
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_44_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/22/39/image_17082025_22_40_04_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_44_9654.jpg', '/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_24_9641.jpg', '/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_14_9659.jpg', '/home/nano/Desktop/images/17082025/22/39/image_17082025_22_40_04_10664.jpg', '/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_44_9654.jpg
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_34_10650.jpg
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_24_9641.jpg
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_14_9659.jpg
/home/nano/Desktop/images/17082025/22/39/image_17082025_22_40_04_10664.jpg
/home/nano/Desktop/images/17082025/22/39/image_17082025_22_39_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.0407936573028564 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f131cf8>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:41:17.568839
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_34_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_41_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_34_10665.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_24_9656.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_14_9661.jpg', '/home/nano/Desktop/images/17082025/22/40/image_17082025_22_41_04_10665.jpg', '/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_34_10665.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_24_9656.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_14_9661.jpg
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_41_04_10665.jpg
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.0232033729553223 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0cd2cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:41:32.527618
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_34_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_41_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_34_10665.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_24_9656.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_14_9661.jpg', '/home/nano/Desktop/images/17082025/22/40/image_17082025_22_41_04_10665.jpg', '/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_34_10665.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_24_9656.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_14_9661.jpg
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_41_04_10665.jpg
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.222163200378418 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e63ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:41:47.545197
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_34_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_41_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_34_10665.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_24_9656.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_14_9661.jpg', '/home/nano/Desktop/images/17082025/22/40/image_17082025_22_41_04_10665.jpg', '/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_34_10665.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_24_9656.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_14_9661.jpg
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_41_04_10665.jpg
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.5657176971435547 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7de56cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:42:03.078623
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_34_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_41_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_34_10665.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_24_9656.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_14_9661.jpg', '/home/nano/Desktop/images/17082025/22/40/image_17082025_22_41_04_10665.jpg', '/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_34_10665.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_24_9656.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_14_9661.jpg
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_41_04_10665.jpg
/home/nano/Desktop/images/17082025/22/40/image_17082025_22_40_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.833359718322754 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b0b5cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:42:17.665046
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_24_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_42_04_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_34_10648.jpg', '/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_24_9657.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_42_04_10669.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_54_9641.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_44_9640.jpg
/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_34_10648.jpg
/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_24_9657.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_42_04_10669.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_54_9641.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8870556354522705 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94f70cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:42:32.662071
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_24_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_42_04_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_34_10648.jpg', '/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_24_9657.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_42_04_10669.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_54_9641.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_44_9640.jpg
/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_34_10648.jpg
/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_24_9657.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_42_04_10669.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_54_9641.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4207923412323 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab49ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:42:47.667839
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_24_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_42_04_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_34_10648.jpg', '/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_24_9657.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_42_04_10669.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_54_9641.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_44_9640.jpg
/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_34_10648.jpg
/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_24_9657.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_42_04_10669.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_54_9641.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8041117191314697 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3bb4cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:43:03.342365
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_24_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_42_04_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_34_10648.jpg', '/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_24_9657.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_42_04_10669.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_54_9641.jpg', '/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_44_9640.jpg
/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_34_10648.jpg
/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_24_9657.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_42_04_10669.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_54_9641.jpg
/home/nano/Desktop/images/17082025/22/41/image_17082025_22_41_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2081294059753418 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f72dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:43:17.750861
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/22/42/image_17082025_22_43_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_55_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg', '/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_24_10666.jpg', '/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_14_9658.jpg', '/home/nano/Desktop/images/17082025/22/42/image_17082025_22_43_04_9651.jpg', '/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_55_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_34_9640.jpg
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_24_10666.jpg
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_14_9658.jpg
/home/nano/Desktop/images/17082025/22/42/image_17082025_22_43_04_9651.jpg
/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_55_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.159515857696533 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96b98c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:43:32.768657
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/22/42/image_17082025_22_43_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_55_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg', '/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_24_10666.jpg', '/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_14_9658.jpg', '/home/nano/Desktop/images/17082025/22/42/image_17082025_22_43_04_9651.jpg', '/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_55_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_34_9640.jpg
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_24_10666.jpg
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_14_9658.jpg
/home/nano/Desktop/images/17082025/22/42/image_17082025_22_43_04_9651.jpg
/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_55_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.310925006866455 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94e7ec18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:43:47.779871
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/22/42/image_17082025_22_43_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_55_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg', '/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_24_10666.jpg', '/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_14_9658.jpg', '/home/nano/Desktop/images/17082025/22/42/image_17082025_22_43_04_9651.jpg', '/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_55_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_34_9640.jpg
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_24_10666.jpg
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_14_9658.jpg
/home/nano/Desktop/images/17082025/22/42/image_17082025_22_43_04_9651.jpg
/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_55_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.419586420059204 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85788c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:44:02.360752
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/22/42/image_17082025_22_43_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_55_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg', '/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_24_10666.jpg', '/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_14_9658.jpg', '/home/nano/Desktop/images/17082025/22/42/image_17082025_22_43_04_9651.jpg', '/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_55_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_34_9640.jpg
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_24_10666.jpg
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_14_9658.jpg
/home/nano/Desktop/images/17082025/22/42/image_17082025_22_43_04_9651.jpg
/home/nano/Desktop/images/17082025/22/42/image_17082025_22_42_55_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4734609127044678 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2ececc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:44:16.904128
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_34_9638.jpg', '/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_24_10647.jpg', '/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_14_9660.jpg', '/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_54_10647.jpg', '/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_44_9639.jpg
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_34_9638.jpg
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_24_10647.jpg
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_14_9660.jpg
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_54_10647.jpg
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.068652391433716 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ca53cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:44:31.903328
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_34_9638.jpg', '/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_24_10647.jpg', '/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_14_9660.jpg', '/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_54_10647.jpg', '/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_44_9639.jpg
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_34_9638.jpg
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_24_10647.jpg
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_14_9660.jpg
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_54_10647.jpg
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.210794448852539 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90ba6cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:44:46.892184
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_34_9638.jpg', '/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_24_10647.jpg', '/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_14_9660.jpg', '/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_54_10647.jpg', '/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_44_9639.jpg
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_34_9638.jpg
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_24_10647.jpg
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_14_9660.jpg
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_54_10647.jpg
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.6719539165496826 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f963fdcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:45:02.877761
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_54_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_34_9638.jpg', '/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_24_10647.jpg', '/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_14_9660.jpg', '/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_54_10647.jpg', '/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_44_9639.jpg
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_34_9638.jpg
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_24_10647.jpg
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_14_9660.jpg
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_54_10647.jpg
/home/nano/Desktop/images/17082025/22/43/image_17082025_22_43_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.076385259628296 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb13b6cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:45:16.999608
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_45_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_45_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_45_10648.jpg', '/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_34_9638.jpg', '/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_14_9656.jpg', '/home/nano/Desktop/images/17082025/22/44/image_17082025_22_45_04_9647.jpg', '/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_45_10648.jpg
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_34_9638.jpg
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_24_10648.jpg
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_14_9656.jpg
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_45_04_9647.jpg
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_54_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.6375727653503418 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa28c3cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:45:31.993969
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_45_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_45_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_45_10648.jpg', '/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_34_9638.jpg', '/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_14_9656.jpg', '/home/nano/Desktop/images/17082025/22/44/image_17082025_22_45_04_9647.jpg', '/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_45_10648.jpg
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_34_9638.jpg
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_24_10648.jpg
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_14_9656.jpg
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_45_04_9647.jpg
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_54_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1274256706237793 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4885cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:45:47.100011
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_45_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_45_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_45_10648.jpg', '/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_34_9638.jpg', '/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_14_9656.jpg', '/home/nano/Desktop/images/17082025/22/44/image_17082025_22_45_04_9647.jpg', '/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_45_10648.jpg
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_34_9638.jpg
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_24_10648.jpg
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_14_9656.jpg
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_45_04_9647.jpg
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_54_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4643950462341309 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5bb1c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:46:02.825948
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_45_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_45_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_45_10648.jpg', '/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_34_9638.jpg', '/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_14_9656.jpg', '/home/nano/Desktop/images/17082025/22/44/image_17082025_22_45_04_9647.jpg', '/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_45_10648.jpg
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_34_9638.jpg
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_24_10648.jpg
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_14_9656.jpg
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_45_04_9647.jpg
/home/nano/Desktop/images/17082025/22/44/image_17082025_22_44_54_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.696268320083618 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa291ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:46:17.184023
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_46_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_14_10667.jpg', '/home/nano/Desktop/images/17082025/22/45/image_17082025_22_46_04_9646.jpg', '/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_34_9640.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_24_9638.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_14_10667.jpg
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_46_04_9646.jpg
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.377945899963379 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8751ac18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:46:32.200843
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_46_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_14_10667.jpg', '/home/nano/Desktop/images/17082025/22/45/image_17082025_22_46_04_9646.jpg', '/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_34_9640.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_24_9638.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_14_10667.jpg
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_46_04_9646.jpg
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.246387004852295 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb459ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:46:47.174783
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_46_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_14_10667.jpg', '/home/nano/Desktop/images/17082025/22/45/image_17082025_22_46_04_9646.jpg', '/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_34_9640.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_24_9638.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_14_10667.jpg
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_46_04_9646.jpg
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1560137271881104 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb440acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:47:03.089658
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_46_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_14_10667.jpg', '/home/nano/Desktop/images/17082025/22/45/image_17082025_22_46_04_9646.jpg', '/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_34_9640.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_24_9638.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_14_10667.jpg
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_46_04_9646.jpg
/home/nano/Desktop/images/17082025/22/45/image_17082025_22_45_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.408229112625122 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b196cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:47:17.282593
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_44_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_34_9688.jpg', 2), ('/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_47_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_44_10663.jpg', '/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_34_9688.jpg', '/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_14_10664.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_47_04_9638.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_54_9637.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_44_10663.jpg
/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_34_9688.jpg
/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_14_10664.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_47_04_9638.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_54_9637.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.5204460620880127 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf986cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:47:32.275985
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_44_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_34_9688.jpg', 2), ('/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_47_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_44_10663.jpg', '/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_34_9688.jpg', '/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_14_10664.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_47_04_9638.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_54_9637.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_44_10663.jpg
/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_34_9688.jpg
/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_14_10664.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_47_04_9638.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_54_9637.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8118853569030762 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8864ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:47:47.308176
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_44_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_34_9688.jpg', 2), ('/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_47_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_44_10663.jpg', '/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_34_9688.jpg', '/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_14_10664.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_47_04_9638.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_54_9637.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_44_10663.jpg
/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_34_9688.jpg
/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_14_10664.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_47_04_9638.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_54_9637.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9423573017120361 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f977d8cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:48:02.854188
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_44_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_34_9688.jpg', 2), ('/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_14_10664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_47_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_54_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_44_10663.jpg', '/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_34_9688.jpg', '/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_14_10664.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_47_04_9638.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_54_9637.jpg', '/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_44_10663.jpg
/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_34_9688.jpg
/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_14_10664.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_47_04_9638.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_54_9637.jpg
/home/nano/Desktop/images/17082025/22/46/image_17082025_22_46_44_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.7590482234954834 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f890b6cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:48:17.411702
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/22/47/image_17082025_22_48_04_9669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_34_9639.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_24_9637.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_14_10668.jpg', '/home/nano/Desktop/images/17082025/22/47/image_17082025_22_48_04_9669.jpg', '/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_34_9639.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_24_9637.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_14_10668.jpg
/home/nano/Desktop/images/17082025/22/47/image_17082025_22_48_04_9669.jpg
/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.3969290256500244 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f811a3c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:48:32.410196
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/22/47/image_17082025_22_48_04_9669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_34_9639.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_24_9637.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_14_10668.jpg', '/home/nano/Desktop/images/17082025/22/47/image_17082025_22_48_04_9669.jpg', '/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_34_9639.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_24_9637.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_14_10668.jpg
/home/nano/Desktop/images/17082025/22/47/image_17082025_22_48_04_9669.jpg
/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.5224623680114746 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85843c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:48:47.381269
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/22/47/image_17082025_22_48_04_9669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_34_9639.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_24_9637.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_14_10668.jpg', '/home/nano/Desktop/images/17082025/22/47/image_17082025_22_48_04_9669.jpg', '/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_34_9639.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_24_9637.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_14_10668.jpg
/home/nano/Desktop/images/17082025/22/47/image_17082025_22_48_04_9669.jpg
/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.109492540359497 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf25acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:49:03.613694
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_14_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/22/47/image_17082025_22_48_04_9669.jpg', 2), ('/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_34_9639.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_24_9637.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_14_10668.jpg', '/home/nano/Desktop/images/17082025/22/47/image_17082025_22_48_04_9669.jpg', '/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_34_9639.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_24_9637.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_14_10668.jpg
/home/nano/Desktop/images/17082025/22/47/image_17082025_22_48_04_9669.jpg
/home/nano/Desktop/images/17082025/22/47/image_17082025_22_47_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2669906616210938 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9fbb2cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:49:17.496056
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_35_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_14_10701.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_49_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_35_10648.jpg', '/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_14_10701.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_49_04_9655.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_54_9641.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_35_10648.jpg
/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_24_9638.jpg
/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_14_10701.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_49_04_9655.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_54_9641.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2254815101623535 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5dfdcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:49:32.528542
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_35_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_14_10701.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_49_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_35_10648.jpg', '/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_14_10701.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_49_04_9655.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_54_9641.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_35_10648.jpg
/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_24_9638.jpg
/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_14_10701.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_49_04_9655.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_54_9641.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.251910924911499 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7180c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:49:47.478815
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_35_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_14_10701.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_49_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_35_10648.jpg', '/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_14_10701.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_49_04_9655.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_54_9641.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_35_10648.jpg
/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_24_9638.jpg
/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_14_10701.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_49_04_9655.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_54_9641.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.36654138565063477 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb55b8cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:50:03.169542
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_35_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_14_10701.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_49_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_35_10648.jpg', '/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_24_9638.jpg', '/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_14_10701.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_49_04_9655.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_54_9641.jpg', '/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_35_10648.jpg
/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_24_9638.jpg
/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_14_10701.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_49_04_9655.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_54_9641.jpg
/home/nano/Desktop/images/17082025/22/48/image_17082025_22_48_44_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.7603538036346436 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7cd38cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:50:17.578176
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/22/49/image_17082025_22_50_04_10655.jpg', 2), ('/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_24_9640.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_14_9659.jpg', '/home/nano/Desktop/images/17082025/22/49/image_17082025_22_50_04_10655.jpg', '/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_44_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_34_10650.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_24_9640.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_14_9659.jpg
/home/nano/Desktop/images/17082025/22/49/image_17082025_22_50_04_10655.jpg
/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_44_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2250664234161377 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86814cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:50:32.594173
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/22/49/image_17082025_22_50_04_10655.jpg', 2), ('/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_24_9640.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_14_9659.jpg', '/home/nano/Desktop/images/17082025/22/49/image_17082025_22_50_04_10655.jpg', '/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_44_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_34_10650.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_24_9640.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_14_9659.jpg
/home/nano/Desktop/images/17082025/22/49/image_17082025_22_50_04_10655.jpg
/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_44_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.25932240486145 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8332ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:50:47.574091
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/22/49/image_17082025_22_50_04_10655.jpg', 2), ('/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_24_9640.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_14_9659.jpg', '/home/nano/Desktop/images/17082025/22/49/image_17082025_22_50_04_10655.jpg', '/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_44_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_34_10650.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_24_9640.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_14_9659.jpg
/home/nano/Desktop/images/17082025/22/49/image_17082025_22_50_04_10655.jpg
/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_44_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.27631592750549316 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4dcecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:51:03.458592
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_34_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/22/49/image_17082025_22_50_04_10655.jpg', 2), ('/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_34_10650.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_24_9640.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_14_9659.jpg', '/home/nano/Desktop/images/17082025/22/49/image_17082025_22_50_04_10655.jpg', '/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_44_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_34_10650.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_24_9640.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_14_9659.jpg
/home/nano/Desktop/images/17082025/22/49/image_17082025_22_50_04_10655.jpg
/home/nano/Desktop/images/17082025/22/49/image_17082025_22_49_44_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.7928636074066162 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d9eecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:51:17.679933
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_14_9677.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_51_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg', '/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_14_9677.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_51_04_10665.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_54_9656.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_14_9677.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_51_04_10665.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_54_9656.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.136103868484497 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a39acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:51:32.685327
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_14_9677.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_51_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg', '/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_14_9677.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_51_04_10665.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_54_9656.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_14_9677.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_51_04_10665.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_54_9656.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3650789260864258 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa08bacc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:51:47.704645
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_14_9677.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_51_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg', '/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_14_9677.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_51_04_10665.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_54_9656.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_14_9677.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_51_04_10665.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_54_9656.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.7920126914978027 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7848c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:52:02.310222
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_14_9677.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_51_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg', '/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_14_9677.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_51_04_10665.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_54_9656.jpg', '/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_14_9677.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_51_04_10665.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_54_9656.jpg
/home/nano/Desktop/images/17082025/22/50/image_17082025_22_50_44_9657.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.9766249656677246 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87adacc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:52:16.828991
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_34_10649.jpg', '/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_24_9636.jpg', '/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_54_9639.jpg', '/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_44_9640.jpg
/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_34_10649.jpg
/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_24_9636.jpg
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_54_9639.jpg
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.50115704536438 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9f0cc18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:52:31.841826
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_34_10649.jpg', '/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_24_9636.jpg', '/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_54_9639.jpg', '/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_44_9640.jpg
/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_34_10649.jpg
/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_24_9636.jpg
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_54_9639.jpg
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.219191789627075 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88352c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:52:46.838110
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_34_10649.jpg', '/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_24_9636.jpg', '/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_54_9639.jpg', '/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_44_9640.jpg
/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_34_10649.jpg
/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_24_9636.jpg
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_54_9639.jpg
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6918914318084717 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f819a0c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:53:02.550614
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_44_9640.jpg', '/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_34_10649.jpg', '/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_24_9636.jpg', '/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_54_9639.jpg', '/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_44_9640.jpg
/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_34_10649.jpg
/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_24_9636.jpg
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_54_9639.jpg
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_44_9639.jpg
/home/nano/Desktop/images/17082025/22/51/image_17082025_22_51_34_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.1860480308532715 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8b2fcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:53:16.925694
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_44_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_25_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/22/52/image_17082025_22_53_04_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_44_9645.jpg', '/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_34_9641.jpg', '/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_25_10648.jpg', '/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_14_9660.jpg', '/home/nano/Desktop/images/17082025/22/52/image_17082025_22_53_04_10668.jpg', '/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_44_9645.jpg
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_34_9641.jpg
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_25_10648.jpg
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_14_9660.jpg
/home/nano/Desktop/images/17082025/22/52/image_17082025_22_53_04_10668.jpg
/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.084146499633789 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e897cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:53:31.959246
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_44_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_25_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/22/52/image_17082025_22_53_04_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_44_9645.jpg', '/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_34_9641.jpg', '/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_25_10648.jpg', '/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_14_9660.jpg', '/home/nano/Desktop/images/17082025/22/52/image_17082025_22_53_04_10668.jpg', '/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_44_9645.jpg
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_34_9641.jpg
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_25_10648.jpg
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_14_9660.jpg
/home/nano/Desktop/images/17082025/22/52/image_17082025_22_53_04_10668.jpg
/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.420620918273926 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7eb4ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:53:46.922233
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_44_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_25_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/22/52/image_17082025_22_53_04_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_44_9645.jpg', '/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_34_9641.jpg', '/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_25_10648.jpg', '/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_14_9660.jpg', '/home/nano/Desktop/images/17082025/22/52/image_17082025_22_53_04_10668.jpg', '/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_44_9645.jpg
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_34_9641.jpg
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_25_10648.jpg
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_14_9660.jpg
/home/nano/Desktop/images/17082025/22/52/image_17082025_22_53_04_10668.jpg
/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.4663829803466797 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99ff6cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:54:02.813863
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_44_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_25_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/22/52/image_17082025_22_53_04_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_44_9645.jpg', '/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_34_9641.jpg', '/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_25_10648.jpg', '/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_14_9660.jpg', '/home/nano/Desktop/images/17082025/22/52/image_17082025_22_53_04_10668.jpg', '/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_44_9645.jpg
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_34_9641.jpg
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_25_10648.jpg
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_14_9660.jpg
/home/nano/Desktop/images/17082025/22/52/image_17082025_22_53_04_10668.jpg
/home/nano/Desktop/images/17082025/22/52/image_17082025_22_52_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.3574728965759277 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96364cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:54:17.060457
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_44_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_14_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_54_04_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_44_9664.jpg', '/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_24_10649.jpg', '/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_14_9666.jpg', '/home/nano/Desktop/images/17082025/22/53/image_17082025_22_54_04_9662.jpg', '/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_54_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_44_9664.jpg
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_34_9640.jpg
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_24_10649.jpg
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_14_9666.jpg
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_54_04_9662.jpg
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_54_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.361342430114746 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f971c7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:54:32.031407
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_44_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_14_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_54_04_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_44_9664.jpg', '/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_24_10649.jpg', '/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_14_9666.jpg', '/home/nano/Desktop/images/17082025/22/53/image_17082025_22_54_04_9662.jpg', '/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_54_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_44_9664.jpg
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_34_9640.jpg
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_24_10649.jpg
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_14_9666.jpg
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_54_04_9662.jpg
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_54_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.7097682952880859 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6c54c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:54:47.074013
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_44_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_14_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_54_04_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_44_9664.jpg', '/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_24_10649.jpg', '/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_14_9666.jpg', '/home/nano/Desktop/images/17082025/22/53/image_17082025_22_54_04_9662.jpg', '/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_54_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_44_9664.jpg
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_34_9640.jpg
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_24_10649.jpg
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_14_9666.jpg
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_54_04_9662.jpg
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_54_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.5070478916168213 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90ceacc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:55:02.974959
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_44_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_14_9666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_54_04_9662.jpg', 2), ('/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_44_9664.jpg', '/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_34_9640.jpg', '/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_24_10649.jpg', '/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_14_9666.jpg', '/home/nano/Desktop/images/17082025/22/53/image_17082025_22_54_04_9662.jpg', '/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_54_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_44_9664.jpg
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_34_9640.jpg
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_24_10649.jpg
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_14_9666.jpg
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_54_04_9662.jpg
/home/nano/Desktop/images/17082025/22/53/image_17082025_22_53_54_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.13456130027771 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9da08cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:55:17.194774
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_55_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_44_9655.jpg', '/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_34_9639.jpg', '/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_14_9656.jpg', '/home/nano/Desktop/images/17082025/22/54/image_17082025_22_55_04_9654.jpg', '/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_44_9655.jpg
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_34_9639.jpg
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_24_10648.jpg
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_14_9656.jpg
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_55_04_9654.jpg
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2247934341430664 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83e6ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:55:32.135956
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_55_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_44_9655.jpg', '/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_34_9639.jpg', '/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_14_9656.jpg', '/home/nano/Desktop/images/17082025/22/54/image_17082025_22_55_04_9654.jpg', '/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_44_9655.jpg
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_34_9639.jpg
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_24_10648.jpg
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_14_9656.jpg
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_55_04_9654.jpg
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.397111415863037 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98773cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:55:47.161357
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_55_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_44_9655.jpg', '/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_34_9639.jpg', '/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_14_9656.jpg', '/home/nano/Desktop/images/17082025/22/54/image_17082025_22_55_04_9654.jpg', '/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_44_9655.jpg
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_34_9639.jpg
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_24_10648.jpg
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_14_9656.jpg
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_55_04_9654.jpg
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8549940586090088 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb611acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:56:02.875514
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_55_04_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_44_9655.jpg', '/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_34_9639.jpg', '/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_24_10648.jpg', '/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_14_9656.jpg', '/home/nano/Desktop/images/17082025/22/54/image_17082025_22_55_04_9654.jpg', '/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_44_9655.jpg
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_34_9639.jpg
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_24_10648.jpg
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_14_9656.jpg
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_55_04_9654.jpg
/home/nano/Desktop/images/17082025/22/54/image_17082025_22_54_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2185699939727783 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1994cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:56:17.254534
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_34_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_14_9678.jpg', 2), ('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_56_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_34_9658.jpg', '/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_24_10666.jpg', '/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_14_9678.jpg', '/home/nano/Desktop/images/17082025/22/55/image_17082025_22_56_04_9644.jpg', '/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_44_9639.jpg
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_34_9658.jpg
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_24_10666.jpg
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_14_9678.jpg
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_56_04_9644.jpg
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4095540046691895 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faec42cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:56:32.284437
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_34_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_14_9678.jpg', 2), ('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_56_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_34_9658.jpg', '/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_24_10666.jpg', '/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_14_9678.jpg', '/home/nano/Desktop/images/17082025/22/55/image_17082025_22_56_04_9644.jpg', '/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_44_9639.jpg
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_34_9658.jpg
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_24_10666.jpg
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_14_9678.jpg
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_56_04_9644.jpg
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4238996505737305 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5e11c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:56:47.261592
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_34_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_14_9678.jpg', 2), ('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_56_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_34_9658.jpg', '/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_24_10666.jpg', '/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_14_9678.jpg', '/home/nano/Desktop/images/17082025/22/55/image_17082025_22_56_04_9644.jpg', '/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_44_9639.jpg
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_34_9658.jpg
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_24_10666.jpg
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_14_9678.jpg
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_56_04_9644.jpg
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.680513858795166 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90ff2cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:57:03.081564
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_34_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_14_9678.jpg', 2), ('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_56_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_44_9639.jpg', '/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_34_9658.jpg', '/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_24_10666.jpg', '/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_14_9678.jpg', '/home/nano/Desktop/images/17082025/22/55/image_17082025_22_56_04_9644.jpg', '/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_44_9639.jpg
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_34_9658.jpg
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_24_10666.jpg
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_14_9678.jpg
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_56_04_9644.jpg
/home/nano/Desktop/images/17082025/22/55/image_17082025_22_55_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4240527153015137 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f897f4cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:57:17.354674
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_57_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_44_10649.jpg', '/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_34_9638.jpg', '/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_24_10647.jpg', '/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_14_9658.jpg', '/home/nano/Desktop/images/17082025/22/56/image_17082025_22_57_04_9641.jpg', '/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_44_10649.jpg
/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_34_9638.jpg
/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_24_10647.jpg
/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_14_9658.jpg
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_57_04_9641.jpg
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_54_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6625869274139404 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95329cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:57:32.408621
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_57_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_44_10649.jpg', '/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_34_9638.jpg', '/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_24_10647.jpg', '/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_14_9658.jpg', '/home/nano/Desktop/images/17082025/22/56/image_17082025_22_57_04_9641.jpg', '/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_44_10649.jpg
/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_34_9638.jpg
/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_24_10647.jpg
/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_14_9658.jpg
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_57_04_9641.jpg
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_54_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4618303775787354 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad063cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:57:47.386969
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_57_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_44_10649.jpg', '/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_34_9638.jpg', '/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_24_10647.jpg', '/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_14_9658.jpg', '/home/nano/Desktop/images/17082025/22/56/image_17082025_22_57_04_9641.jpg', '/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_44_10649.jpg
/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_34_9638.jpg
/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_24_10647.jpg
/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_14_9658.jpg
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_57_04_9641.jpg
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_54_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.5132224559783936 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80d89cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:58:03.025683
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_57_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_44_10649.jpg', '/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_34_9638.jpg', '/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_24_10647.jpg', '/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_14_9658.jpg', '/home/nano/Desktop/images/17082025/22/56/image_17082025_22_57_04_9641.jpg', '/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_44_10649.jpg
/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_34_9638.jpg
/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_24_10647.jpg
/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_14_9658.jpg
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_57_04_9641.jpg
/home/nano/Desktop/images/17082025/22/56/image_17082025_22_56_54_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.6335151195526123 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91380cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:59:03.151659
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_24_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/22/57/image_17082025_22_58_04_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_44_10649.jpg', '/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_34_9639.jpg', '/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_24_9659.jpg', '/home/nano/Desktop/images/17082025/22/57/image_17082025_22_58_04_9653.jpg', '/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_54_9638.jpg', '/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_44_10649.jpg
/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_34_9639.jpg
/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_24_9659.jpg
/home/nano/Desktop/images/17082025/22/57/image_17082025_22_58_04_9653.jpg
/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_54_9638.jpg
/home/nano/Desktop/images/17082025/22/57/image_17082025_22_57_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.7582809925079346 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f8b6cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:59:17.329037
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/22/58/image_17082025_22_59_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_14_10671.jpg', '/home/nano/Desktop/images/17082025/22/58/image_17082025_22_59_04_9656.jpg', '/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_54_9640.jpg', '/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg
/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_24_9639.jpg
/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_14_10671.jpg
/home/nano/Desktop/images/17082025/22/58/image_17082025_22_59_04_9656.jpg
/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_54_9640.jpg
/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4923508167266846 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab793c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:59:32.342327
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/22/58/image_17082025_22_59_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_14_10671.jpg', '/home/nano/Desktop/images/17082025/22/58/image_17082025_22_59_04_9656.jpg', '/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_54_9640.jpg', '/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg
/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_24_9639.jpg
/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_14_10671.jpg
/home/nano/Desktop/images/17082025/22/58/image_17082025_22_59_04_9656.jpg
/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_54_9640.jpg
/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.7591171264648438 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a9c0cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 22:59:47.345944
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/22/58/image_17082025_22_59_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_14_10671.jpg', '/home/nano/Desktop/images/17082025/22/58/image_17082025_22_59_04_9656.jpg', '/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_54_9640.jpg', '/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg
/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_24_9639.jpg
/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_14_10671.jpg
/home/nano/Desktop/images/17082025/22/58/image_17082025_22_59_04_9656.jpg
/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_54_9640.jpg
/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8042824268341064 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c9fdcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:00:03.064985
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/22/58/image_17082025_22_59_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg', '/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_14_10671.jpg', '/home/nano/Desktop/images/17082025/22/58/image_17082025_22_59_04_9656.jpg', '/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_54_9640.jpg', '/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg
/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_24_9639.jpg
/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_14_10671.jpg
/home/nano/Desktop/images/17082025/22/58/image_17082025_22_59_04_9656.jpg
/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_54_9640.jpg
/home/nano/Desktop/images/17082025/22/58/image_17082025_22_58_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.461003065109253 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9af4acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:00:17.436755
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_35_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/59/image_17082025_23_00_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_35_10648.jpg', '/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/59/image_17082025_23_00_04_9664.jpg', '/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_54_9638.jpg', '/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_44_9640.jpg
/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_35_10648.jpg
/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_24_9639.jpg
/home/nano/Desktop/images/17082025/22/59/image_17082025_23_00_04_9664.jpg
/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_54_9638.jpg
/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.0857479572296143 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9aad9cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:00:32.479250
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_35_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/59/image_17082025_23_00_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_35_10648.jpg', '/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/59/image_17082025_23_00_04_9664.jpg', '/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_54_9638.jpg', '/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_44_9640.jpg
/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_35_10648.jpg
/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_24_9639.jpg
/home/nano/Desktop/images/17082025/22/59/image_17082025_23_00_04_9664.jpg
/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_54_9638.jpg
/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.44690752029418945 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97d5ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:00:47.449906
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_35_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/59/image_17082025_23_00_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_35_10648.jpg', '/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/59/image_17082025_23_00_04_9664.jpg', '/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_54_9638.jpg', '/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_44_9640.jpg
/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_35_10648.jpg
/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_24_9639.jpg
/home/nano/Desktop/images/17082025/22/59/image_17082025_23_00_04_9664.jpg
/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_54_9638.jpg
/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.837982177734375 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b5c7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:01:03.287505
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_35_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/22/59/image_17082025_23_00_04_9664.jpg', 2), ('/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_35_10648.jpg', '/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_24_9639.jpg', '/home/nano/Desktop/images/17082025/22/59/image_17082025_23_00_04_9664.jpg', '/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_54_9638.jpg', '/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_44_9640.jpg
/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_35_10648.jpg
/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_24_9639.jpg
/home/nano/Desktop/images/17082025/22/59/image_17082025_23_00_04_9664.jpg
/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_54_9638.jpg
/home/nano/Desktop/images/17082025/22/59/image_17082025_22_59_44_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.0640275478363037 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99d90cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:01:17.604810
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/00/image_17082025_23_01_05_10676.jpg', 2), ('/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_34_10647.jpg', '/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_24_9641.jpg', '/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_14_9660.jpg', '/home/nano/Desktop/images/17082025/23/00/image_17082025_23_01_05_10676.jpg', '/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_44_9639.jpg
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_34_10647.jpg
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_24_9641.jpg
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_14_9660.jpg
/home/nano/Desktop/images/17082025/23/00/image_17082025_23_01_05_10676.jpg
/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.1086323261260986 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f837f1cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:01:32.558396
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/00/image_17082025_23_01_05_10676.jpg', 2), ('/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_34_10647.jpg', '/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_24_9641.jpg', '/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_14_9660.jpg', '/home/nano/Desktop/images/17082025/23/00/image_17082025_23_01_05_10676.jpg', '/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_44_9639.jpg
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_34_10647.jpg
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_24_9641.jpg
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_14_9660.jpg
/home/nano/Desktop/images/17082025/23/00/image_17082025_23_01_05_10676.jpg
/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2410802841186523 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c2fdcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:01:47.597691
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/00/image_17082025_23_01_05_10676.jpg', 2), ('/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_34_10647.jpg', '/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_24_9641.jpg', '/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_14_9660.jpg', '/home/nano/Desktop/images/17082025/23/00/image_17082025_23_01_05_10676.jpg', '/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_44_9639.jpg
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_34_10647.jpg
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_24_9641.jpg
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_14_9660.jpg
/home/nano/Desktop/images/17082025/23/00/image_17082025_23_01_05_10676.jpg
/home/nano/Desktop/images/17082025/23/00/image_17082025_23_00_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8489632606506348 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0f29cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:02:03.331730
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/00/image_17082025_23_01_05_10676.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_34_10648.jpg', '/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_34_10647.jpg', '/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_24_9641.jpg', '/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_14_9660.jpg', '/home/nano/Desktop/images/17082025/23/00/image_17082025_23_01_05_10676.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_34_10648.jpg
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_44_9639.jpg
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_34_10647.jpg
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_24_9641.jpg
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_14_9660.jpg
/home/nano/Desktop/images/17082025/23/00/image_17082025_23_01_05_10676.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.473759651184082 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa739acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:02:17.685711
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_02_04_10660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_34_10648.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_24_9643.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/01/image_17082025_23_02_04_10660.jpg', '/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_34_10648.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_24_9643.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_14_9656.jpg
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_02_04_10660.jpg
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_54_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4809865951538086 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bad6cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:02:32.728676
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_02_04_10660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_34_10648.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_24_9643.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/01/image_17082025_23_02_04_10660.jpg', '/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_34_10648.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_24_9643.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_14_9656.jpg
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_02_04_10660.jpg
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_54_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4830703735351562 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9341acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:02:47.699320
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_02_04_10660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_34_10648.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_24_9643.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/01/image_17082025_23_02_04_10660.jpg', '/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_34_10648.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_24_9643.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_14_9656.jpg
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_02_04_10660.jpg
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_54_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4746029376983643 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bc47cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:03:02.471040
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_02_04_10660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_34_10648.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_24_9643.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/01/image_17082025_23_02_04_10660.jpg', '/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_34_10648.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_24_9643.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_14_9656.jpg
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_02_04_10660.jpg
/home/nano/Desktop/images/17082025/23/01/image_17082025_23_01_54_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.373286724090576 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9acc5cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:03:16.787197
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_14_9674.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_03_04_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_14_9674.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_03_04_10656.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_54_9639.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_14_9674.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_03_04_10656.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_54_9639.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.268559217453003 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82547c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:03:31.818981
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_14_9674.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_03_04_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_14_9674.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_03_04_10656.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_54_9639.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_14_9674.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_03_04_10656.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_54_9639.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.5450193881988525 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac164cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:03:46.809494
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_14_9674.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_03_04_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_14_9674.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_03_04_10656.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_54_9639.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_14_9674.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_03_04_10656.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_54_9639.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8756780624389648 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e577cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:04:02.646304
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_14_9674.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_03_04_10656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_14_9674.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_03_04_10656.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_54_9639.jpg', '/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_14_9674.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_03_04_10656.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_54_9639.jpg
/home/nano/Desktop/images/17082025/23/02/image_17082025_23_02_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.400223731994629 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f854bec18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:04:16.926829
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_04_04_9667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_55_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_44_9642.jpg', '/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_34_9638.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_04_04_9667.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_55_10651.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_44_9642.jpg
/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_34_9638.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_04_04_9667.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_55_10651.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4643850326538086 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95f2ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:04:31.886021
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_04_04_9667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_55_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_44_9642.jpg', '/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_34_9638.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_04_04_9667.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_55_10651.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_44_9642.jpg
/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_34_9638.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_04_04_9667.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_55_10651.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.445864200592041 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8957dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:04:46.912437
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_04_04_9667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_55_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_44_9642.jpg', '/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_34_9638.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_04_04_9667.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_55_10651.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_44_9642.jpg
/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_34_9638.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_04_04_9667.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_55_10651.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8356192111968994 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f4eccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:05:02.734493
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_04_04_9667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_55_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_44_9642.jpg', '/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_34_9638.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_04_04_9667.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_55_10651.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_44_9642.jpg
/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_34_9638.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_04_04_9667.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_55_10651.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_44_9639.jpg
/home/nano/Desktop/images/17082025/23/03/image_17082025_23_03_24_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.5650439262390137 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78338cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:05:17.006416
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_24_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/23/04/image_17082025_23_05_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_24_10651.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_14_9659.jpg', '/home/nano/Desktop/images/17082025/23/04/image_17082025_23_05_04_9647.jpg', '/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_24_10651.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_14_9659.jpg
/home/nano/Desktop/images/17082025/23/04/image_17082025_23_05_04_9647.jpg
/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.6924686431884766 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f08ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:05:32.028328
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_24_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/23/04/image_17082025_23_05_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_24_10651.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_14_9659.jpg', '/home/nano/Desktop/images/17082025/23/04/image_17082025_23_05_04_9647.jpg', '/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_24_10651.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_14_9659.jpg
/home/nano/Desktop/images/17082025/23/04/image_17082025_23_05_04_9647.jpg
/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.443678617477417 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79bd5c88>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:05:47.028837
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_24_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/23/04/image_17082025_23_05_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_24_10651.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_14_9659.jpg', '/home/nano/Desktop/images/17082025/23/04/image_17082025_23_05_04_9647.jpg', '/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_24_10651.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_14_9659.jpg
/home/nano/Desktop/images/17082025/23/04/image_17082025_23_05_04_9647.jpg
/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.5869190692901611 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96ae0cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:06:02.743255
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_24_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/23/04/image_17082025_23_05_04_9647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_24_10651.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_14_9659.jpg', '/home/nano/Desktop/images/17082025/23/04/image_17082025_23_05_04_9647.jpg', '/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_24_10651.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_14_9659.jpg
/home/nano/Desktop/images/17082025/23/04/image_17082025_23_05_04_9647.jpg
/home/nano/Desktop/images/17082025/23/04/image_17082025_23_04_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2436933517456055 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f327cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:06:17.159603
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_54_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_54_10653.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_54_10653.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.459418535232544 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7bf7ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:06:32.125684
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_54_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_54_10653.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_54_10653.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.5345828533172607 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f875d7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:06:47.124249
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_54_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_54_10653.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_54_10653.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4111597537994385 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94f2bcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:07:02.988804
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_54_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_54_10653.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg', '/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_54_10653.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_44_9642.jpg
/home/nano/Desktop/images/17082025/23/05/image_17082025_23_05_34_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.7888991832733154 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f064c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:07:17.224050
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_44_10646.jpg', '/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_44_10646.jpg
/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_34_9639.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_44_9639.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.0111238956451416 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bb0bcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:07:32.253521
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_44_10646.jpg', '/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_44_10646.jpg
/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_34_9639.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_44_9639.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2512123584747314 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94ac4c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:07:47.200031
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_44_10646.jpg', '/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_44_10646.jpg
/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_34_9639.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_44_9639.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.0200157165527344 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3575c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:08:02.864876
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_44_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_44_10646.jpg', '/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg', '/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_44_10646.jpg
/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_34_9639.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_44_9639.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_34_9641.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_24_10650.jpg
/home/nano/Desktop/images/17082025/23/06/image_17082025_23_06_14_9680.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.5681850910186768 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa98a6cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:08:17.314426
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_14_10682.jpg', 2), ('/home/nano/Desktop/images/17082025/23/07/image_17082025_23_08_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_44_10649.jpg', '/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_24_9656.jpg', '/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_14_10682.jpg', '/home/nano/Desktop/images/17082025/23/07/image_17082025_23_08_04_9642.jpg', '/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_44_10649.jpg
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_34_9639.jpg
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_24_9656.jpg
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_14_10682.jpg
/home/nano/Desktop/images/17082025/23/07/image_17082025_23_08_04_9642.jpg
/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.388761520385742 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab036cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:08:32.294357
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_14_10682.jpg', 2), ('/home/nano/Desktop/images/17082025/23/07/image_17082025_23_08_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_44_10649.jpg', '/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_24_9656.jpg', '/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_14_10682.jpg', '/home/nano/Desktop/images/17082025/23/07/image_17082025_23_08_04_9642.jpg', '/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_44_10649.jpg
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_34_9639.jpg
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_24_9656.jpg
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_14_10682.jpg
/home/nano/Desktop/images/17082025/23/07/image_17082025_23_08_04_9642.jpg
/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.371190309524536 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f14fcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:08:47.283656
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_14_10682.jpg', 2), ('/home/nano/Desktop/images/17082025/23/07/image_17082025_23_08_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_44_10649.jpg', '/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_24_9656.jpg', '/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_14_10682.jpg', '/home/nano/Desktop/images/17082025/23/07/image_17082025_23_08_04_9642.jpg', '/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_44_10649.jpg
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_34_9639.jpg
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_24_9656.jpg
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_14_10682.jpg
/home/nano/Desktop/images/17082025/23/07/image_17082025_23_08_04_9642.jpg
/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.031747579574585 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa96b7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:09:03.283590
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_14_10682.jpg', 2), ('/home/nano/Desktop/images/17082025/23/07/image_17082025_23_08_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_44_10649.jpg', '/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_24_9656.jpg', '/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_14_10682.jpg', '/home/nano/Desktop/images/17082025/23/07/image_17082025_23_08_04_9642.jpg', '/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_44_10649.jpg
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_34_9639.jpg
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_24_9656.jpg
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_14_10682.jpg
/home/nano/Desktop/images/17082025/23/07/image_17082025_23_08_04_9642.jpg
/home/nano/Desktop/images/17082025/23/07/image_17082025_23_07_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8204469680786133 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0eebcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:09:17.429878
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_09_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_34_9642.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_24_9640.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_14_10667.jpg', '/home/nano/Desktop/images/17082025/23/08/image_17082025_23_09_04_9650.jpg', '/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_34_9642.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_24_9640.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_14_10667.jpg
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_09_04_9650.jpg
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_54_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.884495735168457 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93fbacc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:09:32.443219
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_09_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_34_9642.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_24_9640.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_14_10667.jpg', '/home/nano/Desktop/images/17082025/23/08/image_17082025_23_09_04_9650.jpg', '/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_34_9642.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_24_9640.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_14_10667.jpg
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_09_04_9650.jpg
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_54_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.401653528213501 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa428cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:09:47.385715
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_09_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_34_9642.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_24_9640.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_14_10667.jpg', '/home/nano/Desktop/images/17082025/23/08/image_17082025_23_09_04_9650.jpg', '/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_34_9642.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_24_9640.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_14_10667.jpg
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_09_04_9650.jpg
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_54_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.3330998420715332 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f7b4cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:10:03.138230
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_09_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_34_9642.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_24_9640.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_14_10667.jpg', '/home/nano/Desktop/images/17082025/23/08/image_17082025_23_09_04_9650.jpg', '/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_34_9642.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_24_9640.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_14_10667.jpg
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_09_04_9650.jpg
/home/nano/Desktop/images/17082025/23/08/image_17082025_23_08_54_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.847686529159546 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89e31cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:10:17.480976
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_14_10685.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_10_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_44_10648.jpg', '/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_24_9655.jpg', '/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_14_10685.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_10_04_9655.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_54_9640.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_44_10648.jpg
/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_24_9655.jpg
/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_14_10685.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_10_04_9655.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_54_9640.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2343947887420654 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86562cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:10:32.530662
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_14_10685.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_10_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_44_10648.jpg', '/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_24_9655.jpg', '/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_14_10685.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_10_04_9655.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_54_9640.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_44_10648.jpg
/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_24_9655.jpg
/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_14_10685.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_10_04_9655.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_54_9640.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4684741497039795 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9294ec18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:10:47.487603
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_14_10685.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_10_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_44_10648.jpg', '/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_24_9655.jpg', '/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_14_10685.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_10_04_9655.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_54_9640.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_44_10648.jpg
/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_24_9655.jpg
/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_14_10685.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_10_04_9655.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_54_9640.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.4260568618774414 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f940aacf8>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:11:03.258383
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_24_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_14_10685.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_10_04_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_44_10648.jpg', '/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_24_9655.jpg', '/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_14_10685.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_10_04_9655.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_54_9640.jpg', '/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_44_10648.jpg
/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_24_9655.jpg
/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_14_10685.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_10_04_9655.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_54_9640.jpg
/home/nano/Desktop/images/17082025/23/09/image_17082025_23_09_44_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.300957441329956 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f976dfcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:11:17.618191
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/10/image_17082025_23_11_05_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_34_10649.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_24_9638.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/10/image_17082025_23_11_05_10662.jpg', '/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_34_10649.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_24_9638.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_14_9658.jpg
/home/nano/Desktop/images/17082025/23/10/image_17082025_23_11_05_10662.jpg
/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_54_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.451828956604004 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88f09cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:11:32.611221
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/10/image_17082025_23_11_05_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_34_10649.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_24_9638.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/10/image_17082025_23_11_05_10662.jpg', '/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_34_10649.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_24_9638.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_14_9658.jpg
/home/nano/Desktop/images/17082025/23/10/image_17082025_23_11_05_10662.jpg
/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_54_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.222418785095215 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa58b7c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:11:47.599289
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/10/image_17082025_23_11_05_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_34_10649.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_24_9638.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/10/image_17082025_23_11_05_10662.jpg', '/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_34_10649.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_24_9638.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_14_9658.jpg
/home/nano/Desktop/images/17082025/23/10/image_17082025_23_11_05_10662.jpg
/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_54_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2843687534332275 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2425cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:12:03.158069
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/10/image_17082025_23_11_05_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_34_10649.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_24_9638.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/10/image_17082025_23_11_05_10662.jpg', '/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_54_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_34_10649.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_24_9638.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_14_9658.jpg
/home/nano/Desktop/images/17082025/23/10/image_17082025_23_11_05_10662.jpg
/home/nano/Desktop/images/17082025/23/10/image_17082025_23_10_54_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.8357932567596436 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0ddecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:12:17.693327
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_12_04_10679.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_54_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg', '/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_24_9638.jpg', '/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_14_9659.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_12_04_10679.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_54_9654.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_24_9638.jpg
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_14_9659.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_12_04_10679.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_54_9654.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.1818034648895264 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d7f2cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:12:32.683980
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_12_04_10679.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_54_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg', '/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_24_9638.jpg', '/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_14_9659.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_12_04_10679.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_54_9654.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_24_9638.jpg
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_14_9659.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_12_04_10679.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_54_9654.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6766860485076904 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f895c5cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:12:47.715120
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_12_04_10679.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_54_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg', '/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_24_9638.jpg', '/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_14_9659.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_12_04_10679.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_54_9654.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_24_9638.jpg
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_14_9659.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_12_04_10679.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_54_9654.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6802544593811035 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8312bc18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:13:02.585475
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_12_04_10679.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_54_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg', '/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_24_9638.jpg', '/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_14_9659.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_12_04_10679.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_54_9654.jpg', '/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_24_9638.jpg
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_14_9659.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_12_04_10679.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_54_9654.jpg
/home/nano/Desktop/images/17082025/23/11/image_17082025_23_11_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.3800079822540283 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9914acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:13:16.812672
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_13_04_10658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_44_9638.jpg', '/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_34_10648.jpg', '/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_14_9653.jpg', '/home/nano/Desktop/images/17082025/23/12/image_17082025_23_13_04_10658.jpg', '/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_54_9641.jpg', '/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_44_9638.jpg
/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_34_10648.jpg
/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_14_9653.jpg
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_13_04_10658.jpg
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_54_9641.jpg
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.263810396194458 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2616cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:13:31.810404
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_13_04_10658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_44_9638.jpg', '/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_34_10648.jpg', '/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_14_9653.jpg', '/home/nano/Desktop/images/17082025/23/12/image_17082025_23_13_04_10658.jpg', '/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_54_9641.jpg', '/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_44_9638.jpg
/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_34_10648.jpg
/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_14_9653.jpg
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_13_04_10658.jpg
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_54_9641.jpg
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.385862112045288 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab5eacc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:13:46.809875
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_13_04_10658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_44_9638.jpg', '/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_34_10648.jpg', '/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_14_9653.jpg', '/home/nano/Desktop/images/17082025/23/12/image_17082025_23_13_04_10658.jpg', '/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_54_9641.jpg', '/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_44_9638.jpg
/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_34_10648.jpg
/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_14_9653.jpg
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_13_04_10658.jpg
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_54_9641.jpg
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.7852687835693359 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f801b6cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:14:02.554293
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_14_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_13_04_10658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_44_9638.jpg', '/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_34_10648.jpg', '/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_14_9653.jpg', '/home/nano/Desktop/images/17082025/23/12/image_17082025_23_13_04_10658.jpg', '/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_54_9641.jpg', '/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_44_9638.jpg
/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_34_10648.jpg
/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_14_9653.jpg
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_13_04_10658.jpg
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_54_9641.jpg
/home/nano/Desktop/images/17082025/23/12/image_17082025_23_12_44_9637.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.203766345977783 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b395cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:14:16.927050
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_25_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/23/13/image_17082025_23_14_04_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_34_9643.jpg', '/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_25_10648.jpg', '/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_14_9661.jpg', '/home/nano/Desktop/images/17082025/23/13/image_17082025_23_14_04_10657.jpg', '/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_54_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_44_9640.jpg
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_34_9643.jpg
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_25_10648.jpg
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_14_9661.jpg
/home/nano/Desktop/images/17082025/23/13/image_17082025_23_14_04_10657.jpg
/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_54_9656.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.7161023616790771 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e216cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:14:31.910224
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_25_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/23/13/image_17082025_23_14_04_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_34_9643.jpg', '/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_25_10648.jpg', '/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_14_9661.jpg', '/home/nano/Desktop/images/17082025/23/13/image_17082025_23_14_04_10657.jpg', '/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_54_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_44_9640.jpg
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_34_9643.jpg
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_25_10648.jpg
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_14_9661.jpg
/home/nano/Desktop/images/17082025/23/13/image_17082025_23_14_04_10657.jpg
/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_54_9656.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4482460021972656 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e91ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:14:46.952005
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_25_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/23/13/image_17082025_23_14_04_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_34_9643.jpg', '/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_25_10648.jpg', '/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_14_9661.jpg', '/home/nano/Desktop/images/17082025/23/13/image_17082025_23_14_04_10657.jpg', '/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_54_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_44_9640.jpg
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_34_9643.jpg
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_25_10648.jpg
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_14_9661.jpg
/home/nano/Desktop/images/17082025/23/13/image_17082025_23_14_04_10657.jpg
/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_54_9656.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.611520528793335 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9be5cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:15:02.793822
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_25_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/23/13/image_17082025_23_14_04_10657.jpg', 2), ('/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_34_9643.jpg', '/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_25_10648.jpg', '/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_14_9661.jpg', '/home/nano/Desktop/images/17082025/23/13/image_17082025_23_14_04_10657.jpg', '/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_54_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_44_9640.jpg
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_34_9643.jpg
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_25_10648.jpg
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_14_9661.jpg
/home/nano/Desktop/images/17082025/23/13/image_17082025_23_14_04_10657.jpg
/home/nano/Desktop/images/17082025/23/13/image_17082025_23_13_54_9656.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.6154789924621582 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7903ecf8>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:15:17.037675
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_15_04_9680.jpg', 2), ('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_34_9638.jpg', '/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_24_10646.jpg', '/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/14/image_17082025_23_15_04_9680.jpg', '/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_44_9640.jpg
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_34_9638.jpg
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_24_10646.jpg
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_14_9658.jpg
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_15_04_9680.jpg
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_54_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1840145587921143 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87765cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:15:32.056315
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_15_04_9680.jpg', 2), ('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_34_9638.jpg', '/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_24_10646.jpg', '/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/14/image_17082025_23_15_04_9680.jpg', '/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_44_9640.jpg
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_34_9638.jpg
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_24_10646.jpg
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_14_9658.jpg
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_15_04_9680.jpg
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_54_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.7306239604949951 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c301cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:15:47.037754
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_15_04_9680.jpg', 2), ('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_34_9638.jpg', '/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_24_10646.jpg', '/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/14/image_17082025_23_15_04_9680.jpg', '/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_44_9640.jpg
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_34_9638.jpg
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_24_10646.jpg
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_14_9658.jpg
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_15_04_9680.jpg
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_54_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.5015630722045898 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9320cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:16:02.692268
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_24_10646.jpg', 2), ('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_15_04_9680.jpg', 2), ('/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_34_9638.jpg', '/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_24_10646.jpg', '/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/14/image_17082025_23_15_04_9680.jpg', '/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_54_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_44_9640.jpg
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_34_9638.jpg
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_24_10646.jpg
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_14_9658.jpg
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_15_04_9680.jpg
/home/nano/Desktop/images/17082025/23/14/image_17082025_23_14_54_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2832088470458984 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb6518cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:16:17.231717
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_44_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_34_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_16_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_44_9660.jpg', '/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_34_9658.jpg', '/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_24_10649.jpg', '/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/15/image_17082025_23_16_04_9651.jpg', '/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_44_9660.jpg
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_34_9658.jpg
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_24_10649.jpg
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_14_9658.jpg
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_16_04_9651.jpg
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.462620258331299 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb17b0cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:16:32.158202
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_44_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_34_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_16_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_44_9660.jpg', '/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_34_9658.jpg', '/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_24_10649.jpg', '/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/15/image_17082025_23_16_04_9651.jpg', '/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_44_9660.jpg
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_34_9658.jpg
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_24_10649.jpg
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_14_9658.jpg
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_16_04_9651.jpg
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.5152080059051514 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa529ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:16:47.149504
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_44_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_34_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_16_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_44_9660.jpg', '/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_34_9658.jpg', '/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_24_10649.jpg', '/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/15/image_17082025_23_16_04_9651.jpg', '/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_44_9660.jpg
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_34_9658.jpg
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_24_10649.jpg
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_14_9658.jpg
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_16_04_9651.jpg
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.450608253479004 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f908e3cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:17:02.905150
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_44_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_34_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_24_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_16_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_44_9660.jpg', '/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_34_9658.jpg', '/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_24_10649.jpg', '/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/15/image_17082025_23_16_04_9651.jpg', '/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_44_9660.jpg
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_34_9658.jpg
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_24_10649.jpg
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_14_9658.jpg
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_16_04_9651.jpg
/home/nano/Desktop/images/17082025/23/15/image_17082025_23_15_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8426861763000488 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97270cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:17:17.272573
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_24_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_14_9683.jpg', 2), ('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_17_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_34_9637.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_24_10651.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_14_9683.jpg', '/home/nano/Desktop/images/17082025/23/16/image_17082025_23_17_04_9649.jpg', '/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_54_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_34_9637.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_24_10651.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_14_9683.jpg
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_17_04_9649.jpg
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_54_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.9958417415618896 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac5f8cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:17:32.238813
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_24_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_14_9683.jpg', 2), ('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_17_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_34_9637.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_24_10651.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_14_9683.jpg', '/home/nano/Desktop/images/17082025/23/16/image_17082025_23_17_04_9649.jpg', '/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_54_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_34_9637.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_24_10651.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_14_9683.jpg
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_17_04_9649.jpg
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_54_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2293074131011963 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f979b1cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:17:47.258059
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_24_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_14_9683.jpg', 2), ('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_17_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_34_9637.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_24_10651.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_14_9683.jpg', '/home/nano/Desktop/images/17082025/23/16/image_17082025_23_17_04_9649.jpg', '/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_54_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_34_9637.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_24_10651.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_14_9683.jpg
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_17_04_9649.jpg
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_54_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.767308235168457 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85f60cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:18:02.970228
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_34_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_24_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_14_9683.jpg', 2), ('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_17_04_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_34_9637.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_24_10651.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_14_9683.jpg', '/home/nano/Desktop/images/17082025/23/16/image_17082025_23_17_04_9649.jpg', '/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_54_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_34_9637.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_24_10651.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_14_9683.jpg
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_17_04_9649.jpg
/home/nano/Desktop/images/17082025/23/16/image_17082025_23_16_54_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.054905891418457 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78ce7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:18:17.364242
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_15_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_18_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_54_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_44_10651.jpg', '/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_15_10673.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_18_04_9641.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_54_10653.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_44_10651.jpg
/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_34_9639.jpg
/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_15_10673.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_18_04_9641.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_54_10653.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.7539374828338623 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7a2ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:18:32.344634
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_15_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_18_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_54_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_44_10651.jpg', '/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_15_10673.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_18_04_9641.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_54_10653.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_44_10651.jpg
/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_34_9639.jpg
/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_15_10673.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_18_04_9641.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_54_10653.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.15990209579467773 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c033c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:18:47.354391
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_15_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_18_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_54_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_44_10651.jpg', '/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_15_10673.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_18_04_9641.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_54_10653.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_44_10651.jpg
/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_34_9639.jpg
/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_15_10673.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_18_04_9641.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_54_10653.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1508152484893799 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f948b2cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:19:03.616338
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_15_10673.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_18_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_54_10653.jpg', 2), ('/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_44_10651.jpg', '/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_15_10673.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_18_04_9641.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_54_10653.jpg', '/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_44_10651.jpg
/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_34_9639.jpg
/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_15_10673.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_18_04_9641.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_54_10653.jpg
/home/nano/Desktop/images/17082025/23/17/image_17082025_23_17_44_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.628411054611206 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a5f5cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:19:17.450572
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_14_10685.jpg', 2), ('/home/nano/Desktop/images/17082025/23/18/image_17082025_23_19_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_44_10648.jpg', '/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_34_9638.jpg', '/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_24_9638.jpg', '/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_14_10685.jpg', '/home/nano/Desktop/images/17082025/23/18/image_17082025_23_19_04_9661.jpg', '/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_44_10648.jpg
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_34_9638.jpg
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_24_9638.jpg
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_14_10685.jpg
/home/nano/Desktop/images/17082025/23/18/image_17082025_23_19_04_9661.jpg
/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.1381778717041016 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4a67cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:19:32.474544
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_14_10685.jpg', 2), ('/home/nano/Desktop/images/17082025/23/18/image_17082025_23_19_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_44_10648.jpg', '/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_34_9638.jpg', '/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_24_9638.jpg', '/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_14_10685.jpg', '/home/nano/Desktop/images/17082025/23/18/image_17082025_23_19_04_9661.jpg', '/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_44_10648.jpg
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_34_9638.jpg
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_24_9638.jpg
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_14_10685.jpg
/home/nano/Desktop/images/17082025/23/18/image_17082025_23_19_04_9661.jpg
/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2421131134033203 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa91f4cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:19:47.457477
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_14_10685.jpg', 2), ('/home/nano/Desktop/images/17082025/23/18/image_17082025_23_19_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_44_10648.jpg', '/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_34_9638.jpg', '/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_24_9638.jpg', '/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_14_10685.jpg', '/home/nano/Desktop/images/17082025/23/18/image_17082025_23_19_04_9661.jpg', '/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_44_10648.jpg
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_34_9638.jpg
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_24_9638.jpg
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_14_10685.jpg
/home/nano/Desktop/images/17082025/23/18/image_17082025_23_19_04_9661.jpg
/home/nano/Desktop/images/17082025/23/18/image_17082025_23_18_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2961738109588623 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8233cc18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:20:03.205118
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_14_10685.jpg', 2), ('/home/nano/Desktop/images/17082025/23/18/image_17082025_23_19_04_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg', '/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_44_10648.jpg', '/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_34_9638.jpg', '/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_24_9638.jpg', '/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_14_10685.jpg', '/home/nano/Desktop/images/17082025/23/18/image_17082025_23_19_04_9661.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_44_10648.jpg
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_34_9638.jpg
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_24_9638.jpg
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_14_10685.jpg
/home/nano/Desktop/images/17082025/23/18/image_17082025_23_19_04_9661.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.3464608192443848 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f945dfc18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:20:17.531630
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_20_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_24_9642.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_14_10669.jpg', '/home/nano/Desktop/images/17082025/23/19/image_17082025_23_20_04_9651.jpg', '/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_24_9642.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_14_10669.jpg
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_20_04_9651.jpg
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.220299243927002 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faeeeacc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:20:32.560166
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_20_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_24_9642.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_14_10669.jpg', '/home/nano/Desktop/images/17082025/23/19/image_17082025_23_20_04_9651.jpg', '/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_24_9642.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_14_10669.jpg
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_20_04_9651.jpg
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2259321212768555 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82fc4c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:20:47.541995
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_20_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_24_9642.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_14_10669.jpg', '/home/nano/Desktop/images/17082025/23/19/image_17082025_23_20_04_9651.jpg', '/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_24_9642.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_14_10669.jpg
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_20_04_9651.jpg
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.464872360229492 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa7c0c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:21:03.211050
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_24_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_14_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_20_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_24_9642.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_14_10669.jpg', '/home/nano/Desktop/images/17082025/23/19/image_17082025_23_20_04_9651.jpg', '/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_24_9642.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_14_10669.jpg
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_20_04_9651.jpg
/home/nano/Desktop/images/17082025/23/19/image_17082025_23_19_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2951891422271729 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f09ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:21:17.667035
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_21_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg', '/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_24_9637.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_21_04_9651.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_44_10649.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg
/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_24_9637.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_21_04_9651.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_44_10649.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.081855297088623 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a7a6cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:21:32.633844
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_21_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg', '/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_24_9637.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_21_04_9651.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_44_10649.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg
/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_24_9637.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_21_04_9651.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_44_10649.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3598978519439697 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa19e6cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:21:47.658380
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_21_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg', '/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_24_9637.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_21_04_9651.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_44_10649.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg
/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_24_9637.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_21_04_9651.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_44_10649.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.7690749168395996 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae1dccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:22:03.328006
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_21_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg', '/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_24_9637.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_21_04_9651.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_44_10649.jpg', '/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg
/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_24_9637.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_21_04_9651.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_54_9656.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_44_10649.jpg
/home/nano/Desktop/images/17082025/23/20/image_17082025_23_20_34_9646.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.391301155090332 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98268cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:22:17.736966
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/21/image_17082025_23_22_05_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_44_9638.jpg', '/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_24_9637.jpg', '/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/21/image_17082025_23_22_05_10663.jpg', '/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_54_9640.jpg', '/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_44_9638.jpg
/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_24_9637.jpg
/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_14_9656.jpg
/home/nano/Desktop/images/17082025/23/21/image_17082025_23_22_05_10663.jpg
/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_54_9640.jpg
/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4156031608581543 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d021cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:22:32.721190
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/21/image_17082025_23_22_05_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_44_9638.jpg', '/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_24_9637.jpg', '/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/21/image_17082025_23_22_05_10663.jpg', '/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_54_9640.jpg', '/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_44_9638.jpg
/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_24_9637.jpg
/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_14_9656.jpg
/home/nano/Desktop/images/17082025/23/21/image_17082025_23_22_05_10663.jpg
/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_54_9640.jpg
/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4726357460021973 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84cf3cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:22:47.748699
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/21/image_17082025_23_22_05_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_44_9638.jpg', '/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_24_9637.jpg', '/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/21/image_17082025_23_22_05_10663.jpg', '/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_54_9640.jpg', '/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_44_9638.jpg
/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_24_9637.jpg
/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_14_9656.jpg
/home/nano/Desktop/images/17082025/23/21/image_17082025_23_22_05_10663.jpg
/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_54_9640.jpg
/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.409522771835327 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8fbafcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:23:02.554838
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/21/image_17082025_23_22_05_10663.jpg', 2), ('/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_44_9638.jpg', '/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_24_9637.jpg', '/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/21/image_17082025_23_22_05_10663.jpg', '/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_54_9640.jpg', '/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_44_9638.jpg
/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_24_9637.jpg
/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_14_9656.jpg
/home/nano/Desktop/images/17082025/23/21/image_17082025_23_22_05_10663.jpg
/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_54_9640.jpg
/home/nano/Desktop/images/17082025/23/21/image_17082025_23_21_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.4371321201324463 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa659c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:23:16.825177
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_44_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_24_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/22/image_17082025_23_23_04_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_44_9660.jpg', '/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_34_10647.jpg', '/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_24_9649.jpg', '/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/22/image_17082025_23_23_04_10674.jpg', '/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_44_9660.jpg
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_34_10647.jpg
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_24_9649.jpg
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_14_9656.jpg
/home/nano/Desktop/images/17082025/23/22/image_17082025_23_23_04_10674.jpg
/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_54_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2032110691070557 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab230c88>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:23:31.824004
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_44_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_24_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/22/image_17082025_23_23_04_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_44_9660.jpg', '/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_34_10647.jpg', '/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_24_9649.jpg', '/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/22/image_17082025_23_23_04_10674.jpg', '/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_44_9660.jpg
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_34_10647.jpg
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_24_9649.jpg
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_14_9656.jpg
/home/nano/Desktop/images/17082025/23/22/image_17082025_23_23_04_10674.jpg
/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_54_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.45548939704895 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9eac2cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:23:46.831684
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_44_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_24_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/22/image_17082025_23_23_04_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_44_9660.jpg', '/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_34_10647.jpg', '/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_24_9649.jpg', '/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/22/image_17082025_23_23_04_10674.jpg', '/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_44_9660.jpg
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_34_10647.jpg
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_24_9649.jpg
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_14_9656.jpg
/home/nano/Desktop/images/17082025/23/22/image_17082025_23_23_04_10674.jpg
/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_54_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.6184380054473877 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99e8dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:24:02.621518
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_44_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_24_9649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/22/image_17082025_23_23_04_10674.jpg', 2), ('/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_44_9660.jpg', '/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_34_10647.jpg', '/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_24_9649.jpg', '/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/22/image_17082025_23_23_04_10674.jpg', '/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_44_9660.jpg
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_34_10647.jpg
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_24_9649.jpg
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_14_9656.jpg
/home/nano/Desktop/images/17082025/23/22/image_17082025_23_23_04_10674.jpg
/home/nano/Desktop/images/17082025/23/22/image_17082025_23_22_54_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2485005855560303 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e533cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:24:16.996439
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_24_04_10658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_34_10647.jpg', '/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_24_9639.jpg', '/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_14_9660.jpg', '/home/nano/Desktop/images/17082025/23/23/image_17082025_23_24_04_10658.jpg', '/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_44_9639.jpg
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_34_10647.jpg
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_24_9639.jpg
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_14_9660.jpg
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_24_04_10658.jpg
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.194228410720825 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94a02cf8>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:24:31.979579
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_24_04_10658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_34_10647.jpg', '/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_24_9639.jpg', '/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_14_9660.jpg', '/home/nano/Desktop/images/17082025/23/23/image_17082025_23_24_04_10658.jpg', '/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_44_9639.jpg
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_34_10647.jpg
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_24_9639.jpg
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_14_9660.jpg
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_24_04_10658.jpg
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6988463401794434 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ff48cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:24:46.962120
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_24_04_10658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_34_10647.jpg', '/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_24_9639.jpg', '/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_14_9660.jpg', '/home/nano/Desktop/images/17082025/23/23/image_17082025_23_24_04_10658.jpg', '/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_44_9639.jpg
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_34_10647.jpg
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_24_9639.jpg
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_14_9660.jpg
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_24_04_10658.jpg
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4702577590942383 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1396cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:25:02.676034
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_14_9660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_24_04_10658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_34_10647.jpg', '/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_24_9639.jpg', '/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_14_9660.jpg', '/home/nano/Desktop/images/17082025/23/23/image_17082025_23_24_04_10658.jpg', '/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_44_9639.jpg
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_34_10647.jpg
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_24_9639.jpg
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_14_9660.jpg
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_24_04_10658.jpg
/home/nano/Desktop/images/17082025/23/23/image_17082025_23_23_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.676961898803711 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86934c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:25:17.128083
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_44_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_25_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_25_04_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_44_9656.jpg', '/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_34_9643.jpg', '/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_25_10649.jpg', '/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_14_9659.jpg', '/home/nano/Desktop/images/17082025/23/24/image_17082025_23_25_04_10669.jpg', '/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_44_9656.jpg
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_34_9643.jpg
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_25_10649.jpg
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_14_9659.jpg
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_25_04_10669.jpg
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1458990573883057 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa93afcf8>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:25:32.067047
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_44_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_25_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_25_04_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_44_9656.jpg', '/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_34_9643.jpg', '/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_25_10649.jpg', '/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_14_9659.jpg', '/home/nano/Desktop/images/17082025/23/24/image_17082025_23_25_04_10669.jpg', '/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_44_9656.jpg
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_34_9643.jpg
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_25_10649.jpg
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_14_9659.jpg
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_25_04_10669.jpg
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4059088230133057 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1105cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:25:47.067944
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_44_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_25_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_25_04_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_44_9656.jpg', '/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_34_9643.jpg', '/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_25_10649.jpg', '/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_14_9659.jpg', '/home/nano/Desktop/images/17082025/23/24/image_17082025_23_25_04_10669.jpg', '/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_44_9656.jpg
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_34_9643.jpg
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_25_10649.jpg
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_14_9659.jpg
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_25_04_10669.jpg
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8946893215179443 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0b36cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:26:02.742288
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_44_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_34_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_25_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_14_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_25_04_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_44_9656.jpg', '/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_34_9643.jpg', '/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_25_10649.jpg', '/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_14_9659.jpg', '/home/nano/Desktop/images/17082025/23/24/image_17082025_23_25_04_10669.jpg', '/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_44_9656.jpg
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_34_9643.jpg
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_25_10649.jpg
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_14_9659.jpg
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_25_04_10669.jpg
/home/nano/Desktop/images/17082025/23/24/image_17082025_23_24_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2254512310028076 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0fbfcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:26:17.191229
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_26_04_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_44_9641.jpg', '/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_24_10650.jpg', '/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/25/image_17082025_23_26_04_9659.jpg', '/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_44_9641.jpg
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_34_9639.jpg
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_24_10650.jpg
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_14_9656.jpg
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_26_04_9659.jpg
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4158570766448975 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86897cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:26:32.204412
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_26_04_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_44_9641.jpg', '/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_24_10650.jpg', '/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/25/image_17082025_23_26_04_9659.jpg', '/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_44_9641.jpg
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_34_9639.jpg
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_24_10650.jpg
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_14_9656.jpg
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_26_04_9659.jpg
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4442954063415527 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3135c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:26:47.181141
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_26_04_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_44_9641.jpg', '/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_24_10650.jpg', '/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/25/image_17082025_23_26_04_9659.jpg', '/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_44_9641.jpg
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_34_9639.jpg
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_24_10650.jpg
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_14_9656.jpg
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_26_04_9659.jpg
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.689924955368042 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f779cbcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:27:03.092125
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_44_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_26_04_9659.jpg', 2), ('/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_44_9641.jpg', '/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_24_10650.jpg', '/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/25/image_17082025_23_26_04_9659.jpg', '/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_44_9641.jpg
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_34_9639.jpg
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_24_10650.jpg
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_14_9656.jpg
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_26_04_9659.jpg
/home/nano/Desktop/images/17082025/23/25/image_17082025_23_25_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.8354713916778564 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fabafccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:27:17.302188
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_44_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_27_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_44_9643.jpg', '/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_24_10650.jpg', '/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/26/image_17082025_23_27_04_9652.jpg', '/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_44_9643.jpg
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_34_9639.jpg
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_24_10650.jpg
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_14_9658.jpg
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_27_04_9652.jpg
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.6135804653167725 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa513ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:27:32.275952
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_44_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_27_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_44_9643.jpg', '/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_24_10650.jpg', '/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/26/image_17082025_23_27_04_9652.jpg', '/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_44_9643.jpg
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_34_9639.jpg
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_24_10650.jpg
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_14_9658.jpg
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_27_04_9652.jpg
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8848216533660889 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90705cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:27:47.276224
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_44_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_27_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_44_9643.jpg', '/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_24_10650.jpg', '/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/26/image_17082025_23_27_04_9652.jpg', '/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_44_9643.jpg
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_34_9639.jpg
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_24_10650.jpg
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_14_9658.jpg
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_27_04_9652.jpg
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.0073928833007812 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8335cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:28:02.927960
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_44_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_27_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_44_9643.jpg', '/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_24_10650.jpg', '/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/26/image_17082025_23_27_04_9652.jpg', '/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_44_9643.jpg
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_34_9639.jpg
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_24_10650.jpg
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_14_9658.jpg
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_27_04_9652.jpg
/home/nano/Desktop/images/17082025/23/26/image_17082025_23_26_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.3914122581481934 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98c05cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:28:17.397668
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_14_9670.jpg', 2), ('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_28_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_54_10669.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_24_10648.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_14_9670.jpg', '/home/nano/Desktop/images/17082025/23/27/image_17082025_23_28_04_9643.jpg', '/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_54_10669.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_34_9640.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_24_10648.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_14_9670.jpg
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_28_04_9643.jpg
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_54_10669.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.366442918777466 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0366c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:28:32.396286
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_14_9670.jpg', 2), ('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_28_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_54_10669.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_24_10648.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_14_9670.jpg', '/home/nano/Desktop/images/17082025/23/27/image_17082025_23_28_04_9643.jpg', '/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_54_10669.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_34_9640.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_24_10648.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_14_9670.jpg
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_28_04_9643.jpg
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_54_10669.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4081344604492188 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9dfc6cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:28:47.397348
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_14_9670.jpg', 2), ('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_28_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_54_10669.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_24_10648.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_14_9670.jpg', '/home/nano/Desktop/images/17082025/23/27/image_17082025_23_28_04_9643.jpg', '/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_54_10669.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_34_9640.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_24_10648.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_14_9670.jpg
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_28_04_9643.jpg
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_54_10669.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.0467312335968018 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf158cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:29:03.596687
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_14_9670.jpg', 2), ('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_28_04_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_54_10669.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_24_10648.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_14_9670.jpg', '/home/nano/Desktop/images/17082025/23/27/image_17082025_23_28_04_9643.jpg', '/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_54_10669.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_34_9640.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_24_10648.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_14_9670.jpg
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_28_04_9643.jpg
/home/nano/Desktop/images/17082025/23/27/image_17082025_23_27_54_10669.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6914055347442627 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f94ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:29:17.556290
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_15_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_29_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_54_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_44_10651.jpg', '/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_24_9636.jpg', '/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_15_10667.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_29_04_9642.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_54_10666.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_44_10651.jpg
/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_24_9636.jpg
/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_15_10667.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_29_04_9642.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_54_10666.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3272995948791504 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e888cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:29:32.615738
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_15_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_29_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_54_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_44_10651.jpg', '/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_24_9636.jpg', '/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_15_10667.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_29_04_9642.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_54_10666.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_44_10651.jpg
/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_24_9636.jpg
/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_15_10667.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_29_04_9642.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_54_10666.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.1103508472442627 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa70d9c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:29:47.573339
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_15_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_29_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_54_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_44_10651.jpg', '/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_24_9636.jpg', '/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_15_10667.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_29_04_9642.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_54_10666.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_44_10651.jpg
/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_24_9636.jpg
/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_15_10667.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_29_04_9642.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_54_10666.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1089143753051758 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83e0bcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:30:03.232413
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_24_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_15_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_29_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_54_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_44_10651.jpg', '/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_24_9636.jpg', '/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_15_10667.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_29_04_9642.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_54_10666.jpg', '/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_44_10651.jpg
/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_24_9636.jpg
/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_15_10667.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_29_04_9642.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_54_10666.jpg
/home/nano/Desktop/images/17082025/23/28/image_17082025_23_28_44_9658.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.7286834716796875 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86ecdcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:30:17.669835
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_34_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_14_10690.jpg', 2), ('/home/nano/Desktop/images/17082025/23/29/image_17082025_23_30_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_44_10647.jpg', '/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_34_9653.jpg', '/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_24_9641.jpg', '/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_14_10690.jpg', '/home/nano/Desktop/images/17082025/23/29/image_17082025_23_30_04_9648.jpg', '/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_44_10647.jpg
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_34_9653.jpg
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_24_9641.jpg
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_14_10690.jpg
/home/nano/Desktop/images/17082025/23/29/image_17082025_23_30_04_9648.jpg
/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.023508310317993 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95d35cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:30:32.686101
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_34_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_14_10690.jpg', 2), ('/home/nano/Desktop/images/17082025/23/29/image_17082025_23_30_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_44_10647.jpg', '/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_34_9653.jpg', '/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_24_9641.jpg', '/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_14_10690.jpg', '/home/nano/Desktop/images/17082025/23/29/image_17082025_23_30_04_9648.jpg', '/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_44_10647.jpg
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_34_9653.jpg
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_24_9641.jpg
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_14_10690.jpg
/home/nano/Desktop/images/17082025/23/29/image_17082025_23_30_04_9648.jpg
/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.4775209426879883 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4e1ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:30:47.709835
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_34_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_14_10690.jpg', 2), ('/home/nano/Desktop/images/17082025/23/29/image_17082025_23_30_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_44_10647.jpg', '/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_34_9653.jpg', '/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_24_9641.jpg', '/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_14_10690.jpg', '/home/nano/Desktop/images/17082025/23/29/image_17082025_23_30_04_9648.jpg', '/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_44_10647.jpg
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_34_9653.jpg
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_24_9641.jpg
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_14_10690.jpg
/home/nano/Desktop/images/17082025/23/29/image_17082025_23_30_04_9648.jpg
/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.1435108184814453 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a2d3cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:31:02.428272
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_44_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_34_9653.jpg', 2), ('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_14_10690.jpg', 2), ('/home/nano/Desktop/images/17082025/23/29/image_17082025_23_30_04_9648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_44_10647.jpg', '/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_34_9653.jpg', '/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_24_9641.jpg', '/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_14_10690.jpg', '/home/nano/Desktop/images/17082025/23/29/image_17082025_23_30_04_9648.jpg', '/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_44_10647.jpg
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_34_9653.jpg
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_24_9641.jpg
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_14_10690.jpg
/home/nano/Desktop/images/17082025/23/29/image_17082025_23_30_04_9648.jpg
/home/nano/Desktop/images/17082025/23/29/image_17082025_23_29_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.275055170059204 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faab12cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:31:16.833737
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_31_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_54_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_34_9642.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_24_9639.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_14_10671.jpg', '/home/nano/Desktop/images/17082025/23/30/image_17082025_23_31_04_9651.jpg', '/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_54_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_34_9642.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_24_9639.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_14_10671.jpg
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_31_04_9651.jpg
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_54_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.1335856914520264 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ff87c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:31:31.797463
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_31_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_54_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_34_9642.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_24_9639.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_14_10671.jpg', '/home/nano/Desktop/images/17082025/23/30/image_17082025_23_31_04_9651.jpg', '/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_54_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_34_9642.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_24_9639.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_14_10671.jpg
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_31_04_9651.jpg
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_54_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4844436645507812 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa31e4cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:31:46.811256
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_31_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_54_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_34_9642.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_24_9639.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_14_10671.jpg', '/home/nano/Desktop/images/17082025/23/30/image_17082025_23_31_04_9651.jpg', '/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_54_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_34_9642.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_24_9639.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_14_10671.jpg
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_31_04_9651.jpg
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_54_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.659475564956665 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5ec8cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:32:02.402552
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_31_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_54_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_34_9642.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_24_9639.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_14_10671.jpg', '/home/nano/Desktop/images/17082025/23/30/image_17082025_23_31_04_9651.jpg', '/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_54_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_34_9642.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_24_9639.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_14_10671.jpg
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_31_04_9651.jpg
/home/nano/Desktop/images/17082025/23/30/image_17082025_23_30_54_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.0083141326904297 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4374cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:32:16.925270
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_35_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_24_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_32_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_44_9642.jpg', '/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_35_10649.jpg', '/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_24_9654.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_32_04_9646.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_54_9638.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_44_9642.jpg
/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_35_10649.jpg
/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_24_9654.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_32_04_9646.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_54_9638.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4439899921417236 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91662cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:32:31.906313
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_35_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_24_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_32_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_44_9642.jpg', '/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_35_10649.jpg', '/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_24_9654.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_32_04_9646.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_54_9638.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_44_9642.jpg
/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_35_10649.jpg
/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_24_9654.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_32_04_9646.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_54_9638.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.424375534057617 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2009cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:32:46.947681
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_35_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_24_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_32_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_44_9642.jpg', '/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_35_10649.jpg', '/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_24_9654.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_32_04_9646.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_54_9638.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_44_9642.jpg
/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_35_10649.jpg
/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_24_9654.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_32_04_9646.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_54_9638.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.360888957977295 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86a2fcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:33:02.795707
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_44_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_35_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_24_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_32_04_9646.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_44_9642.jpg', '/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_35_10649.jpg', '/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_24_9654.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_32_04_9646.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_54_9638.jpg', '/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_44_9642.jpg
/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_35_10649.jpg
/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_24_9654.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_32_04_9646.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_54_9638.jpg
/home/nano/Desktop/images/17082025/23/31/image_17082025_23_31_44_10649.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.3082079887390137 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8462cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:33:17.059439
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/23/32/image_17082025_23_33_04_10675.jpg', 2), ('/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_34_10649.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_24_9639.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_14_9663.jpg', '/home/nano/Desktop/images/17082025/23/32/image_17082025_23_33_04_10675.jpg', '/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_54_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_34_10649.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_24_9639.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_14_9663.jpg
/home/nano/Desktop/images/17082025/23/32/image_17082025_23_33_04_10675.jpg
/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_54_9636.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2337992191314697 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb04a9cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:33:32.071964
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/23/32/image_17082025_23_33_04_10675.jpg', 2), ('/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_34_10649.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_24_9639.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_14_9663.jpg', '/home/nano/Desktop/images/17082025/23/32/image_17082025_23_33_04_10675.jpg', '/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_54_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_34_10649.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_24_9639.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_14_9663.jpg
/home/nano/Desktop/images/17082025/23/32/image_17082025_23_33_04_10675.jpg
/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_54_9636.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.5479505062103271 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85273cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:33:47.053618
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/23/32/image_17082025_23_33_04_10675.jpg', 2), ('/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_34_10649.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_24_9639.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_14_9663.jpg', '/home/nano/Desktop/images/17082025/23/32/image_17082025_23_33_04_10675.jpg', '/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_54_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_34_10649.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_24_9639.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_14_9663.jpg
/home/nano/Desktop/images/17082025/23/32/image_17082025_23_33_04_10675.jpg
/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_54_9636.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2500665187835693 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2be7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:34:03.022876
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_34_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/23/32/image_17082025_23_33_04_10675.jpg', 2), ('/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_34_10649.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_24_9639.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_14_9663.jpg', '/home/nano/Desktop/images/17082025/23/32/image_17082025_23_33_04_10675.jpg', '/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_54_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_34_10649.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_24_9639.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_14_9663.jpg
/home/nano/Desktop/images/17082025/23/32/image_17082025_23_33_04_10675.jpg
/home/nano/Desktop/images/17082025/23/32/image_17082025_23_32_54_9636.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.717938184738159 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f5fbcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:34:17.159211
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_34_04_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg', '/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_34_10647.jpg', '/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_24_9638.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_34_04_10667.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_54_9639.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_34_10647.jpg
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_24_9638.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_34_04_10667.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_54_9639.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.217045545578003 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89033cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:34:32.164587
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_34_04_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg', '/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_34_10647.jpg', '/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_24_9638.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_34_04_10667.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_54_9639.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_34_10647.jpg
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_24_9638.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_34_04_10667.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_54_9639.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2461280822753906 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faac41cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:34:47.163346
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_34_04_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg', '/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_34_10647.jpg', '/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_24_9638.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_34_04_10667.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_54_9639.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_34_10647.jpg
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_24_9638.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_34_04_10667.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_54_9639.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.7576980590820312 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82b77cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:35:02.979547
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_34_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_34_04_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_54_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg', '/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_34_10647.jpg', '/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_24_9638.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_34_04_10667.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_54_9639.jpg', '/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_34_10647.jpg
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_24_9638.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_34_04_10667.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_54_9639.jpg
/home/nano/Desktop/images/17082025/23/33/image_17082025_23_33_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4776878356933594 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae6ffcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:35:17.274787
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_34_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_14_9679.jpg', 2), ('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_35_04_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg', '/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_34_10669.jpg', '/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_14_9679.jpg', '/home/nano/Desktop/images/17082025/23/34/image_17082025_23_35_04_10662.jpg', '/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_54_9638.jpg', '/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_34_10669.jpg
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_14_9679.jpg
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_35_04_10662.jpg
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_54_9638.jpg
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4273748397827148 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb294ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:35:32.268475
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_34_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_14_9679.jpg', 2), ('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_35_04_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg', '/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_34_10669.jpg', '/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_14_9679.jpg', '/home/nano/Desktop/images/17082025/23/34/image_17082025_23_35_04_10662.jpg', '/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_54_9638.jpg', '/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_34_10669.jpg
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_14_9679.jpg
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_35_04_10662.jpg
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_54_9638.jpg
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.478412628173828 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7d4ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:35:47.377501
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_34_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_14_9679.jpg', 2), ('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_35_04_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg', '/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_34_10669.jpg', '/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_14_9679.jpg', '/home/nano/Desktop/images/17082025/23/34/image_17082025_23_35_04_10662.jpg', '/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_54_9638.jpg', '/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_34_10669.jpg
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_14_9679.jpg
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_35_04_10662.jpg
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_54_9638.jpg
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4234650135040283 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7aaf2c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:36:02.830641
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_34_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_14_9679.jpg', 2), ('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_35_04_10662.jpg', 2), ('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_54_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg', '/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_34_10669.jpg', '/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_14_9679.jpg', '/home/nano/Desktop/images/17082025/23/34/image_17082025_23_35_04_10662.jpg', '/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_54_9638.jpg', '/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_34_10669.jpg
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_14_9679.jpg
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_35_04_10662.jpg
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_54_9638.jpg
/home/nano/Desktop/images/17082025/23/34/image_17082025_23_34_44_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.0642027854919434 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0a73cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:36:17.470650
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_25_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_36_04_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_25_10648.jpg', '/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_14_9654.jpg', '/home/nano/Desktop/images/17082025/23/35/image_17082025_23_36_04_10668.jpg', '/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_54_9641.jpg', '/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_44_9639.jpg
/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_25_10648.jpg
/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_14_9654.jpg
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_36_04_10668.jpg
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_54_9641.jpg
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.391610860824585 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa9164cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:36:32.474151
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_25_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_36_04_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_25_10648.jpg', '/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_14_9654.jpg', '/home/nano/Desktop/images/17082025/23/35/image_17082025_23_36_04_10668.jpg', '/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_54_9641.jpg', '/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_44_9639.jpg
/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_25_10648.jpg
/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_14_9654.jpg
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_36_04_10668.jpg
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_54_9641.jpg
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8698465824127197 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ad52cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:36:47.448003
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_25_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_36_04_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_25_10648.jpg', '/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_14_9654.jpg', '/home/nano/Desktop/images/17082025/23/35/image_17082025_23_36_04_10668.jpg', '/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_54_9641.jpg', '/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_44_9639.jpg
/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_25_10648.jpg
/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_14_9654.jpg
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_36_04_10668.jpg
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_54_9641.jpg
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.0985186100006104 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b2cccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:37:03.364143
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_25_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_36_04_10668.jpg', 2), ('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_25_10648.jpg', '/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_14_9654.jpg', '/home/nano/Desktop/images/17082025/23/35/image_17082025_23_36_04_10668.jpg', '/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_54_9641.jpg', '/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_44_9639.jpg
/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_25_10648.jpg
/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_14_9654.jpg
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_36_04_10668.jpg
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_54_9641.jpg
/home/nano/Desktop/images/17082025/23/35/image_17082025_23_35_44_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4986560344696045 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab70fcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:37:17.546952
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/23/36/image_17082025_23_37_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_24_10647.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_14_9655.jpg', '/home/nano/Desktop/images/17082025/23/36/image_17082025_23_37_04_9650.jpg', '/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_54_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_34_9640.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_24_10647.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_14_9655.jpg
/home/nano/Desktop/images/17082025/23/36/image_17082025_23_37_04_9650.jpg
/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_54_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.594508647918701 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99449c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:37:32.556298
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/23/36/image_17082025_23_37_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_24_10647.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_14_9655.jpg', '/home/nano/Desktop/images/17082025/23/36/image_17082025_23_37_04_9650.jpg', '/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_54_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_34_9640.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_24_10647.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_14_9655.jpg
/home/nano/Desktop/images/17082025/23/36/image_17082025_23_37_04_9650.jpg
/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_54_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.424967050552368 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79538cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:37:47.539568
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/23/36/image_17082025_23_37_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_24_10647.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_14_9655.jpg', '/home/nano/Desktop/images/17082025/23/36/image_17082025_23_37_04_9650.jpg', '/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_54_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_34_9640.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_24_10647.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_14_9655.jpg
/home/nano/Desktop/images/17082025/23/36/image_17082025_23_37_04_9650.jpg
/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_54_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2518019676208496 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab55dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:38:03.192873
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_24_10647.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/23/36/image_17082025_23_37_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_24_10647.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_14_9655.jpg', '/home/nano/Desktop/images/17082025/23/36/image_17082025_23_37_04_9650.jpg', '/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_54_10647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_34_9640.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_24_10647.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_14_9655.jpg
/home/nano/Desktop/images/17082025/23/36/image_17082025_23_37_04_9650.jpg
/home/nano/Desktop/images/17082025/23/36/image_17082025_23_36_54_10647.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.9467129707336426 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f930cfcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:38:17.626879
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_14_9667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_38_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_54_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_24_10648.jpg', '/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_14_9667.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_38_04_9656.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_54_10666.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_34_9639.jpg
/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_24_10648.jpg
/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_14_9667.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_38_04_9656.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_54_10666.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2397968769073486 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7cff4cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:38:32.673114
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_14_9667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_38_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_54_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_24_10648.jpg', '/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_14_9667.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_38_04_9656.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_54_10666.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_34_9639.jpg
/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_24_10648.jpg
/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_14_9667.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_38_04_9656.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_54_10666.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4684479236602783 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faaee2cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:38:47.649851
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_14_9667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_38_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_54_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_24_10648.jpg', '/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_14_9667.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_38_04_9656.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_54_10666.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_34_9639.jpg
/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_24_10648.jpg
/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_14_9667.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_38_04_9656.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_54_10666.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8127119541168213 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96ca9cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:39:03.817522
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_14_9667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_38_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_54_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_24_10648.jpg', '/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_14_9667.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_38_04_9656.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_54_10666.jpg', '/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_34_9639.jpg
/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_24_10648.jpg
/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_14_9667.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_38_04_9656.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_54_10666.jpg
/home/nano/Desktop/images/17082025/23/37/image_17082025_23_37_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.4848666191101074 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faefdbcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:39:17.772556
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_34_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/38/image_17082025_23_39_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_44_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_34_9656.jpg', '/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_24_10666.jpg', '/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/38/image_17082025_23_39_04_9644.jpg', '/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_44_9658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_44_9640.jpg
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_34_9656.jpg
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_24_10666.jpg
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_14_9656.jpg
/home/nano/Desktop/images/17082025/23/38/image_17082025_23_39_04_9644.jpg
/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_44_9658.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.780376672744751 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f948cec18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:39:32.782259
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_34_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/38/image_17082025_23_39_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_44_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_34_9656.jpg', '/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_24_10666.jpg', '/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/38/image_17082025_23_39_04_9644.jpg', '/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_44_9658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_44_9640.jpg
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_34_9656.jpg
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_24_10666.jpg
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_14_9656.jpg
/home/nano/Desktop/images/17082025/23/38/image_17082025_23_39_04_9644.jpg
/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_44_9658.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4401347637176514 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa85f7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:39:47.774533
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_34_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/38/image_17082025_23_39_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_44_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_34_9656.jpg', '/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_24_10666.jpg', '/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/38/image_17082025_23_39_04_9644.jpg', '/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_44_9658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_44_9640.jpg
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_34_9656.jpg
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_24_10666.jpg
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_14_9656.jpg
/home/nano/Desktop/images/17082025/23/38/image_17082025_23_39_04_9644.jpg
/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_44_9658.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.3299777507781982 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7da32cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:40:02.394584
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_34_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_24_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/38/image_17082025_23_39_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_44_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_34_9656.jpg', '/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_24_10666.jpg', '/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/38/image_17082025_23_39_04_9644.jpg', '/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_44_9658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_44_9640.jpg
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_34_9656.jpg
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_24_10666.jpg
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_14_9656.jpg
/home/nano/Desktop/images/17082025/23/38/image_17082025_23_39_04_9644.jpg
/home/nano/Desktop/images/17082025/23/38/image_17082025_23_38_44_9658.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.9573705196380615 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f93c6bcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:40:16.861625
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_40_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_54_10666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_44_10651.jpg', '/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_34_9642.jpg', '/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_24_10650.jpg', '/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_14_9663.jpg', '/home/nano/Desktop/images/17082025/23/39/image_17082025_23_40_04_9652.jpg', '/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_54_10666.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_44_10651.jpg
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_34_9642.jpg
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_24_10650.jpg
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_14_9663.jpg
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_40_04_9652.jpg
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_54_10666.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.215362787246704 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f927b9c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:40:31.871260
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_40_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_54_10666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_44_10651.jpg', '/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_34_9642.jpg', '/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_24_10650.jpg', '/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_14_9663.jpg', '/home/nano/Desktop/images/17082025/23/39/image_17082025_23_40_04_9652.jpg', '/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_54_10666.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_44_10651.jpg
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_34_9642.jpg
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_24_10650.jpg
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_14_9663.jpg
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_40_04_9652.jpg
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_54_10666.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8407769203186035 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e4f1cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:40:46.861069
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_40_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_54_10666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_44_10651.jpg', '/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_34_9642.jpg', '/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_24_10650.jpg', '/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_14_9663.jpg', '/home/nano/Desktop/images/17082025/23/39/image_17082025_23_40_04_9652.jpg', '/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_54_10666.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_44_10651.jpg
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_34_9642.jpg
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_24_10650.jpg
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_14_9663.jpg
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_40_04_9652.jpg
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_54_10666.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2136118412017822 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e997cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:41:02.613013
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_34_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_24_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_14_9663.jpg', 2), ('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_40_04_9652.jpg', 2), ('/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_54_10666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_44_10651.jpg', '/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_34_9642.jpg', '/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_24_10650.jpg', '/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_14_9663.jpg', '/home/nano/Desktop/images/17082025/23/39/image_17082025_23_40_04_9652.jpg', '/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_54_10666.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_44_10651.jpg
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_34_9642.jpg
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_24_10650.jpg
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_14_9663.jpg
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_40_04_9652.jpg
/home/nano/Desktop/images/17082025/23/39/image_17082025_23_39_54_10666.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.9326038360595703 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a6d5cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:41:16.967673
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_44_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_41_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_44_10669.jpg', '/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_34_9641.jpg', '/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_24_9643.jpg', '/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_14_10671.jpg', '/home/nano/Desktop/images/17082025/23/40/image_17082025_23_41_04_9651.jpg', '/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_44_10669.jpg
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_34_9641.jpg
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_24_9643.jpg
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_14_10671.jpg
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_41_04_9651.jpg
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.044553756713867 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb39a8c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:41:31.955684
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_44_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_41_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_44_10669.jpg', '/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_34_9641.jpg', '/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_24_9643.jpg', '/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_14_10671.jpg', '/home/nano/Desktop/images/17082025/23/40/image_17082025_23_41_04_9651.jpg', '/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_44_10669.jpg
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_34_9641.jpg
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_24_9643.jpg
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_14_10671.jpg
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_41_04_9651.jpg
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2463905811309814 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7935ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:41:46.948175
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_44_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_41_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_44_10669.jpg', '/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_34_9641.jpg', '/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_24_9643.jpg', '/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_14_10671.jpg', '/home/nano/Desktop/images/17082025/23/40/image_17082025_23_41_04_9651.jpg', '/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_44_10669.jpg
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_34_9641.jpg
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_24_9643.jpg
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_14_10671.jpg
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_41_04_9651.jpg
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.0169456005096436 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f2eacc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:42:02.537576
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_44_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_41_04_9651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_44_10669.jpg', '/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_34_9641.jpg', '/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_24_9643.jpg', '/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_14_10671.jpg', '/home/nano/Desktop/images/17082025/23/40/image_17082025_23_41_04_9651.jpg', '/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_54_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_44_10669.jpg
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_34_9641.jpg
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_24_9643.jpg
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_14_10671.jpg
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_41_04_9651.jpg
/home/nano/Desktop/images/17082025/23/40/image_17082025_23_40_54_9638.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.1346476078033447 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91ef2cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:42:17.068561
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_44_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_34_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_24_9676.jpg', 2), ('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_14_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_42_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_44_10666.jpg', '/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_34_9657.jpg', '/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_24_9676.jpg', '/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_14_10672.jpg', '/home/nano/Desktop/images/17082025/23/41/image_17082025_23_42_04_9645.jpg', '/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_44_10666.jpg
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_34_9657.jpg
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_24_9676.jpg
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_14_10672.jpg
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_42_04_9645.jpg
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.1135971546173096 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad177cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:42:32.073854
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_44_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_34_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_24_9676.jpg', 2), ('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_14_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_42_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_44_10666.jpg', '/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_34_9657.jpg', '/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_24_9676.jpg', '/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_14_10672.jpg', '/home/nano/Desktop/images/17082025/23/41/image_17082025_23_42_04_9645.jpg', '/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_44_10666.jpg
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_34_9657.jpg
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_24_9676.jpg
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_14_10672.jpg
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_42_04_9645.jpg
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.7270731925964355 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e7d5cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:42:47.055401
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_44_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_34_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_24_9676.jpg', 2), ('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_14_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_42_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_44_10666.jpg', '/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_34_9657.jpg', '/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_24_9676.jpg', '/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_14_10672.jpg', '/home/nano/Desktop/images/17082025/23/41/image_17082025_23_42_04_9645.jpg', '/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_44_10666.jpg
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_34_9657.jpg
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_24_9676.jpg
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_14_10672.jpg
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_42_04_9645.jpg
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.5040678977966309 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb33aec18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:43:02.793490
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_44_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_34_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_24_9676.jpg', 2), ('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_14_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_42_04_9645.jpg', 2), ('/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_44_10666.jpg', '/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_34_9657.jpg', '/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_24_9676.jpg', '/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_14_10672.jpg', '/home/nano/Desktop/images/17082025/23/41/image_17082025_23_42_04_9645.jpg', '/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_54_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_44_10666.jpg
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_34_9657.jpg
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_24_9676.jpg
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_14_10672.jpg
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_42_04_9645.jpg
/home/nano/Desktop/images/17082025/23/41/image_17082025_23_41_54_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.1590654850006104 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80d72cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:43:17.159928
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_14_10679.jpg', 2), ('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_43_04_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_34_9641.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_24_9640.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_14_10679.jpg', '/home/nano/Desktop/images/17082025/23/42/image_17082025_23_43_04_9637.jpg', '/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_34_9641.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_24_9640.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_14_10679.jpg
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_43_04_9637.jpg
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_54_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.155561923980713 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b356cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:43:32.134736
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_14_10679.jpg', 2), ('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_43_04_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_34_9641.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_24_9640.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_14_10679.jpg', '/home/nano/Desktop/images/17082025/23/42/image_17082025_23_43_04_9637.jpg', '/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_34_9641.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_24_9640.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_14_10679.jpg
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_43_04_9637.jpg
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_54_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.590679407119751 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f736c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:43:47.158134
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_14_10679.jpg', 2), ('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_43_04_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_34_9641.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_24_9640.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_14_10679.jpg', '/home/nano/Desktop/images/17082025/23/42/image_17082025_23_43_04_9637.jpg', '/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_34_9641.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_24_9640.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_14_10679.jpg
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_43_04_9637.jpg
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_54_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6832091808319092 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97629c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:44:03.238181
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_34_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_24_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_14_10679.jpg', 2), ('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_43_04_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_34_9641.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_24_9640.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_14_10679.jpg', '/home/nano/Desktop/images/17082025/23/42/image_17082025_23_43_04_9637.jpg', '/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_54_9642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_34_9641.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_24_9640.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_14_10679.jpg
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_43_04_9637.jpg
/home/nano/Desktop/images/17082025/23/42/image_17082025_23_42_54_9642.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.764586925506592 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95beccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:44:17.354455
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_35_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_44_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_35_10650.jpg', '/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_24_9637.jpg', '/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_14_10667.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_44_04_9644.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_54_9656.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_35_10650.jpg
/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_24_9637.jpg
/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_14_10667.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_44_04_9644.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_54_9656.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.1751086711883545 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e6f5cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:44:32.279928
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_35_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_44_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_35_10650.jpg', '/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_24_9637.jpg', '/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_14_10667.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_44_04_9644.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_54_9656.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_35_10650.jpg
/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_24_9637.jpg
/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_14_10667.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_44_04_9644.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_54_9656.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.238288402557373 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7acccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:44:47.254237
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_35_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_44_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_35_10650.jpg', '/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_24_9637.jpg', '/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_14_10667.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_44_04_9644.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_54_9656.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_35_10650.jpg
/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_24_9637.jpg
/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_14_10667.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_44_04_9644.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_54_9656.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4615414142608643 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8eba1cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:45:03.025796
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_35_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_14_10667.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_44_04_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_54_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_35_10650.jpg', '/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_24_9637.jpg', '/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_14_10667.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_44_04_9644.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_54_9656.jpg', '/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_35_10650.jpg
/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_24_9637.jpg
/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_14_10667.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_44_04_9644.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_54_9656.jpg
/home/nano/Desktop/images/17082025/23/43/image_17082025_23_43_44_10651.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.3779292106628418 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87840cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:45:17.371910
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/23/44/image_17082025_23_45_04_10660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg', '/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_34_10648.jpg', '/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_24_9639.jpg', '/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_14_9657.jpg', '/home/nano/Desktop/images/17082025/23/44/image_17082025_23_45_04_10660.jpg', '/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_44_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_34_10648.jpg
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_24_9639.jpg
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_14_9657.jpg
/home/nano/Desktop/images/17082025/23/44/image_17082025_23_45_04_10660.jpg
/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_44_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.2824132442474365 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c23bcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:45:32.364853
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/23/44/image_17082025_23_45_04_10660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg', '/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_34_10648.jpg', '/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_24_9639.jpg', '/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_14_9657.jpg', '/home/nano/Desktop/images/17082025/23/44/image_17082025_23_45_04_10660.jpg', '/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_44_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_34_10648.jpg
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_24_9639.jpg
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_14_9657.jpg
/home/nano/Desktop/images/17082025/23/44/image_17082025_23_45_04_10660.jpg
/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_44_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.5950253009796143 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8fcdcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:45:47.365048
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/23/44/image_17082025_23_45_04_10660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg', '/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_34_10648.jpg', '/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_24_9639.jpg', '/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_14_9657.jpg', '/home/nano/Desktop/images/17082025/23/44/image_17082025_23_45_04_10660.jpg', '/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_44_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_34_10648.jpg
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_24_9639.jpg
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_14_9657.jpg
/home/nano/Desktop/images/17082025/23/44/image_17082025_23_45_04_10660.jpg
/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_44_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.278303861618042 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85c67c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:46:02.964743
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg', 2), ('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_24_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_14_9657.jpg', 2), ('/home/nano/Desktop/images/17082025/23/44/image_17082025_23_45_04_10660.jpg', 2), ('/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg', '/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_34_10648.jpg', '/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_24_9639.jpg', '/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_14_9657.jpg', '/home/nano/Desktop/images/17082025/23/44/image_17082025_23_45_04_10660.jpg', '/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_44_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_34_10648.jpg
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_24_9639.jpg
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_14_9657.jpg
/home/nano/Desktop/images/17082025/23/44/image_17082025_23_45_04_10660.jpg
/home/nano/Desktop/images/17082025/23/44/image_17082025_23_44_44_9655.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2210803031921387 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa100fcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:46:17.473229
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_14_9654.jpg', '/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_54_9641.jpg', '/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_14_9654.jpg
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_54_9641.jpg
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4110753536224365 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bd05cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:46:32.484980
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_14_9654.jpg', '/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_54_9641.jpg', '/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_14_9654.jpg
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_54_9641.jpg
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3914062976837158 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98dfdcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:46:47.459172
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_14_9654.jpg', '/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_54_9641.jpg', '/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_14_9654.jpg
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_54_9641.jpg
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8643364906311035 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4c4bcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:47:03.190774
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_14_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_14_9654.jpg', '/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_54_9641.jpg', '/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_14_9654.jpg
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_54_9641.jpg
/home/nano/Desktop/images/17082025/23/45/image_17082025_23_45_44_9636.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.6727640628814697 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ef0ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:47:17.533148
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_47_04_10661.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_44_9638.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_47_04_10661.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_54_9640.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_44_9638.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_47_04_10661.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_54_9640.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.6891417503356934 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ab52cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:47:32.540902
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_47_04_10661.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_44_9638.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_47_04_10661.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_54_9640.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_44_9638.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_47_04_10661.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_54_9640.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.1882665157318115 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7af03c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:47:47.557196
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_47_04_10661.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_44_9638.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_47_04_10661.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_54_9640.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_44_9638.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_47_04_10661.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_54_9640.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.457216501235962 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1774cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:48:03.193217
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_47_04_10661.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_44_9638.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_47_04_10661.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_54_9640.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg', '/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_44_9638.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_47_04_10661.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_54_9640.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_44_9637.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_34_10648.jpg
/home/nano/Desktop/images/17082025/23/46/image_17082025_23_46_24_9656.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.3005592823028564 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85a19cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:48:17.638537
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_24_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/23/47/image_17082025_23_48_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_55_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_44_9638.jpg', '/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_34_9638.jpg', '/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_24_10652.jpg', '/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_14_9655.jpg', '/home/nano/Desktop/images/17082025/23/47/image_17082025_23_48_04_9641.jpg', '/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_55_10645.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_44_9638.jpg
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_34_9638.jpg
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_24_10652.jpg
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_14_9655.jpg
/home/nano/Desktop/images/17082025/23/47/image_17082025_23_48_04_9641.jpg
/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_55_10645.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.6679892539978027 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4387cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:48:32.635743
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_24_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/23/47/image_17082025_23_48_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_55_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_44_9638.jpg', '/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_34_9638.jpg', '/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_24_10652.jpg', '/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_14_9655.jpg', '/home/nano/Desktop/images/17082025/23/47/image_17082025_23_48_04_9641.jpg', '/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_55_10645.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_44_9638.jpg
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_34_9638.jpg
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_24_10652.jpg
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_14_9655.jpg
/home/nano/Desktop/images/17082025/23/47/image_17082025_23_48_04_9641.jpg
/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_55_10645.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.443451404571533 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d27ccc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:48:47.639786
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_24_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/23/47/image_17082025_23_48_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_55_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_44_9638.jpg', '/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_34_9638.jpg', '/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_24_10652.jpg', '/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_14_9655.jpg', '/home/nano/Desktop/images/17082025/23/47/image_17082025_23_48_04_9641.jpg', '/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_55_10645.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_44_9638.jpg
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_34_9638.jpg
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_24_10652.jpg
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_14_9655.jpg
/home/nano/Desktop/images/17082025/23/47/image_17082025_23_48_04_9641.jpg
/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_55_10645.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.8185663223266602 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87fedcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:49:03.912393
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_44_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_34_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_24_10652.jpg', 2), ('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_14_9655.jpg', 2), ('/home/nano/Desktop/images/17082025/23/47/image_17082025_23_48_04_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_55_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_44_9638.jpg', '/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_34_9638.jpg', '/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_24_10652.jpg', '/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_14_9655.jpg', '/home/nano/Desktop/images/17082025/23/47/image_17082025_23_48_04_9641.jpg', '/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_55_10645.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_44_9638.jpg
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_34_9638.jpg
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_24_10652.jpg
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_14_9655.jpg
/home/nano/Desktop/images/17082025/23/47/image_17082025_23_48_04_9641.jpg
/home/nano/Desktop/images/17082025/23/47/image_17082025_23_47_55_10645.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.47249460220336914 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa60eecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:49:17.721700
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_44_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_49_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_44_9643.jpg', '/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_24_10648.jpg', '/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/48/image_17082025_23_49_04_9642.jpg', '/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_44_9643.jpg
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_34_9640.jpg
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_24_10648.jpg
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_14_9656.jpg
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_49_04_9642.jpg
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.012378454208374 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa427bcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:49:32.763783
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_44_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_49_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_44_9643.jpg', '/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_24_10648.jpg', '/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/48/image_17082025_23_49_04_9642.jpg', '/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_44_9643.jpg
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_34_9640.jpg
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_24_10648.jpg
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_14_9656.jpg
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_49_04_9642.jpg
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.130465269088745 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f7e7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:49:47.715908
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_44_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_49_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_44_9643.jpg', '/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_24_10648.jpg', '/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/48/image_17082025_23_49_04_9642.jpg', '/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_44_9643.jpg
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_34_9640.jpg
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_24_10648.jpg
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_14_9656.jpg
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_49_04_9642.jpg
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.468383312225342 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84e4acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:50:02.358670
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_44_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_24_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_49_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_44_9643.jpg', '/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_24_10648.jpg', '/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/48/image_17082025_23_49_04_9642.jpg', '/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_54_10648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_44_9643.jpg
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_34_9640.jpg
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_24_10648.jpg
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_14_9656.jpg
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_49_04_9642.jpg
/home/nano/Desktop/images/17082025/23/48/image_17082025_23_48_54_10648.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.4690256118774414 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2036c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:50:16.812980
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_24_10677.jpg', 2), ('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_50_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_24_10677.jpg', '/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/49/image_17082025_23_50_04_9661.jpg', '/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_44_9639.jpg
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_34_9640.jpg
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_24_10677.jpg
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_14_9658.jpg
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_50_04_9661.jpg
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.263714075088501 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76dd7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:50:31.836147
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_24_10677.jpg', 2), ('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_50_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_24_10677.jpg', '/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/49/image_17082025_23_50_04_9661.jpg', '/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_44_9639.jpg
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_34_9640.jpg
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_24_10677.jpg
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_14_9658.jpg
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_50_04_9661.jpg
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.26288104057312 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab093cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:50:46.823689
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_24_10677.jpg', 2), ('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_50_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_24_10677.jpg', '/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/49/image_17082025_23_50_04_9661.jpg', '/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_44_9639.jpg
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_34_9640.jpg
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_24_10677.jpg
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_14_9658.jpg
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_50_04_9661.jpg
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.0772442817687988 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb642acc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:51:02.575243
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_44_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_24_10677.jpg', 2), ('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_50_04_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_44_9639.jpg', '/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_24_10677.jpg', '/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/49/image_17082025_23_50_04_9661.jpg', '/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_44_9639.jpg
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_34_9640.jpg
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_24_10677.jpg
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_14_9658.jpg
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_50_04_9661.jpg
/home/nano/Desktop/images/17082025/23/49/image_17082025_23_49_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.1289899349212646 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f947c8c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:51:16.945040
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_24_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_15_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_51_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_44_10648.jpg', '/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_24_9658.jpg', '/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_15_10669.jpg', '/home/nano/Desktop/images/17082025/23/50/image_17082025_23_51_04_9638.jpg', '/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_44_10648.jpg
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_34_9640.jpg
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_24_9658.jpg
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_15_10669.jpg
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_51_04_9638.jpg
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.995023488998413 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f964c5cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:51:31.958240
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_24_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_15_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_51_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_44_10648.jpg', '/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_24_9658.jpg', '/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_15_10669.jpg', '/home/nano/Desktop/images/17082025/23/50/image_17082025_23_51_04_9638.jpg', '/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_44_10648.jpg
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_34_9640.jpg
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_24_9658.jpg
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_15_10669.jpg
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_51_04_9638.jpg
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4654779434204102 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fabd3ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:51:46.968540
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_24_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_15_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_51_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_44_10648.jpg', '/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_24_9658.jpg', '/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_15_10669.jpg', '/home/nano/Desktop/images/17082025/23/50/image_17082025_23_51_04_9638.jpg', '/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_44_10648.jpg
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_34_9640.jpg
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_24_9658.jpg
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_15_10669.jpg
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_51_04_9638.jpg
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.3460206985473633 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9cbd3cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:52:02.550647
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_44_10648.jpg', 2), ('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_24_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_15_10669.jpg', 2), ('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_51_04_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_44_10648.jpg', '/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_24_9658.jpg', '/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_15_10669.jpg', '/home/nano/Desktop/images/17082025/23/50/image_17082025_23_51_04_9638.jpg', '/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_54_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_44_10648.jpg
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_34_9640.jpg
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_24_9658.jpg
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_15_10669.jpg
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_51_04_9638.jpg
/home/nano/Desktop/images/17082025/23/50/image_17082025_23_50_54_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2671117782592773 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f848d6cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:52:17.128739
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_14_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_52_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_24_9641.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_14_10672.jpg', '/home/nano/Desktop/images/17082025/23/51/image_17082025_23_52_04_9656.jpg', '/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_34_9640.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_24_9641.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_14_10672.jpg
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_52_04_9656.jpg
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.250065326690674 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb103dc18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:52:32.126660
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_14_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_52_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_24_9641.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_14_10672.jpg', '/home/nano/Desktop/images/17082025/23/51/image_17082025_23_52_04_9656.jpg', '/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_34_9640.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_24_9641.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_14_10672.jpg
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_52_04_9656.jpg
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.6158840656280518 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f792bdcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:52:47.054741
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_14_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_52_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_24_9641.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_14_10672.jpg', '/home/nano/Desktop/images/17082025/23/51/image_17082025_23_52_04_9656.jpg', '/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_34_9640.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_24_9641.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_14_10672.jpg
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_52_04_9656.jpg
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.3676633834838867 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f91b35cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:53:02.742243
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_34_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_14_10672.jpg', 2), ('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_52_04_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_34_9640.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_24_9641.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_14_10672.jpg', '/home/nano/Desktop/images/17082025/23/51/image_17082025_23_52_04_9656.jpg', '/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_34_9640.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_24_9641.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_14_10672.jpg
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_52_04_9656.jpg
/home/nano/Desktop/images/17082025/23/51/image_17082025_23_51_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.4367661476135254 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4578cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:53:17.201535
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_44_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_53_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_54_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_44_10666.jpg', '/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_14_10665.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_53_04_9642.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_54_9654.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_44_10666.jpg
/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_34_9639.jpg
/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_14_10665.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_53_04_9642.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_54_9654.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.266500234603882 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6ae7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:53:32.150780
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_44_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_53_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_54_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_44_10666.jpg', '/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_14_10665.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_53_04_9642.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_54_9654.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_44_10666.jpg
/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_34_9639.jpg
/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_14_10665.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_53_04_9642.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_54_9654.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.427457332611084 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f772a4cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:53:47.150271
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_44_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_53_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_54_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_44_10666.jpg', '/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_14_10665.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_53_04_9642.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_54_9654.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_44_10666.jpg
/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_34_9639.jpg
/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_14_10665.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_53_04_9642.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_54_9654.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.186025857925415 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9cb75cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:54:03.214294
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_44_10666.jpg', 2), ('/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_34_9639.jpg', 2), ('/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_14_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_53_04_9642.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_54_9654.jpg', 2), ('/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_44_10666.jpg', '/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_34_9639.jpg', '/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_14_10665.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_53_04_9642.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_54_9654.jpg', '/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_44_10666.jpg
/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_34_9639.jpg
/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_14_10665.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_53_04_9642.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_54_9654.jpg
/home/nano/Desktop/images/17082025/23/52/image_17082025_23_52_44_10650.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.453902006149292 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87af5cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:54:17.253008
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_35_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/23/53/image_17082025_23_54_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_35_10650.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_24_9637.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_14_10671.jpg', '/home/nano/Desktop/images/17082025/23/53/image_17082025_23_54_04_9650.jpg', '/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_35_10650.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_24_9637.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_14_10671.jpg
/home/nano/Desktop/images/17082025/23/53/image_17082025_23_54_04_9650.jpg
/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2143402099609375 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77fa3cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:54:32.311112
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_35_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/23/53/image_17082025_23_54_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_35_10650.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_24_9637.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_14_10671.jpg', '/home/nano/Desktop/images/17082025/23/53/image_17082025_23_54_04_9650.jpg', '/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_35_10650.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_24_9637.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_14_10671.jpg
/home/nano/Desktop/images/17082025/23/53/image_17082025_23_54_04_9650.jpg
/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.5538604259490967 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8fd56cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:54:47.304353
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_35_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/23/53/image_17082025_23_54_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_35_10650.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_24_9637.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_14_10671.jpg', '/home/nano/Desktop/images/17082025/23/53/image_17082025_23_54_04_9650.jpg', '/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_35_10650.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_24_9637.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_14_10671.jpg
/home/nano/Desktop/images/17082025/23/53/image_17082025_23_54_04_9650.jpg
/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9967236518859863 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78b89cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:55:03.156637
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_35_10650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_24_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_14_10671.jpg', 2), ('/home/nano/Desktop/images/17082025/23/53/image_17082025_23_54_04_9650.jpg', 2), ('/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_35_10650.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_24_9637.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_14_10671.jpg', '/home/nano/Desktop/images/17082025/23/53/image_17082025_23_54_04_9650.jpg', '/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_54_9639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_35_10650.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_24_9637.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_14_10671.jpg
/home/nano/Desktop/images/17082025/23/53/image_17082025_23_54_04_9650.jpg
/home/nano/Desktop/images/17082025/23/53/image_17082025_23_53_54_9639.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 1.4656476974487305 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e3c3cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:55:17.406729
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_55_04_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_55_04_10670.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_54_9641.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_14_9656.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_55_04_10670.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_54_9641.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.500460386276245 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9aef7cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:55:32.410817
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_55_04_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_55_04_10670.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_54_9641.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_14_9656.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_55_04_10670.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_54_9641.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.2501912117004395 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f7b3cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:55:47.434461
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_55_04_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_55_04_10670.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_54_9641.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_14_9656.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_55_04_10670.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_54_9641.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.7075388431549072 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f96dcc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:56:03.161094
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_14_9656.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_55_04_10670.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_54_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_14_9656.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_55_04_10670.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_54_9641.jpg', '/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_14_9656.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_55_04_10670.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_54_9641.jpg
/home/nano/Desktop/images/17082025/23/54/image_17082025_23_54_44_9640.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.661626100540161 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85df9cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:56:17.508641
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_56_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_24_9641.jpg', '/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_56_04_10665.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_54_9640.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_24_9641.jpg
/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_14_9658.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_56_04_10665.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_54_9640.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.442033290863037 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8be19cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:56:32.514415
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_56_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_24_9641.jpg', '/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_56_04_10665.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_54_9640.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_24_9641.jpg
/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_14_9658.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_56_04_10665.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_54_9640.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.407790422439575 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99c50cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:56:47.489475
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_56_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_24_9641.jpg', '/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_56_04_10665.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_54_9640.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_24_9641.jpg
/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_14_9658.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_56_04_10665.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_54_9640.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.5131256580352783 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ba84cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:57:03.229095
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_24_9641.jpg', 2), ('/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_14_9658.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_56_04_10665.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_54_9640.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg', 2), ('/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_24_9641.jpg', '/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_14_9658.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_56_04_10665.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_54_9640.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg', '/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_24_9641.jpg
/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_14_9658.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_56_04_10665.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_54_9640.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_44_9637.jpg
/home/nano/Desktop/images/17082025/23/55/image_17082025_23_55_24_9643.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.44156861305236816 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2ec6c18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:57:17.622950
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_44_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_34_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/23/56/image_17082025_23_57_04_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_44_9644.jpg', '/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_34_10651.jpg', '/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_24_9638.jpg', '/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_14_9661.jpg', '/home/nano/Desktop/images/17082025/23/56/image_17082025_23_57_04_10649.jpg', '/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_44_9644.jpg
/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_34_10651.jpg
/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_24_9638.jpg
/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_14_9661.jpg
/home/nano/Desktop/images/17082025/23/56/image_17082025_23_57_04_10649.jpg
/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 2.447253942489624 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8244ecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:57:32.606510
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_44_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_34_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/23/56/image_17082025_23_57_04_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_44_9644.jpg', '/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_34_10651.jpg', '/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_24_9638.jpg', '/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_14_9661.jpg', '/home/nano/Desktop/images/17082025/23/56/image_17082025_23_57_04_10649.jpg', '/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_44_9644.jpg
/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_34_10651.jpg
/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_24_9638.jpg
/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_14_9661.jpg
/home/nano/Desktop/images/17082025/23/56/image_17082025_23_57_04_10649.jpg
/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 3.54148006439209 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a40fc18>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:57:47.618212
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_44_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_34_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/23/56/image_17082025_23_57_04_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_44_9644.jpg', '/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_34_10651.jpg', '/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_24_9638.jpg', '/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_14_9661.jpg', '/home/nano/Desktop/images/17082025/23/56/image_17082025_23_57_04_10649.jpg', '/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_44_9644.jpg
/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_34_10651.jpg
/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_24_9638.jpg
/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_14_9661.jpg
/home/nano/Desktop/images/17082025/23/56/image_17082025_23_57_04_10649.jpg
/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.7672169208526611 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b755cc0>: Failed to establish a new connection: [Errno 113] No route to host',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u www.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-08-17 23:58:03.254732
  port_id : 26044662
  datou_current_id : 3551269
in upload_from_sqlite, uploading in 26044662
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_44_9644.jpg', 2), ('/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_34_10651.jpg', 2), ('/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_24_9638.jpg', 2), ('/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_14_9661.jpg', 2), ('/home/nano/Desktop/images/17082025/23/56/image_17082025_23_57_04_10649.jpg', 2), ('/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_44_9644.jpg', '/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_34_10651.jpg', '/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_24_9638.jpg', '/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_14_9661.jpg', '/home/nano/Desktop/images/17082025/23/56/image_17082025_23_57_04_10649.jpg', '/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_54_9641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0
/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_44_9644.jpg
/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_34_10651.jpg
/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_24_9638.jpg
/home/nano/Desktop/images/17082025/23/57/image_17082025_23_57_14_9661.jpg
/home/nano/Desktop/images/17082025/23/56/image_17082025_23_57_04_10649.jpg
/home/nano/Desktop/images/17082025/23/56/image_17082025_23_56_54_9641.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.9845600128173828 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3551269&datou=0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f862eecc0>: Failed to establish a new connection: [Errno 113] No route to host',))
